Closed jjknudsen closed 1 year ago
I started digging into the code and found that that the bonjour-hap
library which is used to discover Homekit devices is discouraged and has been replaced by Ciao
. I happened to notice Ciao
was an option for the mDNS advertiser in the Homebridge settings. I switched the Homebridge mDNS advertiser from Avahi
to Ciao
and for whatever reason the errors in Node-RED went away and the device list was repopulated with all Homekit accessories.
I have no idea why this fixed, the problem but it fixed it nonethess so I'll mark this closed.
This plugin had been working perfectly for quite some time. I've been using the Homebridge Ring plugin and recently made a configuration change to the plugin. I'm not 100% sure this change is what broke things, but I'm pretty confident.
One of the plugin configuration options is to treat all Cameras as external accessories to improve performance. The plugin notes:
After making this change and pairing each camera individually to Homekit, the device list in Node-RED only shows these external camera accessories. All other Homebridge accessories no longer show up. I have restarted Node-RED, Homebridge, the entire device. I've tried re-creating the hb-conf node as well. Nothing I do seems to make a difference.
I have not yet reverted the plugin change just because of the time it takes me to re-create my Homekit automations, but I may try this soon.
When I run the below command, changing the port for each child bridge, it does return an accessory list for each bridge.
Below is an excerpt of the Node-RED debug log. It seems this request is sent for the Camera accessories. But I also see it a number of times to what perhaps should be the Child bridge URLs but I'm not really sure what's going on.