ebaauw / homebridge-nb

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

Add option to manually set API token #111

Closed timgrewe closed 1 year ago

timgrewe commented 1 year ago

Could you maybe add an option to manually set the API token for the bridge? My bridge is currently reporting the wrong token in response to the /auth call (the response token is the actual token followed by the Wi-Fi SSID, see here).

Because of this, I currently cannot use the plugin since it always obtains the incorrect token.

ebaauw commented 1 year ago

My bridge is currently reporting the wrong token in response to the /auth call (the response token is the actual token followed by the Wi-Fi SSID, see here).

That's a first. Did you try and disable and re-enable the HTTP interface? And reset the bridge? Are the system clocks on the bridge and the server running Homebridge synchronised?

What's the output of:
nb -DD -Hip-addressauth

And of:
nb -DD -Hip-address-Ttokeninfo