ebaauw / homebridge-nb

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

Suppress second or third unlock when door already has been unlocked very recently #140

Closed phis5533 closed 2 months ago

phis5533 commented 2 months ago

Hello Erik, thank you for your plugins, very useful !

There is a bad behavior when you arrive more than one person at the same time, the unlock command is sent n times and the lock remain in a status "stuck open" ("bloqué" in French). And then the Auto-lock doesn't work and the door remains open. Like describes here : https://developer.nuki.io/t/suppress-second-or-third-unlock-when-door-already-has-been-unlocked-very-recently/1116

Can you do something ? Or did I miss a configuration ?

Regards. Philippe

ebaauw commented 2 months ago

Homebridge NB only knows what other apps and devices are sending to the lock, after the lock reports a state change through the Nuki bridge. So there's nothing I can do to block commands while commands by others are underway.

Homebridge NB won't send a second unlock (or other) command, until it has received a response from the Nuki bridge, or until a timeout occurs. The default timeout is 15s, but you can change this in config.json.

phis5533 commented 2 months ago

Understood. Thanks for your quick and precise answer ! Have a great day

phis5533 commented 2 months ago

Topic closed