Jump to content

LifX failing to add all bulbs consistantly


kzboray

Recommended Posts

Posted

I've been using the lifX NS since it was first Introduced. It has always been flaky but recently it has become almost unusable.

This seems to be the problem.
 

2023-12-25 11:05:51,591 Thread-4   udi_interface      ERROR    lifx-poly:_discovery_process: discovery Error: WorkflowException: Did not receive [<class 'lifxlan.msgtypes.StateVersion'>] from d0:73:d5:32:89:b6 (Name: None) in response to <class 'lifxlan.msgtypes.GetVersion'>

On startup of the node server during discovery inevitably this error will occur. It happens at different points during startup and for different bulbs (MAC addresses) with each restart; sometimes even prior to any bulbs being added. If the NS has found 10 bulbs and is adding them and this error happens on the second bulb that's it. Additional bulbs fail to be added. It always seems to occur early in the bulb addition process.

Restarting the NS time after time will eventually result in a clean start, but it sometimes takes 30 restarts to get that one good time, and the minute I need to reboot for a system update etc. it's a nightmare to get the LifX NS running again.

Any suggestions?

System Configuration:

*** OS ***
FreeBSD polisy 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 releng/13.2-n254638-d20ece445acf POLISY amd64
*** Package Information ***
udx-3.5.4_4
----
Name           : isy
Version        : 5.7.1_7
LiFX
Current Status: Connected
Current Version: 2.1.26 [Production] 

Startup Log:

