Closed dersimn closed 3 weeks ago
Did you double-check the clock synchronisation between the server running Homebridge and the Nuki bridge?
You're right.. it just took like an hour until the bridge got a valid date/time from NTP I guess.
Still any chance to have this configurable?
I usually put all smart home devices into some kind of DMZ with no internet access because I don't trust them, in this case I'd have to switch to none
at some point.
In v1.4.23.
After pressing the button on the Nuki Bridge I get the following error
Debugging with
nb
showed that I have to specify-E none
to disable Token encryption:With
nb -H 10.1.1.106:8080 -T mytoken -E none -D info
I get a valid response, butnb -H 10.1.1.106:8080 -T mytoken -D info
shows a similar error that is also shown in Homebridge UI:I found that this is due to
homebridge-nb
→hb-nb-tools/lib/NbClient.js
having a fixed encryption that seems to be incompatible with my bridge (idk why I'm the only one here). However changing this manually to none made it work for me: https://github.com/ebaauw/hb-nb-tools/blob/da207d4578877555c853743cc798dcdcd90546e2/lib/NbClient.js#L117This fix unfortunately doesn't survive an update. Maybe it's possible to make the encryption configurable in homebridge's configuration.json?