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

Added 2 robots to the supported models #643

Merged
merged 2 commits into from
Dec 10, 2023

Conversation

rammium
Copy link
Contributor

@rammium rammium commented Nov 30, 2023

Tested these robots: Roborock S7 MaxV, Xiaomi Robot Vacuum E10.

S7 MaxV example config (has room cleaning shortcuts with hardcoded IDs which you need to find for yourself):
s7_maxv

type: custom:vacuum-card
entity: vacuum.roborock_s7_maxv
stats:
  default:
    - entity_id: sensor.roborock_s7_maxv_filter_time_left
      unit: hours
      subtitle: Filter
      value_template: '{{ (value | float(0) / 3600) | round(1) }}'
    - entity_id: sensor.roborock_s7_maxv_side_brush_time_left
      unit: hours
      subtitle: Side brush
      value_template: '{{ (value | float(0) / 3600) | round(1) }}'
    - entity_id: sensor.roborock_s7_maxv_main_brush_time_left
      unit: hours
      subtitle: Main brush
      value_template: '{{ (value | float(0) / 3600) | round(1) }}'
    - entity_id: sensor.roborock_s7_maxv_sensor_time_left
      unit: hours
      subtitle: Sensors
      value_template: '{{ (value | float(0) / 3600) | round(1) }}'
  cleaning:
    - entity_id: sensor.roborock_s7_maxv_main_brush_time_left
      value_template: '{{ (value | float(0) / 3600) | round(1) }}'
      subtitle: Main brush
      unit: hours
    - entity_id: sensor.roborock_s7_maxv_cleaning_time
      value_template: '{{ (value | float(0) / 60) | round(1) }}'
      unit: minutes
      subtitle: Cleaning time
shortcuts:
  - name: Clean living room
    service: vacuum.send_command
    service_data:
      entity_id: vacuum.roborock_s7_maxv
      command: app_segment_clean
      params:
        - 16
    icon: mdi:sofa
  - name: Clean bedroom
    service: vacuum.send_command
    service_data:
      entity_id: vacuum.roborock_s7_maxv
      command: app_segment_clean
      params:
        - 20
    icon: mdi:bed-empty
  - name: Clean hallway
    service: vacuum.send_command
    service_data:
      entity_id: vacuum.roborock_s7_maxv
      command: app_segment_clean
      params:
        - 17
    icon: mdi:door-closed
  - name: Clean bathroom
    service: vacuum.send_command
    service_data:
      entity_id: vacuum.roborock_s7_maxv
      command: app_segment_clean
      params:
        - 19
    icon: mdi:shower
  - name: Clean storage
    service: vacuum.send_command
    service_data:
      entity_id: vacuum.roborock_s7_maxv
      command: app_segment_clean
      params:
        - 18
    icon: mdi:wardrobe

Robot top-down image used:
top_down_s7_maxv

Robot Vacuum E10 example config:
robot_vacuum_e10

type: custom:vacuum-card
entity: vacuum.xiaomi_b112_c31c_robot_cleaner
stats:
  default:
    - attribute: sweep.hypa_hours
      unit: hours
      subtitle: Filter
    - attribute: sweep.side_brush_hours
      unit: hours
      subtitle: Side brush
    - attribute: sweep.main_brush_hours
      unit: hours
      subtitle: Main brush
    - attribute: sweep.mop_hours
      unit: hours
      subtitle: Mop
  cleaning:
    - attribute: sweep.main_brush_hours
      subtitle: Main brush
      unit: hours
    - attribute: sweep.cleaning_time
      unit: minutes
      subtitle: Cleaning time

Robot top-down image used:
top_down_robot_vacuum_e10

@rammium
Copy link
Contributor Author

rammium commented Nov 30, 2023

S7 MaxV integrated using Roborock integration.
Robot Vacuum E10 integrated using Xiaomi Miot integration.

@denysdovhan denysdovhan merged commit f77140a into denysdovhan:master Dec 10, 2023
2 of 3 checks passed
Copy link

🎉 This PR is included in version 2.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants