vvpossible / homebridge_yeelight

Yeelight plugin for homebridge
303 stars 59 forks source link

How to handle the status off #12

Closed marcotini closed 7 years ago

marcotini commented 7 years ago

There is a way to handle when someone turn off the switch (so there is not power to the bulb) and set the status in Homebridge like off? Maybe with ping or something?

vvpossible commented 7 years ago

Add a keepalive mechanism to detect the dead TCP connection.