-
Notifications
You must be signed in to change notification settings - Fork 39
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
Nuki Hub gets unavailable for a couple of hours a day - also tries to reconnect every minute afterwards #413
Comments
Same here. If mosquitto Broker output is needed please just tell. |
I suggest trying the latest PR with Arduino Core 3 and IDF 5.1. You can find the binaries here: https://github.com/technyon/nuki_hub/actions/runs/9711394389 Do note that these binaries need to be flashed using USB/serial once because of changes to the partition table. |
I tried flashing it with the Espressif Flash Download Tools, however it shows only 'null' in the command line and red fields in the UI |
I find that to be a horrible tool and exclusively use esptools. See https://docs.espressif.com/projects/esptool/en/latest/esp32/installation.html or https://www.flamingo-tech.nl/2021/03/21/installing-and-using-esptools/ for how to install esptools. You can just use the command in the how-to-flash.txt file. You only need to change the COM port. |
Worked now. Different machine, different tool. I will update here how stable it is |
Is there a solution to unknown state? |
with this binary, I cannot get a connection by ethernet anymore, specifically with a M5Stack Atom PoE Kit - W5500. |
I can conform that core 3 breaks both W5500 and LAN8720 ethernet support. Please follow up regarding this in issue #416, not here. |
Lets keep this open until we have confirmation this is fixed in latest builds |
I just flashed the latest build (9876220444.1180.1), trying this now. |
Works like a charm since then! |
Thanks for reporting back. Closing as completed |
Unfortunately I'm still having issues with the lock being unavailable. While the builds from main are better. They still haven't fixed it for me! MQTT just stays unconnected, despite the restart on disconnect option being ticked. Sometimes it's fine for days. Other times only a few hours. With 8.33 I never had this issue. |
@adamlc Could you get serial logs while this is happening? |
I'll see what I can do to capture them :) |
Just a quick update. I've now had different behaviour without any changes. MQTT is now reported as connected but updates aren't sent and everything seems out of sync with HA. Unfortunately I've not been able to get any logs at the time it happens. Because of the instability I've had to sadly revert to 8.33 as that was rock solid before. All the new improvements to 8.35 did look fantastic and I hope with some more time I can debug. |
@adamlc Which version are you on now? |
Back on |
And the problems you had with 8.35, or the 9.0 beta, or both? |
Sorry for the late reply on this. Seems to now be resolved on the stable 9.0 builds 👍 |
It's really stable now with 9.0! Thanks for all the work 🍾 |
PROBLEM DESCRIPTION
Nuki Hub is several times a day unavailable via MQTT for several hours.
REQUESTED INFORMATION
TO REPRODUCE
Let Nuki Hub run a few hours. Then it is shown as unavailable in HomeAssistant for a couple of hours. Later, it automatically reappears and works as designed.
EXPECTED BEHAVIOUR
Connection stays stable.
SCREENSHOTS
none
ADDITIONAL CONTEXT
Output from Mosquito broker:
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: