-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Solution Provided] Nuki Lock state undefined since version 8.35 #406
Comments
That's very strange, and sure didn't happen during testing. Could you get MQTT or serial logs with fw 8.35. For serial logs you can use hterm and connect 115200 baud. |
Is the state only undefined in the webconfigurator or also in MQTT? Serial logs would be helpfull |
I'm sorry I did not have the time to install 8.35 again and gather the logs for you. Making the door unavailable during a busy evening would put me in a bad light at home.
I hope this helps further. I'm doing my best to get around to reinstall 8.35, reproduce the issue and collect the logs. |
Your observations point to an issue with BLE communications. Considering your other issue (#403) where you didn't recieve BLE beacons (which is not very common in my experience) i'm not yet convinced this is 8.35 related and not hardware/situation dependant. The fact that you are able to unlock the door also point in the direction that some BLE communication is possible, even if it is only sending and not recieving. |
Strange, to only have the issue on the new FW. The distance between lock and esp board is around 1.5 -2 meters, with a BT strength of -64 dBm. Below an evolution of the BT strength for a couple of hours. |
Can't reproduce this on 8.35 with:
Using Lock 4.0 and Lock 4.0 Pro Very interested in serial logs (might need logs from the debug binary) when you get the chance |
I have the same issue with Nuki Smart Lock 3.0 Pro and M5Stack Atom. Downgrade to 8.34 makes the hub and lock work again immediatelly. |
@pipip Please provide a serial log while running 8.35 |
While I try to get a serial log, I would like to point out that, after deleting the 'homeassistant' topic in the broker the nuki hub never sends it complete again (just homeassistant/status -> online) |
Homeassistant discovery is only updated when a valid config from the Nuki device is received. It is possible that a serial log when on a release binary will not give much information. |
I may have found the issue in the info page supplied by @MihaiKrieger. nrRetry is set to 0. There was a change in 8.35 with how this value is used. This setting is basically not named correctly as of this time as it is not interpreted as number of retries but as maximum number of total tries of a command. I'll make a PR to fix this. Please check the value or |
Yes that value should not be zero on 8.35. Set it to atleast 1, but default and advised value is 3 Do note that this is considered a bug, introduced by changes by me in 8.35. It should be perfectly fine to have this at 0 and will be again in 8.36 If this works no serial logs would have to be collected. Should this work for @MihaiKrieger and not for others please open your own issue and post correct info as per the issue template |
It is up to you. If you don't want commands to be retried you can set it to 0. Best practice is the default ( = 3) |
That was the solution! Setting nrRetry to 3 solved the problem. THANKS a lot!!! |
Setting retries does the trick for me. As a note in the release notes it would have saved me 3 hours :-) |
PROBLEM DESCRIPTION
With the update to the new 8.35 FW, the Nuki Lock state is undefined.
Repairing the lock did not solve the problem.
Power cycling the ESP32 Board did not solve the problem.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
TO REPRODUCE
Steps to reproduce the behavior: Update to the new firmware via the OTA interface from the board.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen. Nuki lock state should be locked, unlocked, locking, or unlocking, based on the situation. However, it remains in undefined state.
SCREENSHOTS
ADDITIONAL CONTEXT
I have rolled back to the 8.34 version, and it started working again.
Post downgrade screenshot:
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: