node-tradfri icon indicating copy to clipboard operation
node-tradfri copied to clipboard

Light Status - Disconnected

Open bartounet16 opened this issue 8 years ago • 1 comments

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

bartounet16 avatar Nov 18 '17 17:11 bartounet16

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.

morzzz007 avatar Nov 18 '17 20:11 morzzz007