Skip to content

Vacuum randomly aborts cleaning when using MQTT #2091

Closed Answered by trevor87
trevor87 asked this question in Q&A / Support
Discussion options

You must be logged in to vote

While I did not figure out how to debug MQTT I found the following workaround and was able to solve the problem:

I used docker exec -it mosquitto mosquitto_sub -h localhost -t '#' -v on the MQTT host to show all MQTT messages. At first I got a lot of gibberish and then found out that this probably was binary map data. I deactivated "Provide map data" in the valetudo MQTT options and then I was able to work with the output of mosquitto_sub.

The reason why the robot aborted cleaning was simply an error in my program logic as the buttons I use to activate the robot also sent messages randomly without actually being pressed (e.g. because the battery state changed)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by trevor87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant