spodec
February 10, 2024, 1:50pm
1
Hi,
I try to start a zone cleaning with my Roborock using Node-RED but I don’t get it to work.
This is what I have at the moment but it does not work. Can someone help me?
In the Data field I use:
{"command":"app_zoned_clean","params":"[[25011,28975,29162,32521,1]]"}
Thanks.
Mikefila
(Mike Fila)
February 10, 2024, 10:46pm
2
spodec:
{"command":"app_zoned_clean","params":"[[25011,28975,29162,32521,1]]"}
I think this should be
{"command":"app_zoned_clean","params":[25011,28975,29162,32521],"repeat":1}
There is also another service called zone clean, that might be better for this and use
{"params":[25011,28975,29162,32521],"repeat":1}
spodec
February 11, 2024, 9:37am
3
Unortunate not. I used this service within HA and it worked fine, but I don’t have this option in Node RED.
{"command":"app_zoned_clean","params":[25011,28975,29162,32521],"repeat":1}
It does nothing with this command.
When I use this:
{"command":"app_zoned_clean","params":[25011,28975,29162,32521]}
it just starts a normal clean with every room included by ignoring the zone.
Any other suggestions?
Mikefila
(Mike Fila)
February 11, 2024, 5:25pm
6
spodec:
app_zoned_clean
On the roborock integration page it shows app_segment_clean
. It also uses 3 sets of numbers not 4.
[16, '14000663', 12]
([internal room id, unique room id, room type])
Did you follow the mapping setup on the page to get the room mapping?
spodec
February 11, 2024, 5:35pm
7
I finally found the problem. It was the wrong domain. There is an additional domain called roborock with the clean zone Service. Everything works perfect now! Thanks for your help anyway!
I have the same issue but don’t see any roborock domain. Are you using the native Roborock integration?
spodec
February 22, 2024, 3:49pm
9
I use the Roborock and Xiaomi Vacuum Map Card Integration. Not sure, which one provides the Roborock domain.
Using a YAML to JSON on the YAML that works. Converts to the data field to:
{
"command": "app_segment_clean",
"params": [
{
"segments": [
20,
18
],
"repeat": 1
}
]
}
credits to @ kermitdesign in NodeRed Reddit