rand256 / valetudo

Valetudo RE - experimental vacuum software, cloud free
Apache License 2.0
670 stars 74 forks source link

MQTT: zoned_cleanup not working (custom_command) #253

Closed gold-git closed 4 years ago

gold-git commented 4 years ago

custom_command to zone cleanup isn't working

"normal" commands working 2020-06-14 08:22:04,862 INFO --- MqttFX ClientModel : addPublishTopic : valetudo/rockrobo/command 2020-06-14 08:22:04,862 INFO --- MqttFX ClientModel : sucessfully published message locate to topic valetudo/rockrobo/command (QoS 0, Retained: false)

custom commands not working 2020-06-14 08:24:19,964 INFO --- MqttFX ClientModel : addPublishTopic : valetudo/rockrobo/custom_command 2020-06-14 08:24:19,965 INFO --- MqttFX ClientModel : sucessfully published message { "command": "zoned_cleanup", "zone_ids": ["Bad"] } to topic valetudo/rockrobo/custom_command (QoS 0, Retained: false)

The rooms are correctly marked on the map. Room cleaning via the web frontend works

Vacuum Model: MODEL...........: roborock.vacuum.s5 PRODUCTION DATE.: November 2019 FIRMWARE........: 3.5.8_002020 BUILD NUMBER....: 2020041700REL MIIO VERSION....: 3.3.9

Valetudo Version: 0.9.5.2

rand256 commented 4 years ago

The rooms are correctly marked on the map. Room cleaning via the web frontend works

Aren't you mixing rooms and zones? For room cleaning there's "segmented_cleanup" custom command.

You can also check /var/log/upstart/valetudo.log file on the device for possibly logged errors.

gold-git commented 4 years ago

Shame on me. With "segmented_cleanup" it works correctly. Thank you very much. I must be blind. I only found this command in another forum, but not in the docu.

{"command":"segmented_cleanup","segment_ids":["Bad"],"repeats":1}

https://community.jeedom.com/t/fil-de-discussion-du-tuto-utiliser-valetudo-re-et-le-controler-via-mqtt/26807/323