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 support #396

Closed
leyton01 opened this issue Jan 25, 2017 · 13 comments
Closed

LIFX support #396

leyton01 opened this issue Jan 25, 2017 · 13 comments
Milestone

Comments

@leyton01
Copy link

From my reading I could control LIFX bulbs using UDP under the manual add button. Is this correct and if so would you consider adding a 'friendly' way for packets to be constructed (ie a GUI with selections that create a packet).

LAN API here:
https://github.com/LIFX/lifx-protocol-docs/blob/master/README.md
Or
https://lan.developer.lifx.com

Building a packet:
https://lan.developer.lifx.com/docs/building-a-lifx-packet

Discussion here:
https://community.lifx.com/t/building-a-lifx-packet/59/
Including example code:
https://community.lifx.com/t/building-a-lifx-packet/59/7

This would allow LIFX bulbs to be controlled with many more applications (ie Hue compatible) and would also make them faster and more reliable as the current supported control in most applications is through the cloud, which is flaky at best.

@bwssytems
Copy link
Owner

This impl will be a fun one. The YeeLight is also a discover/ip based system, so this will set the architecture.

@bwssytems
Copy link
Owner

Ordered a Lifx bulb today and found a java lifx library. Shouldn't be too hard.

@leyton01
Copy link
Author

leyton01 commented Feb 2, 2017 via email

@bwssytems
Copy link
Owner

The Android App can't even connect on my network... I understand now there needs to be a better way

@bwssytems bwssytems added this to the v4.2.0 milestone Feb 22, 2017
@ahielg
Copy link

ahielg commented Mar 7, 2017

Hello,
Can you add support for color changing in LIFX?

@bwssytems
Copy link
Owner

Eventually, that is request #327

@huongminh
Copy link

Hello,

I don't see any Lifx bulbs on the tab LIFX Devices. How can I see them? the LIFX support checkbox is checked TRUE and I clicked SAVE. After that the LIFX Devices tab appears but nothing in there. I have no issue seeing Domoticz and Hue devices.

@bwssytems
Copy link
Owner

Turn on debug for com.bwssystems.HABridge.plugins.lifx in the Logs tab (click show all loggers to find)

@huongminh
Copy link

I did it and read in the log:

image

image

@huongminh
Copy link

For the IO exception, I found it is because of my homebridge for Apple homekit is running with LiFx plugin. I stopped homebridge, reinitiated Habridge and found my Lifx device under the LIFX Device Tab. I build some LIFX devices, however it did not run stably. Press the tests buttons and it was hit and miss all the time

@huongminh
Copy link

this is the log when the test button would not work
image
And in the LIFX device, my LIFX bulbs kept appearing and disappearing. In the log it read LIFX devices added and removed...

@bwssytems
Copy link
Owner

Unfortunately, The LIFX protocol is not stable from what I have seen as well.

@huongminh
Copy link

image

It seems the LIFX homebridge plugin and Habridge plugin use the same LAN API and communicate with LIFX via port 56700. However, I've run the LIFX homebridge plugin for 10 months and it was very stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants