🤖 Home Assistant Mop Robot Automation Suite

Home Assistant mop robot suite: control panel with quick-access buttons, room-specific cleaning scripts, status sensors, map, statistics and maintenance.

Category
🏠 Home Assistant
Requirements
Described in the guide
Code blocks
19

This page provides a complete control and automation suite for your Ecovacs mop robot in Home Assistant. It includes both the dashboard and all automation scripts:

  • 🚀 Quick-access buttons for global actions
  • 🧹 Individual room cleaning
  • 📊 Status displays, sensor readings, and cleaning statistics
  • ⚙️ Advanced settings, maintenance & reset
Perfect for: Home Assistant users looking for a centralized control solution for their mop robot.

⚙️ Features & Control

Overview of the main functions:

  • Quick Access: Start all rooms (with the exception of specific areas)
  • Full Control: Start, Stop, and Return to Base
  • Individual Cleaning: Room-specific cleaning scripts for targeted actions
  • Status & Sensors: Battery status, error codes, filter and brush condition
  • Map & Statistics: Overview of cleaning coverage and history
  • Settings: Configuration of cleaning modes and additional options
  • Maintenance: Reset counters and locate function when lost

🚀 Quick-access Buttons

YAML
type: vertical-stack
cards:
  - type: button
    name: All Rooms (except Maya)
    icon: mdi:robot-vacuum
    tap_action:
      action: call-service
      service: script.staubsauger_start_alle_zimmer_auser_maya
    style:
      width: 100%

This button starts the cleaning process in all rooms except Maya.

🧹 Full Control

YAML
- type: horizontal-stack
  cards:
    - type: button
      name: All Rooms
      icon: mdi:robot-vacuum
      tap_action:
        action: call-service
        service: script.staubsauger_start

    - type: button
      name: Stop
      icon: mdi:stop
      tap_action:
        action: call-service
        service: script.staubsauger_stop

    - type: button
      name: Return to Base
      icon: mdi:home
      tap_action:
        action: call-service
        service: script.staubsauger_zuruck_zur_basis

The three essential control actions: start all rooms, immediate stop, and return to base.

🏠 Individual Room Cleaning

These scripts enable targeted cleaning for specific rooms:

YAML
- type: markdown
  content: "### Individual Room Cleaning:"

- type: horizontal-stack
  cards:
    - name: Bathroom
      icon: mdi:bathtub
      tap_action:
        service: script.staubsauger_start_badezimmer

    - name: Toilet
      icon: mdi:toilet
      tap_action:
        service: script.staubsauger_start_wc

    - name: Kitchen
      icon: mdi:fridge
      tap_action:
        service: script.staubsauger_start_kuche

    - name: Living Room
      icon: mdi:sofa
      tap_action:
        service: script.staubsauger_start_wohnzimmer

- type: horizontal-stack
  cards:
    - name: Bedroom
      icon: mdi:bed
      tap_action:
        service: script.staubsauger_start_schlafzimmer

    - name: Hallway
      icon: mdi:door
      tap_action:
        service: script.staubsauger_start_flur

    - name: Maya
      icon: mdi:human-female
      tap_action:
        service: script.staubsauger_start_maya

    - name: Philip
      icon: mdi:human-male
      tap_action:
        service: script.staubsauger_start_philip

📊 Status & Sensors

YAML
- type: entities
  title: Status & Sensors
  entities:
    - entity: sensor.wischroboter_batterie
      name: Battery

    - entity: sensor.wischroboter_fehler
      name: Errors

    - entity: sensor.wischroboter_lebensdauer_der_hauptburste
      name: Main Brush

    - entity: sensor.wischroboter_lebensdauer_der_seitenburste
      name: Side Brush

    - entity: sensor.wischroboter_lebensdauer_des_filters
      name: Filter

    - entity: binary_sensor.wischroboter_mopp_angebracht
      name: Mop Attached

🗺️ Map & Cleaning Statistics

