core: Nuki can't authenticate after HA reboot
The problem
After a rebbot of HA, HA says that it needs to re-configure NUKI integration. I have to re-authenticate witht the NUKI Token, but the system is not accepting the Token and says it can’t authenticate. I’ve had this issue before, but after rebooting the Nuki bridge it seemed to work, now it doesn’t. I tried to re-setup the integration , but have the same issue. The password is definately correct…since it’s not very complex and i’ve used it for some time now. there was an FW Update on the Nuki side with may have caused that , but since it only occured after rebooting HA, i am not sure if that is the Reason.
What version of Home Assistant Core has the issue?
2023.5.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
NUKI
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nuki/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.config_entries
Source: config_entries.py:411
First occurred: 9:48:42 AM (1 occurrences)
Last logged: 9:48:42 AM
Config entry '2DF333D3' for nuki integration could not authenticate: Login error. Provided token is invalid.
Logger: pynuki
Source: /usr/local/lib/python3.10/site-packages/pynuki/bridge.py:86
First occurred: 9:48:41 AM (2 occurrences)
Last logged: 9:54:32 AM
Could not login with provided credentials
Additional information
Nuki Bridge FW 2.15.0
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (3 by maintainers)
The unplugging and immediate install the integration worked. So it must be the time stamp indeed, it was off. Tx!Op 29 jun. 2023 om 14:33 heeft dunkelz @.***> het volgende geschreven: How off is the timestamp? What does the /info URL tell you? Is the brige online? (serverConnected:true) If it is not, remove the bridge from power and plug back in. If it is in offline mode while being powered on (cannot connect to the Nuki server) it will skip the timestamp validation after some time (5 mins maybe) so the encrypted communication that HA integration is using will start to work again. It is a shame that you cannot set your local time server for the nuki bridge to overcome this cloud dependency.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>