Nuki Integration stopped working after upgrade to 2024.2.2
The problem
Hi, I just upgraded to HA 2024.2.1 from 2024.1.6 and now my Nuki Lock Integration is not working anymore. It demands a re-authentication, but rejects the correct token. I did not change anything in my setting and verified, that the same token is still valid. Settings are: callback enabled and http connection. Any help is appreciated.
update1: I can access the bridge via this command http://192.168.4.27:8080/list?token=[TOKEN] and get a good answer from it.
Update2: Same issue after upgrading to 2024.2.2
What version of Home Assistant Core has the issue?
core-2024.2.2
What was the last working version of Home Assistant Core?
core-2024.1.6
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Nuki
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Logger: pynuki Source: /usr/local/lib/python3.12/site-packages/pynuki/bridge.py:86 First occurred: 09:09:05 (1 occurrences) Last logged: 09:09:05
Could not login with provided credentials
Hey there @pschmitt, @pvizeli, @pree, mind taking a look at this issue as it has been labeled with an integration (nuki) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of nuki can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign nukiRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
nuki documentation nuki source (message by IssueLinks)
Hi, thats weird. There was no change on the authentication. Have you tried to use insecure authentication? This looks a bit like the time from your nuki bridge or your Home Assistant driftet away a bit to much and the restart of HA now triggered the issue.
I will investigate and will let you know soon. Is there a command to force HA to update the time?
I will also restart the bridge and look at the time there.
An insecure authentication will also not work.
@pree your hint solved the issue. Restarted the whole system and now the time stamps are synchronized and it works. Thanks a lot!!!