ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
894 stars 91 forks source link

Child bridge silently fails to add in HomeKit #1145

Closed mumia closed 1 year ago

mumia commented 1 year ago

Issue

Trying to add the child bridge to Homekit always fails with no error.

The child bridge show up, I select it and get this prompt: IMG_8143

After selecting Add Anyway, it just stays there asking for the setup code: IMG_8144

No error logs, no messages in general about the failure.

This might be a newbie mistake, but would appreciate your help.

Log Messages

Debug Files

homebridge-hue.json.gz

homebridge.log.gz

ebaauw commented 1 year ago

This could happen if Homebridge Hue exposes accessories that are not compliant (e.g. a Lightbulb service with missing On characteristic). You might try and configure Homebridge Hue to expose nothing: set lights, sensors, groups. schedules, and rules to false. Then, try adding the child bridge to HomeKit. Next, set these settings back to true one by one, restarting Homebridge between each change.

More likely it's an issue with the connection between your iPhone (or, with the new architecture your home hub) and Homebridge. Did you already pair another (child) bridge from that Homebridge installation? Make sure to change the username and port on the child bridge settings, and that the username is unique on your network. Make sure Homebridge runs on the same subnet as your iPhone and home hub.

mumia commented 1 year ago

Not sure if it was in the documentation and I missed it, but all I needed to do was insert Homebridge's pin when adding the hue plugin child bridge and it worked.

I can now see all the Non-Phillips zigbee devices in HomeKit.

Thank you for building this.

Keep up the good work.