YAML
- type: vertical-stack
  cards:
    - type: picture-entity
      entity: image.wischroboter_karte
      image: /local/wischroboter_karte.png
      camera_view: auto
      fit_mode: cover

    - type: entities
      title: Cleaning Statistics
      entities:
        - entity: sensor.wischroboter_flache_gereinigt
          name: Area (last cleaning)

        - entity: sensor.wischroboter_gesamtdauer_der_reinigung
          name: Duration (last cleaning)

        - entity: sensor.wischroboter_gesamtflache_gereinigt
          name: Total Area

        - entity: sensor.wischroboter_reinigungen_insgesamt
          name: Cleanings

        - entity: sensor.wischroboter_reinigungsdauer
          name: Cleaning Time

⚙️ Robot Settings

YAML
- type: entities
  title: Settings & Modes
  entities:
    - entity: switch.wischroboter_automatische_saugkraftverstarkung_fur_teppiche
      name: Auto Carpet Boost

    - entity: select.wischroboter_betriebsmodus
      name: Cleaning Mode

    - entity: switch.wischroboter_erweiterter_modus
      name: Advanced Mode

    - entity: switch.wischroboter_kontinuierliche_reinigung
      name: Continuous Cleaning

    - entity: number.wischroboter_lautstarke
      name: Volume

    - entity: switch.wischroboter_reinigungspraferenz
      name: Cleaning Preference

    - entity: switch.wischroboter_truedetect
      name: TrueDetect

    - entity: select.wischroboter_wasserdurchfluss
      name: Water Flow

🧼 Maintenance & Reset

YAML
- type: entities
  title: Maintenance & Reset
  entities:
    - entity: button.wischroboter_lebensdauer_der_hauptburste_zurucksetzen
      name: Reset Main Brush

    - entity: button.wischroboter_lebensdauer_der_seitenburste_zurucksetzen
      name: Reset Side Brush

    - entity: button.wischroboter_lebensdauer_des_filters_zurucksetzen
      name: Reset Filter

    - entity: button.wischroboter_verlegen
      name: Locate

📁 Notes

  • All scripts must be defined in your Home Assistant configuration at /config/scripts.yaml.
  • Icons are based on the Material Design Icons.
  • A current snapshot or static image must be placed at /config/www/wischroboter_karte.png for the map.

Mop Robot: General Commands

Start All Rooms

YAML
staubsauger_start:
  alias: Mop Start (all rooms)
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,2;1,9;1,8;1,5;1,3;1,7;1,4
    action: vacuum.send_command
  mode: single

Stop

YAML
staubsauger_stop:
  alias: Mop Stop
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: stop
        content:
          type: freeClean
          value: 1,0
    action: vacuum.send_command
  mode: single

Return to Base

YAML
staubsauger_zuruck_zur_basis:
  alias: Mop Return to Base
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    action: vacuum.return_to_base
  mode: single

Mop: Room-Specific Start Scripts

Each script starts a cleaning session for a specific room:

All Rooms Except Maya

YAML
staubsauger_start_alle_zimmer_auser_maya:
  alias: Mop Start (all rooms except Maya)
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,2;1,9;1,8;1,5;1,3;1,7
    action: vacuum.send_command
  mode: single

Bathroom

YAML
staubsauger_start_badezimmer:
  alias: Mop Start Bathroom
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,2
    action: vacuum.send_command
  mode: single

Living Room

YAML
staubsauger_start_wohnzimmer:
  alias: Mop Start Living Room
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,7
    action: vacuum.send_command
  mode: single

Kitchen

YAML
staubsauger_start_kuche:
  alias: Mop Start Kitchen
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,8
    action: vacuum.send_command
  mode: single

Toilet

YAML
staubsauger_start_wc:
  alias: Mop Start Toilet
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,9
    action: vacuum.send_command
  mode: single

Hallway

YAML
staubsauger_start_flur:
  alias: Mop Start Hallway
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,5
    action: vacuum.send_command
  mode: single

Maya

YAML
staubsauger_start_maya:
  alias: Mop Start Maya
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,4
    action: vacuum.send_command
  mode: single

Philip

YAML
staubsauger_start_philip:
  alias: Mop Start Philip
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,6
    action: vacuum.send_command
  mode: single

Bedroom

YAML
staubsauger_start_schlafzimmer:
  alias: Mop Start Bedroom
  sequence:
  - target:
      entity_id: vacuum.wischroboter
    data:
      command: clean_V2
      params:
        act: start
        content:
          type: freeClean
          value: 1,3
    action: vacuum.send_command
  mode: single

← Back to all scripts