ebaauw / homebridge-nb

Homebridge plugin for Nuki Bridge
Apache License 2.0
50 stars 3 forks source link

Opener not appearing in Home app; only 2 entries in log under NB #72

Closed heynowskippy closed 2 years ago

heynowskippy commented 2 years ago

Trying to set up NB for first use. All that appears in the Homebridge log from NB are: [6/20/2022, 2:39:07 PM] [Nuki] hardware: iMac (Retina 4K, 21.5-inch, 2019) [6/20/2022, 2:39:07 PM] [Nuki] os: macOS Monterey 12.4.0 (21F79) What am I missing here?

ebaauw commented 2 years ago

There should be more, at least an ID message for the plugin version and a message to press the button on your Nuki bridge, so Homebridge NB can obtain the API token. Turn on Homebridge DEBUG mode to monitor which calls Homebridge NB makes.

What is the output of nb discover? Does it list your Nuki bridge? And after you power-cycle the bridge? If still not, make sure the API is enabled and it can connect to api.nuki.io to announce its existence and Homebridge NB can discover it (unfortunately, Nuki does not provide local discovery).

heynowskippy commented 2 years ago

What is the output of nb discover? Does it list your Nuki bridge? And after you power-cycle the bridge? If still not, make sure the API is enabled and it can connect to api.nuki.io to announce its existence and Homebridge NB can discover it (unfortunately, Nuki does not provide local discovery).

Got it all sorted. My Mac running Homebridge required a full reboot to see the NB device... restarting Homebridge from the UI wasn't enough. You can delete this Issue if you like!