Open ne0ndrag0n opened 3 years ago
Update: Without any changes it appears discovery and lighting have spontaneously resolved and the library is now working properly again.
However while this was occurring, a lack of discovery results was a fairly reliable bug and I would get the same result running the above scripts many times. This may still be a bug, or it may have been a malfunction in the bulbs.
I just updated my lights and I'm having the exact same issue. Do you know what you might have done which made it somehow resolve itself?
My issue stemmed from the fact that the mac-address changed for the lights after I updated them, so I was getting the same error but might be a slightly different reason. Discovery seemed to work for me, although the mac-address the light has ins't the same one it uses to connect to the network.
relevant link about the mac-address change https://lan.developer.lifx.com/page/beta-firmware-updates
Problem Description
Using
lifxlan
library in a support script to power a custom home automation server. I have two LIFX bulbs that were recently upgraded to firmware version 3.70. Following the firmware update the library appears to be unable to communicate with the bulbs in any fashion. Version 3.70 appears to have been released after the last update to the repository and I suspect thelifxlan
library may require changes to be compatible with firmware 3.70.Applicable Version
Reproduction Steps
The following script will fail to discover any devices:
The device appears on network in router settings and is fully controllable via LIFX android app. Using MAC address and ip address reported in router settings, I run this script but to no effect: