XiaomiRobotVacuumProtocol
XiaomiRobotVacuumProtocol copied to clipboard
PROBLEM: Start room cleaning
Hi,
I have Roborock S7 device.
I want try start room cleaning command.
When I inject message with this payload to command node
{"method":"app_segment_clean","params":[16,22],"id":6764}
Node return this warning
"Miio Roborock error on command 'app_segment_clean': Param is not an array"
I don't understand warning text, because "params" IS an array. Can you help me?
Thx.
Please show exact, what xou do, did you write the id also in commd? Please look into readme, there are examples.
@schejbity what sort of app you are using to send the command? Ensure it is not modifying whatever you are sending
also can try the extensive version (note the extra curly brackets)
{
"method": "app_segment_clean",
"params": [{"segments": [16, 17, 18],"repeat": 2}],
"id": 6764
}
I'm trying to call the command like this:
And here command node setting:
I followed this example: https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/segment_clean.md
Thanks.
@schejbity what sort of app you are using to send the command? Ensure it is not modifying whatever you are sending
also can try the extensive version (note the extra curly brackets)
{ "method": "app_segment_clean", "params": [{"segments": [16, 17, 18],"repeat": 2}], "id": 6764 }
Same behaviour with extensive version. Any ideas?
Same Problem here @schejbity Have you found a solution?