-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
Valetudo MQTT disconnecting every 2 minutes #2058
Comments
I was indeed able to reproduce the issue. By pure coincidence, just 3 hours ago(!) there was a new release of the MQTT library used which contains a single bugfix for "keepalive issues": mqttjs/MQTT.js#1855 Please try the latest nightly build and let me know if the issue still persists |
Well, I think this update attempt broke my robot, or at least this is a very weird coincidence. When attempting to charge it turns on in lower mode and moves a bit in docking station, then complains about charging error. |
What is happening?
In short: my backup solution pauses HAOS VM at 1:30 every Monday causing mqtt disconnect from the vacuum robot after which connections last only for 2 minutes until robot is rebooted.
I stayed on one of the 2022 valetudo versions and decided to update to 2024.2 last week. This issue is only visible since yesterday (when the mosquitto broker was paused) - on old versions mqtt was always perfectly stable.
Using HA 2023.11.2. Robot is Mijia 1C. Attaching screenshots - please let me know what kinds of other logs you need.
Robot is not seen disconnecting from wifi, so this seems like MQTT issue. This is also seen on two identical mijia 1c robots (both running same valetudo versions, both under servers that backup VMs in the same way)
Broken or not as expected?
Broken
What should be happening?
MQTT should reconnect and stay connected with no need to reboot the robot.
How to reproduce
Is this Valetudo-related?
Certainly Valetudo-related
Please enter the Valetudo version you're using
2024.2
Please enter the vendor and model of robot you're using
Mijia 1C
Please enter the robot's firmware version you're using
1122
Additional context
Issue is seen on two identical robots. This issue did not happen on old (2022) valetudo versions.
Context reflection
No, it's only the Valetudo version that changed.
Screenshots
The text was updated successfully, but these errors were encountered: