Skip to content

Please provide an example of using app_segment_clean #61

@Chrischi-

Description

@Chrischi-

Could you please provide an example of using app_segment_clean?

I get an error every time. No matter which syntax I use.

For Example

roborock -d command --device_id xyxyxyxyxyxyxyxyxyx --cmd app_segment_clean --params "[23]"

DEBUG:roborock.cloud_api:id=79354 Requesting method app_segment_clean with [23]
roborock.exceptions.VacuumError: (-10005, 'Param is not an array')
roborock -d command --device_id xyxyxyxyxyxyxyxyxyx --cmd app_segment_clean --params '[{"segments":[23],"repeat":2}]'

DEBUG:roborock.cloud_api:id=40826 Requesting method app_segment_clean with [{"segments":[23],"repeat":2}]
roborock.exceptions.VacuumError: (-10005, 'Param is not an array')

My room mapping looks like this:

DEBUG:roborock.cloud_api:id=75853 Response from get_room_mapping: [[16, '12105189'], [18, '12105192'], [19, '12105181'], [20, '12105179'], [21, '12105183'], [22, '12105185'], [23, '12105177'], [24, '12105187']]

And how could I do local commands without the cloud_api?

Thanks in advance for your time
@Lash-L @humbertogontijo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions