We simply use the protocol described at https://lan.developer.lifx.com/docs/communicating-with-device over UDP.

We have some LIFX lights at the office and sporadically have noticed they stop responding to UDP packets, but still respond to packets from their cloud (probably TCP). In that case they start working again after "rebooting" the light, i.e. toggling the power.