Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.49.0.dev
Python release (python3 --version):
3.6
Component/platform:
lifx
Description of problem:
I've updated the firmware version on my colour 1000 and white 800 lights to version 1.22 from version 1.21 and they no longer work with home assistant. However they work on the lifx phone app like normal.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:
light:
- platform: lifx
server: 10.1.1.75
Traceback (if applicable):
Additional info:
When I toggle them on or off they just show as unavailable and nothing happens.
This is literally my nightmare if a new lifx firmware breaks the lan protocol. I do not use the lifx app at all so if the lan protocol goes anywhere, they will lose any 'smart' functionality they once had for me
@adamja I do not see a 1.22 firmware, where can it be downloaded?
This might be something for https://github.com/frawau/aiolifx
Have you tried with the example lifx-cli.py? I haven't yet, but I'm still on older firmware.
Indeed, the issue probably is in aiolifx. I do expect to be able to fix it either way, as soon as I get the new firmware installed.
Sorry guys, just saw the updates. I was having an issue with one of my lights and the support team linked me to a windows/mac updater that updated all my lights on the network to try and solve the issue.
However after that I can no longer control any of the updated lights with HA. There was one that didn't get updated and works fine. They still populate in HA, but as soon as you toggle on the UI it switches to unavailable for ~30s and none of my automations trigger them anymore.
@adamja A fix was already made and is on its way to HA. To apply the fix by hand, just open the file .homeassistant/deps/aiolifx/message.py and change line 98 from
payload_size_bytes = len(self.payload)/8
to
payload_size_bytes = len(self.payload)
(so just delete the slash-eight characters at the end).
@amelchio got it, thank you so much! I have my light back 馃憤
Most helpful comment
@adamja A fix was already made and is on its way to HA. To apply the fix by hand, just open the file
.homeassistant/deps/aiolifx/message.pyand change line 98 fromto
(so just delete the slash-eight characters at the end).