2023-12-25 11:20:32,347 Command    udi_interface.interface INFO     interface:_handleInput: Received stop from Polyglot... Shutting Down.
2023-12-25 11:20:32,350 Thread-37  udi_interface      INFO     lifx-poly:stop: Stopping LiFX Polyglot v2 NodeServer version 2.1.26
2023-12-25 11:20:37,943 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2023-12-25 11:20:37,946 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2023-12-25 11:20:37,947 MainThread udi_interface      INFO     __init__:<module>: User=000db9560fac_3
2023-12-25 11:20:37,948 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot/pg3/ns/000db9560fac_3
2023-12-25 11:20:37,949 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/000db9560fac_3
2023-12-25 11:20:37,949 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MGQ6Yjk6NTY6MGY6YWMiLCJwcm9maWxlTnVtIjozLCJsb2dMZXZlbCI6IklORk8iLCJ0b2tlbiI6Ik4qSTl3NSVzKEdEbEsyZDciLCJtcXR0SG9zdCI6ImxvY2FsaG9zdCIsIm1xdHRQb3J0Ijo4ODgzLCJzZWN1cmUiOjEsImlzUEczeCI6dHJ1ZSwicGczVmVyc2lvbiI6IjMuMi4xNyIsImlzeVZlcnNpb24iOiI1LjcuMSIsImVkaXRpb24iOiJGcmVlIn0=
2023-12-25 11:20:37,950 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2023-12-25 11:20:38,355 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2023-12-25 11:20:38,590 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2023-12-25 11:20:40,633 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2023-12-25 11:20:40,639 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2023-12-25 11:20:40,640 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2023-12-25 11:20:40,641 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2023-12-25 11:20:40,642 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2023-12-25 11:20:40,642 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.4 Starting...
2023-12-25 11:20:41,068 MainThread udi_interface.interface INFO     interface:__init__: Initialization received from Polyglot V3 3.2.17  [ISY: 5.7.1, Slot: 3]
2023-12-25 11:20:41,070 MainThread udi_interface.interface INFO     interface:__init__: Connect: Network Interface: {'addr': '10.0.0.241', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'}
2023-12-25 11:20:41,073 Interface  udi_interface.interface INFO     interface:_startMqtt: Connecting to MQTT... localhost:8883
2023-12-25 11:20:41,078 MainThread udi_interface.interface WARNING  interface:start: No node server version specified. Using deprecated server.json version
2023-12-25 11:20:41,079 Interface  udi_interface.interface INFO     interface:_startMqtt: Using SSL cert: 000db9560fac_3.cert key: 000db9560fac_3.key ca: /usr/local/etc/ssl/certs/ud.ca.cert
2023-12-25 11:20:41,080 MainThread udi_interface.interface WARNING  interface:db_getNodeDrivers: lifxctl not found in database.
2023-12-25 11:20:41,083 MainThread udi_interface.interface INFO     interface:addNode: Adding node LiFX Controller(lifxctl) [None]
2023-12-25 11:20:41,178 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Connected with result code 0 (Success)
2023-12-25 11:20:41,182 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:56:0f:ac_3 -  MID: 2 Result: 0
2023-12-25 11:20:41,228 MQTT       udi_interface.interface INFO     interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 2 - QoS: (0,)
2023-12-25 11:20:41,431 Thread-2   udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-12-25 11:20:41,437 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Starting LiFX Discovery thread...
2023-12-25 11:20:41,573 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-12-25 11:20:41,626 Thread-6   udi_interface      INFO     lifx-poly:start: Starting LiFX Polyglot v2 NodeServer version 2.1.26, LiFX LAN: 1.2.7
2023-12-25 11:20:41,627 Thread-6   udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.
2023-12-25 11:20:41,854 MQTT       udi_interface.interface INFO     interface:_message: Profile installation finished
2023-12-25 11:20:41,933 MQTT       udi_interface.interface INFO     interface:_message: custom data response {'customparamsdoc': '<h1>UDI LiFX Poly</h1>\n\n<p>This is a simple integration of LiFX lights to ISY994i. Please install via <a href="https://github.com/UniversalDevicesInc/polyglot-v2">Polyglot v2</a> Store. Report any problems on <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/">UDI User Forum</a>.</p>\n\n<h3>Custom parameters supported:</h3>\n\n<ul>\n<li><code>devlist</code> - link to a YAML manifest of devices, skips automatic discovery. See <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/?do=findComment&comment=257145">this post</a>.</li>\n<li><code>change_no_pon</code> - change of color won\'t power the device on.</li>\n<li><code>ignore_second_on</code> - power on command will be ignored if device is already on.</li>\n</ul>\n'}
2023-12-25 11:20:41,977 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparamsdoc
2023-12-25 11:20:51,287 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: 14 bulbs found. Checking status and adding to ISY if necessary.
2023-12-25 11:20:51,633 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Chand-4 Mini 3D8961(d073d53d8961)
2023-12-25 11:20:51,636 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Chand-4 Mini 3D8961(d073d53d8961) [None]
2023-12-25 11:20:51,966 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found LiFX Group: Chandelier
2023-12-25 11:20:57,833 Thread-4   udi_interface      ERROR    lifx-poly:_discovery_process: discovery Error: WorkflowException: Did not receive [<class 'lifxlan.msgtypes.StateVersion'>] from d0:73:d5:51:9c:71 (Name: None) in response to <class 'lifxlan.msgtypes.GetVersion'>
2023-12-25 11:20:57,835 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: NOTICE: Bulb count 1 is different, was 0 previously
2023-12-25 11:20:57,836 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: LiFX Discovery thread is complete.
2023-12-25 11:20:58,066 MQTT       udi_interface.interface INFO     interface:_message: Successfully set lifxctl :: GV0 to 1 UOM 56
2023-12-25 11:21:07,755 MQTT       udi_interface.interface INFO     interface:_message: Successfully set d073d53d8961 :: GV1 to 45800 UOM 56
2023-12-25 11:21:07,840 MQTT       udi_interface.interface INFO     interface:_message: Successfully set d073d53d8961 :: GV2 to 65535 UOM 56
2023-12-25 11:21:07,877 MQTT       udi_interface.interface INFO     interface:_message: Successfully set d073d53d8961 :: GV3 to 65535 UOM 56
2023-12-25 11:21:07,917 MQTT       udi_interface.interface INFO     interface:_message: Successfully set d073d53d8961 :: CLITEMP to 9000 UOM 26
2023-12-25 11:21:08,044 MQTT       udi_interface.interface INFO     interface:_message: Successfully set d073d53d8961 :: ST to 0 UOM 51
2023-12-25 11:21:08,086 MQTT       udi_interface.interface INFO     interface:_message: Successfully set d073d53d8961 :: GV5 to 1 UOM 2
2023-12-25 11:21:08,147 MQTT       udi_interface.interface INFO     interface:_message: Successfully set d073d53d8961 :: RR to 0 UOM 42


 

Posted
5 hours ago, kzboray said:

Any suggestions?

I had much better luck using a 'devlist.yml' file than depending upon LiFX discovery when I started the node server.  I'm not currently using LiFX bulbs, but this made life far easier:

 

 

 

  • Like 1
Posted

@Bumbershoot Yes! Using devlist.yml was a good solution, but unfortunately it's no longer an option as the new NS directories are locked down and you can't change, add to or delete files.

Posted
10 hours ago, kzboray said:

@Bumbershoot Yes! Using devlist.yml was a good solution, but unfortunately it's no longer an option as the new NS directories are locked down and you can't change, add to or delete files.

I just did a quick test and was able to place a file in a directory, but of course I had to use 'sudo' to do it.  I was able to edit the file as well, using 'nano'.  

'sudo nano ./your/Directories/Here/devlist.yml'

  • Thanks 1
Posted

@Bumbershoot Here's what happens when I try that. First without sudo...permission denied as expected. Then with sudo, but I still can't access the directory where the LifX NS is installed. I am using the default sudo password => admin. What did I do differently than you?
 

[admin@polisy ~]$ cd /var/polyglot/pg3/ns
[admin@polisy /var/polyglot/pg3/ns]$ ls
000db9560fac_1  000db9560fac_10 000db9560fac_11 000db9560fac_2  000db9560fac_3  000db9560fac_4  000db9560fac_5  000db9560fac_6  000db9560fac_7  000db9560fac_8  000db9560fac_9
[admin@polisy /var/polyglot/pg3/ns]$ sudo cd 000db9560fac_3
Password:
[admin@polisy /var/polyglot/pg3/ns]$ ls -A
000db9560fac_1  000db9560fac_10 000db9560fac_11 000db9560fac_2  000db9560fac_3  000db9560fac_4  000db9560fac_5  000db9560fac_6  000db9560fac_7  000db9560fac_8  000db9560fac_9
[admin@polisy /var/polyglot/pg3/ns]$



 

Posted

These directories were created by UDI with some restrictive permissions, so try this command (substituting your directory names):

[admin@eisy /var/polyglot/pg3/ns]$ sudo ls -altF 0021b9026016_8/

Results below:

[admin@eisy /var/polyglot/pg3/ns]$ sudo ls -altF 0021b9026016_8/
total 89
-rw-r--r--   1 root            polyglot      5 Dec 26 05:22 test.txt
drwxrwx---   8 0021b9026016_8  polyglot     27 Dec 26 05:17 ./
drwxr-xr-x   2 0021b9026016_8  polyglot     17 Dec 26 03:02 logs/
-rw-------   1 0021b9026016_8  polyglot      5 Dec 21 08:59 0021b9026016_8.pid
-rw-------   1 0021b9026016_8  polyglot      5 Dec 21 08:59 0021b9026016_8_daemon.pid
drwxr-xr-x  14 polyglot        polyglot     14 Dec 17 11:27 ../
-rw-r--r--   1 0021b9026016_8  polyglot     10 Oct 22 05:12 .installed
-rw-r--r--   1 0021b9026016_8  polyglot   6157 Oct 22 05:12 pip.log
-rw-r--r--   1 0021b9026016_8  polyglot   8961 Oct 22 05:12 install.log
drwxr-xr-x   8 0021b9026016_8  polyglot     14 Oct 22 05:11 .git/
-rw-r--r--   1 0021b9026016_8  polyglot    173 Oct 22 05:11 git.log
-rwxrwx---   1 0021b9026016_8  polyglot   1245 Oct 22 05:11 0021b9026016_8.cert*
-rwxrwx---   1 0021b9026016_8  polyglot   1679 Oct 22 05:11 0021b9026016_8.key*
drwxr-xr-x   4 0021b9026016_8  polyglot      4 Feb 21  2023 .local/
drwxr-xr-x   3 0021b9026016_8  polyglot      3 Feb 21  2023 .cache/
-rwxr-xr-x   1 0021b9026016_8  polyglot     67 Feb 21  2023 zipprofile*
-rw-r--r--   1 0021b9026016_8  polyglot    777 Feb 21  2023 server.json
-rw-r--r--   1 0021b9026016_8  polyglot     82 Feb 21  2023 requirements.txt
drwxr-xr-x   5 0021b9026016_8  polyglot      6 Feb 21  2023 profile/
-rwxr-xr-x   1 0021b9026016_8  polyglot  58868 Feb 21  2023 lifx-poly.py*
-rwxr-xr-x   1 0021b9026016_8  polyglot     60 Feb 21  2023 install.sh*
-rw-r--r--   1 0021b9026016_8  polyglot    279 Feb 21  2023 README.md
-rw-r--r--   1 0021b9026016_8  polyglot    661 Feb 21  2023 POLYGLOT_CONFIG.md
-rw-r--r--   1 0021b9026016_8  polyglot   1068 Feb 21  2023 LICENSE
-rw-r--r--   1 0021b9026016_8  polyglot    913 Feb 21  2023 .gitignore
drwxr-xr-x   3 0021b9026016_8  polyglot      3 Feb 21  2023 .github/
-rw-r--r--   1 0021b9026016_8  polyglot     12 Feb 21  2023 .gitattributes
[admin@eisy /var/polyglot/pg3/ns]$ sudo ls -altF 0021b9026016_8/

This is my LiFX directory (it's in slot 8).  The very first file listed is 'test.txt', which is the file I created, and edited with the 'nano' text editor.

You won't be able to 'cd' into the specific node server directories, so you'll have to stay in '/var/polyglot/pg3/ns' to do your work.

Tip: in UNIX shells, you have a nifty feature called file name completion.  It saves lots of time/typing complicated directory and file names.  It's activated in the shell using the tab key.  Try this command (using my example directory above}:

sudo ls -altF /var/polyglot/pg3/ns/[tab key]8/

I don't have to type out '0021b9026016_' every time I want to use that directory name, as file name completion will automatically insert it into the command line, stopping at the first character that all those directories don't have in common, with is the character immediately following the '_'.  Saves loads of typing, but it'll take a bit of practice to get familiar with it.

  • Thanks 1
Posted (edited)

@Bumbershoot Excellent write up thank you so much! Unfortunately using devlist.yml didn't help. It actually made things worse.

Quick note I had to change file owner on the devlist.yml file to "polyglot" before it would work at all.

Afterwards here's what it looks like on startup. Again it finds the bulbs, but doesn't seem to be able to add them.

 

2023-12-26 12:41:43,475 Command    udi_interface.interface INFO     interface:_handleInput: Received stop from Polyglot... Shutting Down.
2023-12-26 12:41:43,478 Thread-24  udi_interface      INFO     lifx-poly:stop: Stopping LiFX Polyglot v2 NodeServer version 2.1.26
2023-12-26 12:41:49,224 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2023-12-26 12:41:49,226 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2023-12-26 12:41:49,227 MainThread udi_interface      INFO     __init__:<module>: User=000db9560fac_3
2023-12-26 12:41:49,228 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot/pg3/ns/000db9560fac_3
2023-12-26 12:41:49,229 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/000db9560fac_3
2023-12-26 12:41:49,229 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MGQ6Yjk6NTY6MGY6YWMiLCJwcm9maWxlTnVtIjozLCJsb2dMZXZlbCI6IklORk8iLCJ0b2tlbiI6Ik4qSTl3NSVzKEdEbEsyZDciLCJtcXR0SG9zdCI6ImxvY2FsaG9zdCIsIm1xdHRQb3J0Ijo4ODgzLCJzZWN1cmUiOjEsImlzUEczeCI6dHJ1ZSwicGczVmVyc2lvbiI6IjMuMi4xNyIsImlzeVZlcnNpb24iOiI1LjcuMSIsImVkaXRpb24iOiJGcmVlIn0=
2023-12-26 12:41:49,230 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2023-12-26 12:41:49,733 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2023-12-26 12:41:50,036 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2023-12-26 12:41:52,067 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2023-12-26 12:41:52,073 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2023-12-26 12:41:52,074 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2023-12-26 12:41:52,075 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2023-12-26 12:41:52,076 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2023-12-26 12:41:52,077 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.4 Starting...
2023-12-26 12:41:52,503 MainThread udi_interface.interface INFO     interface:__init__: Initialization received from Polyglot V3 3.2.17  [ISY: 5.7.1, Slot: 3]
2023-12-26 12:41:52,505 MainThread udi_interface.interface INFO     interface:__init__: Connect: Network Interface: {'addr': '10.0.0.241', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'}
2023-12-26 12:41:52,508 Interface  udi_interface.interface INFO     interface:_startMqtt: Connecting to MQTT... localhost:8883
2023-12-26 12:41:52,513 Interface  udi_interface.interface INFO     interface:_startMqtt: Using SSL cert: 000db9560fac_3.cert key: 000db9560fac_3.key ca: /usr/local/etc/ssl/certs/ud.ca.cert
2023-12-26 12:41:52,515 MainThread udi_interface.interface WARNING  interface:start: No node server version specified. Using deprecated server.json version
2023-12-26 12:41:52,518 MainThread udi_interface.interface WARNING  interface:db_getNodeDrivers: lifxctl not found in database.
2023-12-26 12:41:52,519 MainThread udi_interface.interface INFO     interface:addNode: Adding node LiFX Controller(lifxctl) [None]
2023-12-26 12:41:52,614 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Connected with result code 0 (Success)
2023-12-26 12:41:52,616 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:56:0f:ac_3 -  MID: 2 Result: 0
2023-12-26 12:41:52,662 MQTT       udi_interface.interface INFO     interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 2 - QoS: (0,)
2023-12-26 12:41:52,884 Thread-2   udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-12-26 12:41:52,890 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Starting LiFX Discovery thread...
2023-12-26 12:41:52,892 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Attempting manual discovery...
2023-12-26 12:41:53,032 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-12-26 12:41:53,150 Thread-6   udi_interface      INFO     lifx-poly:start: Starting LiFX Polyglot v2 NodeServer version 2.1.26, LiFX LAN: 1.2.7
2023-12-26 12:41:53,170 Thread-6   udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.
2023-12-26 12:41:53,170 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Chand-1 Mini 519C71(d073d5599c71)
2023-12-26 12:41:53,175 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Chand-1 Mini 519C71(d073d5599c71) [None]
2023-12-26 12:41:53,192 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Chand-2 Mini 3F2BB9(d073d53f2bb9)
2023-12-26 12:41:53,211 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Chand-2 Mini 3F2BB9(d073d53f2bb9) [None]
2023-12-26 12:41:53,239 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Chand-3 Mini 383074(d073d5383074)
2023-12-26 12:41:53,255 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Chand-3 Mini 383074(d073d5383074) [None]
2023-12-26 12:41:53,273 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Chand-4 Mini 3D8961(d073d53d8961)
2023-12-26 12:41:53,283 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Chand-4 Mini 3D8961(d073d53d8961) [None]
2023-12-26 12:41:53,301 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Chand-5 Mini 3D90ED(d073d53d90ed)
2023-12-26 12:41:53,317 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Chand-5 Mini 3D90ED(d073d53d90ed) [None]
2023-12-26 12:41:53,329 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Vanity-1 3289B6(d073d53289b6)
2023-12-26 12:41:53,339 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Vanity-1 3289B6(d073d53289b6) [None]
2023-12-26 12:41:53,343 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Vanity-2 3303BC(d073d53303bc)
2023-12-26 12:41:53,346 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Vanity-2 3303BC(d073d53303bc) [None]
2023-12-26 12:41:53,367 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Vanity-3 3303CC(d073d53303cc)
2023-12-26 12:41:53,372 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Vanity-3 3303CC(d073d53303cc) [None]
2023-12-26 12:41:53,377 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Vanity-4 330C09(d073d5330c09)
2023-12-26 12:41:53,380 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Vanity-4 330C09(d073d5330c09) [None]
2023-12-26 12:41:53,384 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Vanity-5 349CB2(d073d5349cb2)
2023-12-26 12:41:53,388 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Vanity-5 349CB2(d073d5349cb2) [None]
2023-12-26 12:41:53,404 MQTT       udi_interface.interface INFO     interface:_message: Profile installation finished
2023-12-26 12:41:53,416 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Bedroom-1 33D74D(d073d533d74d)
2023-12-26 12:41:53,443 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Bedroom-1 33D74D(d073d533d74d) [None]
2023-12-26 12:41:53,446 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Bedroom-2 340A63(d073d5340a63)
2023-12-26 12:41:53,450 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node Bedroom-2 340A63(d073d5340a63) [None]
2023-12-26 12:41:53,452 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: DiningRm-1 67165F(d073d567165f)
2023-12-26 12:41:53,454 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node DiningRm-1 67165F(d073d567165f) [None]
2023-12-26 12:41:53,462 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: DiningRm-2 67D1DC(d073d567d1dd)
2023-12-26 12:41:53,466 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node DiningRm-2 67D1DC(d073d567d1dd) [None]
2023-12-26 12:41:53,469 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Bathroom Vanity light Vanity-1 is not found
2023-12-26 12:41:53,470 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Bathroom Vanity light Vanity-2 is not found
2023-12-26 12:41:53,471 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Bathroom Vanity light Vanity-3 is not found
2023-12-26 12:41:53,472 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Bathroom Vanity light Vanity-4 is not found
2023-12-26 12:41:53,472 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Bathroom Vanity light Vanity-5 is not found
2023-12-26 12:41:53,473 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Group Bathroom Vanity, 0 members
2023-12-26 12:41:53,474 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Bedroom light Bedroom-1 is not found
2023-12-26 12:41:53,474 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Bedroom light Bedroom-2 is not found
2023-12-26 12:41:53,475 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Group Bedroom, 0 members
2023-12-26 12:41:53,478 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Dining Room light DiningRm-1 is not found
2023-12-26 12:41:53,481 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Dining Room light DiningRm-2 is not found
2023-12-26 12:41:53,482 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Group Dining Room, 0 members
2023-12-26 12:41:53,482 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Chandelier light Chand-1 is not found
2023-12-26 12:41:53,483 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Chandelier light Chand-2 is not found
2023-12-26 12:41:53,484 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Chandelier light Chand-3 is not found
2023-12-26 12:41:53,484 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Chandelier light Chand-4 is not found
2023-12-26 12:41:53,485 Thread-4   udi_interface      ERROR    lifx-poly:_manual_discovery: Group Chandelier light Chand-5 is not found
2023-12-26 12:41:53,486 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Group Chandelier, 0 members
2023-12-26 12:41:53,486 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Manual discovery is complete
2023-12-26 12:41:54,983 MQTT       udi_interface.interface INFO     interface:_message: custom data response {'customparamsdoc': '<h1>UDI LiFX Poly</h1>\n\n<p>This is a simple integration of LiFX lights to ISY994i. Please install via <a href="https://github.com/UniversalDevicesInc/polyglot-v2">Polyglot v2</a> Store. Report any problems on <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/">UDI User Forum</a>.</p>\n\n<h3>Custom parameters supported:</h3>\n\n<ul>\n<li><code>devlist</code> - link to a YAML manifest of devices, skips automatic discovery. See <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/?do=findComment&comment=257145">this post</a>.</li>\n<li><code>change_no_pon</code> - change of color won\'t power the device on.</li>\n<li><code>ignore_second_on</code> - power on command will be ignored if device is already on.</li>\n</ul>\n'}
2023-12-26 12:41:55,024 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparamsdoc
2023-12-26 12:41:55,339 MQTT       udi_interface.interface INFO     interface:_message: Successfully set lifxctl :: GV0 to 14 UOM 56

    

This is a very old issue with the LifX NS. Since PG3 it has never reliably added devices it finds; PG2 was much better. It has always required a few restarts to get all the devices connected. Several users over the years have abandoned the NS due to the many issues around this problem. I have multiple clients using them and I use LifX myself. The cost to replace them all is higher than I care to adsorb so I keep trying to work around the issues. Now having to restart the NS twenty to thirty times to get it to finally find and add all devices is just too much.

I opened a ticket with the merry band of elves at UD. Maybe they can shed some light on whats going on.
 

Edited by kzboray
Posted

Just for reference here's a good restart of the NS. Nothing else changed. Just restart after restart. This was restart 27.
 

2023-12-26 13:05:14,441 Command    udi_interface.interface INFO     interface:_handleInput: Received stop from Polyglot... Shutting Down.
2023-12-26 13:05:14,443 Thread-8   udi_interface      INFO     lifx-poly:stop: Stopping LiFX Polyglot v2 NodeServer version 2.1.26
2023-12-26 13:05:20,271 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2023-12-26 13:05:20,273 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2023-12-26 13:05:20,274 MainThread udi_interface      INFO     __init__:<module>: User=000db9560fac_3
2023-12-26 13:05:20,275 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot/pg3/ns/000db9560fac_3
2023-12-26 13:05:20,276 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/000db9560fac_3
2023-12-26 13:05:20,276 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MGQ6Yjk6NTY6MGY6YWMiLCJwcm9maWxlTnVtIjozLCJsb2dMZXZlbCI6IklORk8iLCJ0b2tlbiI6Ik4qSTl3NSVzKEdEbEsyZDciLCJtcXR0SG9zdCI6ImxvY2FsaG9zdCIsIm1xdHRQb3J0Ijo4ODgzLCJzZWN1cmUiOjEsImlzUEczeCI6dHJ1ZSwicGczVmVyc2lvbiI6IjMuMi4xNyIsImlzeVZlcnNpb24iOiI1LjcuMSIsImVkaXRpb24iOiJGcmVlIn0=
2023-12-26 13:05:20,277 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2023-12-26 13:05:21,008 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2023-12-26 13:05:21,241 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2023-12-26 13:05:23,054 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2023-12-26 13:05:23,061 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2023-12-26 13:05:23,062 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2023-12-26 13:05:23,063 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2023-12-26 13:05:23,063 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2023-12-26 13:05:23,064 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.4 Starting...
2023-12-26 13:05:23,521 MainThread udi_interface.interface INFO     interface:__init__: Initialization received from Polyglot V3 3.2.17  [ISY: 5.7.1, Slot: 3]
2023-12-26 13:05:23,524 MainThread udi_interface.interface INFO     interface:__init__: Connect: Network Interface: {'addr': '10.0.0.241', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'}
2023-12-26 13:05:23,527 Interface  udi_interface.interface INFO     interface:_startMqtt: Connecting to MQTT... localhost:8883
2023-12-26 13:05:23,531 MainThread udi_interface.interface WARNING  interface:start: No node server version specified. Using deprecated server.json version
2023-12-26 13:05:23,532 Interface  udi_interface.interface INFO     interface:_startMqtt: Using SSL cert: 000db9560fac_3.cert key: 000db9560fac_3.key ca: /usr/local/etc/ssl/certs/ud.ca.cert
2023-12-26 13:05:23,534 MainThread udi_interface.interface WARNING  interface:db_getNodeDrivers: lifxctl not found in database.
2023-12-26 13:05:23,537 MainThread udi_interface.interface INFO     interface:addNode: Adding node LiFX Controller(lifxctl) [None]
2023-12-26 13:05:23,633 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Connected with result code 0 (Success)
2023-12-26 13:05:23,636 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:56:0f:ac_3 -  MID: 2 Result: 0
2023-12-26 13:05:23,683 MQTT       udi_interface.interface INFO     interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 2 - QoS: (0,)
2023-12-26 13:05:23,801 Thread-2   udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-12-26 13:05:23,808 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Starting LiFX Discovery thread...
2023-12-26 13:05:23,922 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-12-26 13:05:24,006 Thread-6   udi_interface      INFO     lifx-poly:start: Starting LiFX Polyglot v2 NodeServer version 2.1.26, LiFX LAN: 1.2.7
2023-12-26 13:05:24,010 Thread-6   udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.
2023-12-26 13:05:24,253 MQTT       udi_interface.interface INFO     interface:_message: Profile installation finished
2023-12-26 13:05:24,528 MQTT       udi_interface.interface INFO     interface:_message: custom data response {'customparamsdoc': '<h1>UDI LiFX Poly</h1>\n\n<p>This is a simple integration of LiFX lights to ISY994i. Please install via <a href="https://github.com/UniversalDevicesInc/polyglot-v2">Polyglot v2</a> Store. Report any problems on <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/">UDI User Forum</a>.</p>\n\n<h3>Custom parameters supported:</h3>\n\n<ul>\n<li><code>devlist</code> - link to a YAML manifest of devices, skips automatic discovery. See <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/?do=findComment&comment=257145">this post</a>.</li>\n<li><code>change_no_pon</code> - change of color won\'t power the device on.</li>\n<li><code>ignore_second_on</code> - power on command will be ignored if device is already on.</li>\n</ul>\n'}
2023-12-26 13:05:24,569 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparamsdoc
2023-12-26 13:05:30,363 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: 9 bulbs found. Checking status and adding to ISY if necessary.
2023-12-26 13:05:30,731 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Chand-5 Mini 3D90ED(d073d53d90ed)
2023-12-26 13:05:30,734 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Chand-5 Mini 3D90ED(d073d53d90ed) [None]
2023-12-26 13:05:31,034 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found LiFX Group: Chandelier
2023-12-26 13:05:40,856 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Group Chandelier(chandelier) [None]
2023-12-26 13:05:41,155 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Bedroom-2 340A63(d073d5340a63)
2023-12-26 13:05:41,158 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Bedroom-2 340A63(d073d5340a63) [None]
2023-12-26 13:05:41,474 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found LiFX Group: Bedroom
2023-12-26 13:05:50,388 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Group Bedroom(bedroom) [None]
2023-12-26 13:05:50,670 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Chand-1 Mini 519C71(d073d5519c71)
2023-12-26 13:05:50,673 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Chand-1 Mini 519C71(d073d5519c71) [None]
2023-12-26 13:05:51,280 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX DiningRm-2 67D1DC(d073d567d1dc)
2023-12-26 13:05:51,284 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX DiningRm-2 67D1DC(d073d567d1dc) [None]
2023-12-26 13:05:51,623 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found LiFX Group: Dining Room
2023-12-26 13:06:00,525 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Group Dining Room(diningroom) [None]
2023-12-26 13:06:00,806 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Chand-2 Mini 3F2BB9(d073d53f2bb9)
2023-12-26 13:06:00,809 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Chand-2 Mini 3F2BB9(d073d53f2bb9) [None]
2023-12-26 13:06:01,450 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Bedroom-1 33D74D(d073d533d74d)
2023-12-26 13:06:01,453 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Bedroom-1 33D74D(d073d533d74d) [None]
2023-12-26 13:06:02,027 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Chand-4 Mini 3D8961(d073d53d8961)
2023-12-26 13:06:02,030 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Chand-4 Mini 3D8961(d073d53d8961) [None]
2023-12-26 13:06:02,666 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX Chand-3 Mini 383074(d073d5383074)
2023-12-26 13:06:02,670 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX Chand-3 Mini 383074(d073d5383074) [None]
2023-12-26 13:06:03,259 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Found Bulb: LIFX DiningRm-1 67165F(d073d567165e)
2023-12-26 13:06:03,262 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node LIFX DiningRm-1 67165F(d073d567165e) [None]
2023-12-26 13:06:03,604 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: NOTICE: Bulb count 9 is different, was 1 previously
2023-12-26 13:06:03,605 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: LiFX Discovery thread is complete.

 

Posted

From the unsuccessful discovery:


2023-12-26 12:41:52,890 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Starting LiFX Discovery thread...
2023-12-26 12:41:52,892 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Attempting manual discovery...
2023-12-26 12:41:53,032 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-12-26 12:41:53,150 Thread-6   udi_interface      INFO     lifx-poly:start: Starting LiFX Polyglot v2 NodeServer version 2.1.26, LiFX LAN: 1.2.7
2023-12-26 12:41:53,170 Thread-6   udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.
2023-12-26 12:41:53,170 Thread-4   udi_interface      INFO     lifx-poly:_manual_discovery: Found Bulb: Chand-1 Mini 519C71(d073d5599c71)

And from the successful discovery:

15 hours ago, kzboray said:

2023-12-26 13:05:23,808 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: Starting LiFX Discovery thread...
2023-12-26 13:05:23,922 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-12-26 13:05:24,006 Thread-6   udi_interface      INFO     lifx-poly:start: Starting LiFX Polyglot v2 NodeServer version 2.1.26, LiFX LAN: 1.2.7
2023-12-26 13:05:24,010 Thread-6   udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.
2023-12-26 13:05:24,253 MQTT       udi_interface.interface INFO     interface:_message: Profile installation finished
2023-12-26 13:05:24,528 MQTT       udi_interface.interface INFO     interface:_message: custom data response {'customparamsdoc': '<h1>UDI LiFX Poly</h1>\n\n<p>This is a simple integration of LiFX lights to ISY994i. Please install via <a href="https://github.com/UniversalDevicesInc/polyglot-v2">Polyglot v2</a> Store. Report any problems on <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/">UDI User Forum</a>.</p>\n\n<h3>Custom parameters supported:</h3>\n\n<ul>\n<li><code>devlist</code> - link to a YAML manifest of devices, skips automatic discovery. See <a href="https://forum.universal-devices.com/topic/19021-polyglot-lifx-nodesever/?do=findComment&comment=257145">this post</a>.</li>\n<li><code>change_no_pon</code> - change of color won\'t power the device on.</li>\n<li><code>ignore_second_on</code> - power on command will be ignored if device is already on.</li>\n</ul>\n'}
2023-12-26 13:05:24,569 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparamsdoc
2023-12-26 13:05:30,363 Thread-4   udi_interface      INFO     lifx-poly:_discovery_process: 9 bulbs found. Checking status and adding to ISY if necessary.

It appears to me that the unsuccessful discovery is missing a few MQTT entries in the log just after discovery begins (they do occur at the end of the log snippet), and it finishes much faster.  It's almost as if the discovery process continues before some MQTT process is completed.  I hope this is an issue that's fixable...

  • 1 month later...
Posted

Have you found any solution to this.  Lifx was working for me until about a week ago...  and then it stopped.  I have the same errors in my logs and was considering using the devlist.yml but if that does not work... Where t now?

Posted

I'm not sure why our outcomes are different but I've been using this NS on Polisy with 29 bulbs and a devlist for several years now and I haven't had problems. I am using a dd-wrt router and have reserved IPs setup in the router for each bulb.

Posted

@Michel Kohanim When i restart the node server I see the following error:

2024-02-01 16:49:05,629 MQTT udi_interface.interface INFO interface:_message: Profile installation finished

2024-02-01 16:49:10,719 Thread-4 udi_interface ERROR lifx-poly:_discovery_process: discovery Error: WorkflowException: Did not receive [<class 'lifxlan.msgtypes.StateVersion'>] from d0:73:d5:39:e8:51 (Name: None) in response to <class 'lifxlan.msgtypes.GetVersion'>

Once I get this error none of the LIFX bulbs are discovered and none of the controls work.

I have added a devlist.yaml and when I do that it looks like the bulbs are discovered  until the last few lines when I get a a series of messages that manual discovery failed.  I have now removed the devlist.yaml

I am opening a ticket... thanks

Posted

@leonpc, The second error that you list is the same one that you get if power is off to the LiFX light as the NS is initializing or if the IP address of the bulb has changed or if the MAC is different than specified.

I also vaguely remember sometime back that LifX changed the MAC addresses (a slight 1-octet change easily missed) of their bulbs during a firmware update so the MACs given on the paperwork didn't match anymore and my previously-working devlist, created with that paperwork, stopped working. This killed my first implementation. If you created your devlist from the paperwork that came with the bulbs, you may want to check your router to be sure the MACs and IP are correct in in the devlist. At the time, I opened a ticket with LiFX. They acknowledged the change but offered no other help or suggestions.

Finally, if you haven't set reserved IP addresses for your bulbs in your router, I would recommend that you do so.

After fixing the MAC addresses in my devlist my NS has worked for several years now.

Finally, there were rules for creating the devlist. Notepad++ was a good tool. Addresses should have lower-case letters. Names should be 14-characters or less and without special characters. Type will be 'bulb' (no quotes) or ??? (can't remember. Check the documentation if you are adding strip lights - Otherwise the type is usually bulb.

Good Luck!

  • Like 2
  • 3 weeks later...
Posted

I too am using the devlist.yml without problem.  you don't have to put it in the nodeserver directory, you can just put it in the directory you login to (home director) and then put in a config var.  key = devlist value=/home/admin/{filename}. There are a lot of exception messages all the time getting bulb color and stuff, but seems to work.  Home Assistant isn't any more performant ( i have it setup there too) as it also has to poll.

 

  • Like 2
  • 3 months later...
Posted

Thanks for all the good input... I started down the road to figure this all out and then got pulled into a project at work that has consumed all my time.  I have not looked at anything HA related and my wife has been creating a backlog of things to be fixed.

Starting today I have some time available and I will go back and setup the devlist.txt.  I already assign ip addresses to the lights so that the ip addresses do not change.

Thank you @gviliunas and @bigDvette

Posted

@gviliunas I have read the various posts from you surrounding the LIFX firmware v3.90.  I am a little confused and would like some clarification.  In your post 

it looks like you are saying you should use the serial number of the bulb when setting up the devlist.  But elsewhere you say that you should use the MAC address of the bulb.  Since you used the documented serial number in the devlist which stopped working with the change that started with the firmware update, it seems like you should be using the MAC address.  Am I correct?

@xKing when you set up the devlist, what are you looking for? the serial number of the bulb or the MAC address of the bulb?

Thanks

Leon

 

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.6k
×
×
  • Create New...