-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
After Reboot of the installed Linux, ValetudoRE starts Zoned Cleanup automatical? #448
Comments
Yes, that's exactly what manufacturer wanted the device to do - it's not related to valetudo in any way.
Just tried to enable some zoned cleaning in UI to run every day, then logged on to ssh and issued Can you copy some logs from Settings -> System Log? |
If it is a command done by Node-RED via MQTT it would get a pushmessage to my phone, but there isn't any.
|
So it's not related to scheduled cleanings. (Why did I think it should?..) If mqtt is involved here as it suddenly appears, then probably what you see can be explained this way: you post a mqtt command to start cleaning, it is being put to the broker as something in mqtt terms called retained message, the device sees the message, starts the cleaning and everything is okay. But. Then the device is restarted by low-level firmware logic. It restarts and reconnects to mqtt - and what does it see? It sees the command to start cleaning again at the broker. Because it was marked to be "retainable" or something (?). So, device looks at this message and starts cleaning. Immediately. Looks logical to me. tl;dr |
That is what I was trying to tell you: MQTT is used since many years now and it wasn't set (and isn't set) to retained flag. The command that is sent to the MQTT Broker is the following:
Nothing special in my opinion. Nothing more is configured :/ |
Well, which valetudo version did work properly for you? You could temporarily replace the current binary with the old one to see whether mqtt would work correctly with the old version. Though I guess it won't help, cause I've already posted the only explanation I could imagine for why valetudo would run cleaning again just upon re-connecting to mqtt. Btw probably you can just turn mqtt off in UI and then on again - and this will also lead to immediately starting cleaning if your command message is somehow stuck on the broker and being re-sent to the device every time it connects. But I could be wrong - my experience with the whole mqtt thing isn't that deep. |
I will try to enter wrong MQTT credentials so it won't connect on reboot and do a reboot afterwards. That should tell me if MQTT is the reason or not. Will report back, thank you so far for your help |
Nothing happens after reboot when MQTT is disabled, so you are right :( Again, Thank you! |
Describe the bug
Since 2 days the robot seems to make a reboot of the linux every night at 3:25 AM (yes in the middle of the night.....) and then it starts to wakeup everybody in my flat. I can 100% reproduce the behaviour with a manual reboot of the system.
How to Reproduce
Steps to reproduce the behavior:
Expected behavior
The robot waits until it gets the specific command to do a cleanup.
Screenshots
Vacuum Model:
Gen 2 S5
Valetudo Version: latest of 2021/06/10
User-Agent
Additional context
The text was updated successfully, but these errors were encountered: