ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
135 stars 7 forks source link

report unreachable devices #90

Closed b2un0 closed 1 year ago

b2un0 commented 1 year ago

is it possible that this plugin report unreachable devices also to homekit as offline?

i seem to remember that this was already the case in the old hue plugin?!

for example: some of my aqara/xiaomi devices are randomly lost the connection

image

ebaauw commented 1 year ago

is it possible that this plugin report unreachable devices also to homekit as offline?

No, HomeKit doesn’t provide this functionality. Both Homebridge Hue and Homebridge deCONZ set Status Active to not active when the Hue bridge / deCONZ gateway reports reachable false`, but Apple’s Home app ignores that.

i seem to remember that this was already the case in the old hue plugin?!

Homebridge Hue can optionally show a device as Not Responding. I want to add that option to Homebridge deCONZ as soon as I’ve figured out how to deal with dynamic settings

for example: some of my aqara/xiaomi devices are randomly lost the connection

No they didn’t. Zigbee doesn’t do connections. The Not reachable status merely indicates that the gateway didn’t get a response when it last tried to contact the device, not whether the device is currently reachable. End devices turn off their radio most of the time, and are almost never reachable. See https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2590 for details.