LIFX released in 2020 a new device that is installed in your wall and acts as a physical interface to turning your lights on and off. This device can control "dumb" lights wired into the switch as well as your smart lights attached to the LIFX Cloud.
This device is a "non light" and has some differencees in behaviour to existing LIFX devices.
For existing messages in the LIFX public API, the device will appear like any other LIFX device on your network except for its response to "Light" messages. As the switch is not a "light", it will ignore these messages and return a special StateUnhandled (223) message instead of the usual State message a LIFX light would respond with.
The switch messages are for controlling features specific to the LIFX Switch. The public API only contains messages for turning "relays" on and off and more messages will be added in the future.
A LIFX switch has a number of buttons that may either modify a physical "relay" attached to a "dumb" light, or make a request to the LIFX cloud to modify a light.
The switch has both inputs (the physical buttons on the device) and outputs (the electrical relays). The following messages allow you to inspect and set the power level of those electrical relays.
Updated 2 months ago