Hey! I’m very interested in controlling LIFX strips with a WLED controller instead of relying on the LIFX LAN protocol, as WLED would give me a much wider array of possible effects. Especially since the LIFX neon strips seem to be quite a bit brighter than the competition with a wider array of colors. Is there any way I could get some documentation of what protocol is used over the wire from the controller box to the light strip itself over USB? I’d like to avoid having to plug in a logic analyzer myself and figure it out if possible, don’t want to risk destroying my nice Neon strip.
Interesting project! Here’s some resources to get you started:
Existing Arduino implementations on GitHub*:
- GitHub - tigoe/ArduinoLifx: An Arduino library to send LIFX LAN messages over UDP
- GitHub - stephen304/LibLifx: A practical Arduino library for controlling Lifx devices over LAN
- GitHub - mattx2hias/lifx-arduino-controller: Toggle LIFX bulbs on a LAN with physical button.
On this forum:
If you run into issues, I’d suggest checking known working implementations in other languages:
- GitHub - frawau/aiolifx: Python 3 /asyncio library for Lifx (used by Home Assistant integration, among others)
- GitHub - node-lifx/lifx-lan-client: Canonical fork of the number one Node.js 💡 LIFX LAN protocol implementation.**. (used by a 3rd party Node-RED plugin, among others)
- GitHub - futomi/node-lifx-lan: The node-lifx-lan is a Node.js module which allows you to communicate with the Wi-Fi LED smart light products "LIFX" using the LAN protocol.
*) I haven’t tried any of these
**) Disclaimer: I’m a lack-luster maintainer of this, but the protocol level communication has been mostly implemented by the (inactive) original creator of node-lifx
Please do report back if the project ends up somewhere!
Nevermind, what you we’re asking was low level communications. I suggest digging out the logic analyzer. Note that the strips still only got a few zones.
This library claims to implement various effects using aiolifx mentioned above: GitHub - amelchio/aiolifx_effects: aiolifx light effects