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

Q: Clean Segment multiple times. #44

Open
sibero80 opened this issue Mar 13, 2021 · 5 comments
Open

Q: Clean Segment multiple times. #44

sibero80 opened this issue Mar 13, 2021 · 5 comments

Comments

@sibero80
Copy link

I'd like to emulate the app functionality to allow multiple passes for rooms.
Could this be achieved by chaining sements ids?

{
    "method": "app_segment_clean",
    "params": [16, 16, 16],
    "id": 6764
}
@gjuhasz86
Copy link
Contributor

I just looked at what the app does, and it sent this request:

{
  "id": 6157,
  "method": "app_segment_clean",
  "params": [
    {
      "segments": [
        17
      ],
      "repeat": 3,
      "clean_order_mode": 0
    }
  ]
}

I own an S5 Max, but hopefully this works with other models too.

@sibero80
Copy link
Author

Thank you! will try it this weekend and report if it works from Home Assistant.
Any clue what the clean_order_mode would do?

@gjuhasz86
Copy link
Contributor

Yes, I'm fairly sure it's related to the app feature where you can define what order should it clean your rooms in case you specify multiple ones. But I haven't looked into the syntax. I assume 0 means it will just clean in any order it finds suitable. I' can also take a look over the weekend to see if I can find out any more details.

@gjuhasz86
Copy link
Contributor

Ok, so apparently there's a separate pair of commands: set_clean_sequence and get_clean_sequence.
The first one is used to set the sequence, but interestingly, changing it did not change the clean_order_mode parameter in the app_segment_clean request, it was still 0.
So it may be unused, unrelated, or has some other logic that's not well understood at this point.

@sibero80
Copy link
Author

@gjuhasz86 , have you had any luck with the clean_order_mode attribute?
As a side question, do you think there is a way to also set the fan_speed when cleaning a segment?

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

2 participants