XiaomiRobotVacuumProtocol icon indicating copy to clipboard operation
XiaomiRobotVacuumProtocol copied to clipboard

PROBLEM: Start room cleaning

Open schejbity opened this issue 1 year ago • 5 comments

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.

schejbity avatar Jun 11 '23 20:06 schejbity

Please show exact, what xou do, did you write the id also in commd? Please look into readme, there are examples.

dirkhe avatar Jun 12 '23 22:06 dirkhe

@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
}

marcelrv avatar Jun 13 '23 09:06 marcelrv

I'm trying to call the command like this: image

And here command node setting: image

I followed this example: https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/segment_clean.md

Thanks.

schejbity avatar Jun 13 '23 09:06 schejbity

@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?

schejbity avatar Jun 17 '23 20:06 schejbity

Same Problem here @schejbity Have you found a solution?

image

DerT94 avatar Feb 06 '24 23:02 DerT94