Hello,
after today’s LIFX A19 bulb firmware update, this bulb in no longer available through HASS. LIFX LED strip (with no firmware update) is visible. Bulb is PINGable from server and even Google assistant can voice-control it.
Is it possible that LIFX update brick HASS integration?
My LIFX bulbs aren’t showing a firmware update is necessary when I attempt to initiate a firmware update from my Android phone using the LIFX Beta app.
After messing around with it, it seems to be something with the updated LIFX component and the new LIFX bulb firmware.
changing your light config to lifx_legacy gets it to show up again, but you will only get basic functionality (no effects, just basic color changes. brightness, warmth).
This is probably easy to fix but I do not have Gen3 hardware so I cannot debug. To isolate the problem, can somebody try out the aiolifx package alone and see whether that also fails? Just do:
After git clone I run the python3 aiolifx/examples/lifx-cli.py
and get
Traceback (most recent call last):
File "aiolifx/examples/lifx-cli.py", line 26, in <module>
import aiolifx as alix
ImportError: No module named 'aiolifx'
Not sure if I’m doing somthing wrong though. I’m doing it on my RasPi and have HASS installed with Hassbian.
Okay, I think I got it. Can somebody please confirm?
In .homeassistant/deps/aiolifx/aiolifx.py (or, if you are using Python 3.4: .homeassistant/deps/aiolifx/aiolifx34.py) go to line 105 and remove the origin comparison so
if response.origin == 1 and response.source_id == self.source_id:
turns into
if response.source_id == self.source_id:
Then restart Home Assistant to pick up the change. Here is a diff, if you like that better:
--- a/aiolifx/aiolifx.py
+++ b/aiolifx/aiolifx.py
@@ -102,7 +102,7 @@ class Device(aio.DatagramProtocol):
self.lastmsg=datetime.datetime.now()
response_type,myevent,callb = self.message[response.seq_num]
if type(response) == response_type:
- if response.origin == 1 and response.source_id == self.source_id:
+ if response.source_id == self.source_id:
self.ip_addr = addr
if "State" in response.__class__.__name__:
setmethod="resp_set_"+response.__class__.__name__.replace("State","").lower()
I’m a bit late to the party, but my lights just updated to 1.22 and have broken my setup. My issue is that I’m currently running 0.35.3. My setup doesn’t have /aiolifx and instead has liffylights.py. I know the simple answer is to update home assistant, but I need to update my automations to play nice with the new “easy” automations thing. Is there anything I can do to get my lights up and running while I update my automations?