node-tradfri
node-tradfri copied to clipboard
Light Status - Disconnected
Hello Is it possible to know when light are disconnected ? ( no power )
it can be very usefull ...
Yeelight for exemple can say Status and Online
Hi,
Thats actually a pretty good idea, I'll probably implement a feature where you can subscribe to status change events.
For now, I suggest calling getDevices() in 5-30 sec intervals and compare the results manually.