Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIFX firmware update breaks home-assistant integration #8284

Closed
adamja opened this issue Jul 2, 2017 · 7 comments · Fixed by #8396
Closed

LIFX firmware update breaks home-assistant integration #8284

adamja opened this issue Jul 2, 2017 · 7 comments · Fixed by #8396
Milestone

Comments

@adamja
Copy link

adamja commented Jul 2, 2017

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.

@cmsimike
Copy link
Contributor

cmsimike commented Jul 2, 2017

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

@amelchio
Copy link
Contributor

amelchio commented Jul 3, 2017

@adamja I do not see a 1.22 firmware, where can it be downloaded?

@kylegordon
Copy link

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.

@amelchio
Copy link
Contributor

amelchio commented Jul 3, 2017

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.

@adamja
Copy link
Author

adamja commented Jul 7, 2017

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.

@amelchio
Copy link
Contributor

amelchio commented Jul 7, 2017

@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 amelchio added this to the 0.48.2 milestone Jul 7, 2017
@adamja
Copy link
Author

adamja commented Jul 7, 2017

@amelchio got it, thank you so much! I have my light back 👍

@amelchio amelchio mentioned this issue Jul 7, 2017
5 tasks
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants