#Roborock S8 Pro Ultra Vacuum Only

1 messages · Page 1 of 1 (latest)

tall raptor
#

I am trying to add automations in HA for our Roborock. I have been able to send it out triggered off of bedroom doors being opened but it wants to mop and vacuum. I have looked all over the internet and ChatGPT and can't find the set_custom_code that enables the vacuum only mode. We only mop on the weekends. Does anybody know the code for vacuum only?

alias: Send Roborock to Room on Door Open
description: ""
triggers:

  • trigger: state
    entity_id:
    • binary_sensor.aqara_door_sensor_office_opening
      to: "on"
      conditions: []
      actions:
  • data:
    command: set_custom_mode
    params:
    - 106
    action: vacuum.send_command
    target:
    entity_id: vacuum.roborock_s8_pro_ultra
  • data:
    command: app_segment_clean
    params:
    - 25
    action: vacuum.send_command
    target:
    entity_id: vacuum.roborock_s8_pro_ultra
    mode: single
plush silo
#

In the future, please format your code properly

dire daggerBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

plush silo
#

what you want is set_water_box_custom_mode, and something like this:

#
      - alias: Set custom mode
        action: vacuum.send_command
        target:
          entity_id: vacuum.whatever
        data:
          command: set_water_box_custom_mode
          params:
            - 204
#

you can test different parameters and watch what they do in the mobile app

#

You want the "MopIntensity" enum, and204 is custom, which I've set up for each room manually, but you can probably also use 200 for off

tall raptor
#

I will give it a shot, thank you!

#

Got it working with this.

#

alias: Send Roborock to Room on Door Open
description: "Triggers Roborock to clean a specific room when the door opens."
trigger:

  • platform: state
    entity_id:
    • binary_sensor.aqara_door_sensor_office_opening
      to: "on"

condition: []

action:

  • service: vacuum.send_command
    target:
    entity_id: vacuum.roborock_s8_pro_ultra
    data:
    command: set_custom_mode
    params:
    - 106

  • service: vacuum.send_command
    target:
    entity_id: vacuum.roborock_s8_pro_ultra
    data:
    command: set_water_box_custom_mode
    params:
    - 200

  • service: vacuum.send_command
    target:
    entity_id: vacuum.roborock_s8_pro_ultra
    data:
    command: app_segment_clean
    params:
    - 25

mode: single

#

Thanks again!

plush silo
#

Sure, again, please format your code