Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROBLEM: Start room cleaning #84

Open
schejbity opened this issue Jun 11, 2023 · 5 comments
Open

PROBLEM: Start room cleaning #84

schejbity opened this issue Jun 11, 2023 · 5 comments

Comments

@schejbity
Copy link

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.

@dirkhe
Copy link
Contributor

dirkhe commented Jun 12, 2023

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

@marcelrv
Copy link
Owner

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

@schejbity
Copy link
Author

schejbity commented Jun 13, 2023

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
Copy link
Author

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

@DerT94
Copy link

DerT94 commented Feb 6, 2024

Same Problem here
@schejbity
Have you found a solution?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants