andreypopov / node-red-contrib-miio-roborock

Xioami Roborock node-red nodes
Apache License 2.0
32 stars 12 forks source link

Repeat Room Cleanings Do Not Work #46

Open sgrochowski opened 2 years ago

sgrochowski commented 2 years ago

Describe issue As per MIIO documentation, one should be able to send repeated room numbers to have a room cleaned multiple times.

This is done by repeating the number in the passed-in array of room numbers: example, [20, 20, 21, 21] should clean room 20 and 21 twice.

This, however, does not cause the robot to repeat cleanings. This is possible thru MIIOCLI.

Your flow here [{"id":"ca3807ef4b590f4d","type":"change","z":"aed2a2df676eb0f8","name":"Kitchen Zone","rules":[{"t":"set","p":"roomsToClean","pt":"flow","to":"[20,20]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1760,"y":720,"wires":[["d88cf66bb9393ae7"]]},{"id":"d88cf66bb9393ae7","type":"miio-roborock-command","z":"aed2a2df676eb0f8","name":"","server":"c6235719b868dcda","command_name":"► Start room cleaning","command":"app_segment_clean","commandType":"vacuum_cmd","payload":"roomsToClean","payloadType":"flow","coordinates":"","fan_speed":100,"voice_pack":null,"homekit_stop_to_dock":false,"x":2010,"y":720,"wires":[[]]},{"id":"30dbae9adf36cd6d","type":"inject","z":"aed2a2df676eb0f8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1530,"y":720,"wires":[["ca3807ef4b590f4d"]]},{"id":"c6235719b868dcda","type":"miio-roborock-server","name":"MaxV","ip":"xxx.xxx.xxx.xxx","token":"xxx.xxx.xxx.xxx","polling":"10"}] Hardware / Software   - Proxmox VM, NR in HAOS container