-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuki Opener Changing Rooms #141
Comments
That happens when Homebridge stops exposing the Opener (for a while) and then re-exposes it, causing HomeKit to treat it as a new accessory. Most likely, this happens when Homebridge starts while the Opener hasn't been saved to What system are you running on? In case of a Raspberry Pi: double check the uSD card. They turn read-only when failing, but you won't notice that on a running system due to file system cache. How do you "reboot Homebridge"? Is Homebridge shutdown cleanly, and is the Opener saved to If those two check out, please capture a debug logfile of Homebridge restarting and attach that here. Make sure to run Homebridge in DEBUG mode, and set Log Level on the Nuki bridge accessory to 2 (using Eve or another decent HomeKit app). |
Same here, every time I reboot homebridge or your plugin, all informations about my 2 locks and the opener will reset (room, name etc). Sometime it also happens if I don't reboot HB at all. This is starting since the previous version of the plug-in, and continue with the latest. |
Are you also on iOS 18 beta?
Please capture and attach a debug log of when this is happening. |
Yes I'm on 18 dev beta. Will post here the log ASAP |
This is worrying - officially, smart lock accessories aren't allowed to be bridged. It has worked so far, but maybe Apple changed that in iOS 18. I might need to expose the locks as standalone accessories instead. |
OK I don't have a debug log yet, but looking at it it looks like it's happening randomly during homebridge restart or normal use when device "hangs" on answering to the plugin (this happens more frequently with my "Garage lock", that is connected to the house via a Powerline adapter). Maybe the plugin have too much haste on deleting the cache that cause the issue? |
Homebridge NB doesn’t remove accessories while running. It only removes accessories on startup, when 1) they’re no longer reported by the Nuki bridge and 2) There was an issue that Homebridge NB could publish accessories in the wrong order, which would cause the order in cachedAccessories to be wrong. A connected accessory would be restored by Homebridge before the Nuki bridge, but without a restored Nuki bridge accessory, Homebridge NB cannot restore the connected accessory. This issue is fixed in v1.4.23, but I cannot change the order in |
Change restore logic. Might solve an assumed race condition during startup causing accessories to be removed and re-created, see #141.
Hi there!
I’ve been experiencing an issue recently seemingly out of nowhere. Whenever I reboot Homebridge, my Nuki Opener will default back to the same room my bridge is assigned to and also removes itself from automations I have it in.
Any idea as to what may cause this? I’m currently on iOS 18 public beta but this happened before as well.
Thank you!
The text was updated successfully, but these errors were encountered: