Chatting with LIFX smart bulbs / Controlling LIFX smart bulbs
Or possibly other brands. I was just trying to put the protocol together in VL and it’s actually fairly quick to accomplish. So it might make a good tutorial.
It would cover:
Implementing an arbitrary UDP protocol using
UDP nodes (sync or reactive - or both?)
Type conversion nodes
Byte (Bit?) handling
This is roughly the patch for setting color, pretty straightforward for a tutorial.
Would be even better if ToBytes (String Hex) would be a standard node. The header string is simply copied from the example page which would end up in a quicker walkthrough, implementing the header would take extra time and be mostly repetitive but might be useful to show Bit operations, possibly would be the next step in the tutorial.
Another extension is Polling state (finding lights and their IP addresses). Not necessary though, setting color can be broadcast.