The ecovacs integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] is the main integration to integrate Ecovacs (Deebot) vacuums and mowers. You will need your Ecovacs account information (username, password) to discover and control vacuums and mowers in your account.


To add the Ecovacs integration to your Home Assistant instance, use this My button:

Additional note: There are some issues during the password encoding. Using some special characters (e.g., -) in your password does not work.

With advanced_mode enabled, users can use their self-hosted instance over the cloud servers. Self-hosting comes with some requirements and limitations. See Self-hosted configuration for additional details.

Provided entities

The Ecovacs integration provides a vacuum entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] for each device that is connected to your Ecovacs account.

Using the vacuum entity, you can monitor and control your Ecovacs Deebot vacuum.

Additionally, depending on your model, the integration provides the following entities:

  • Binary sensor:
    • Mop attached: On if the mop is attached. Note: If you do not see the state change to Mop attached in Home Assistant, you may need to wake up the robot in order to push the state change. Some models report an entity state change only if the overall status of the vacuum has changed. For example, if the overall state changes from docked to cleaning.
  • Button:
    • Reset lifespan: For each supported component, a button entity to reset the lifespan will be created. All disabled by default.
    • Relocate: Button entity to trigger manual relocation.
  • Event:
    • Last job: Provides the stop reason as event_type
  • Image:
    • Map: The floorplan/map as an image in SVG format.
  • Number:
    • Clean count: Set the number of times to clean the area.
    • Volume: Set the volume.
  • Select:
    • Water amount: Specify the water amount used during cleaning with the mop.
    • Work mode: Specify the mode, how the bot should clean.
  • Sensor:
    • Error: The error code and a description of the error. 0 means no error. Disabled by default.
    • Lifespan: For each supported component, an entity with the remaining lifespan will be created.
    • Network: The following network related entities will be created. All disabled by default.
      • Ip address
      • Wi-Fi RSSI
      • Wi-Fi SSID
    • Cleaning cycle:
      • Area: The cleaned area
      • Time: The cleaned time
    • Total statistics: Updated after each cleaning cycle:
      • Area: Total cleaned area
      • Cleanings: The number of cleanings
      • Time: The total cleaning time
  • Switch:
    • Advanced mode: Enable advanced mode. Disabled by default.
    • Border switch: Enable border switch. Disabled by default.
    • Carpet auto fan speed boost: Enable maximum fan speed if a carpet is detected. Disabled by default.
    • Child lock: Enable child lock. Disabled by default.
    • Move up warning: Enable device move up warning. Disabled by default.
    • Cross map border warning: Enable warning for crossing the map border. Disabled by default.
    • Continuous cleaning: Enable continuous cleaning, which means the bot resumes the cleaning job if he needs to charge in between. Disabled by default.
    • Safe protect: Enable “Safe protect” feature. Disabled by default.
    • True detect: Enable “True detect” feature. Disabled by default.


The ecovacs vacuum platform allows you to monitor and control your Ecovacs Deebot vacuums.

Integration lifespan

The remaining lifespan of components on your Deebot vacuum will be reported as attributes on the vacuum entity. The value will be a whole number representing the percentage of life remaining.

Here’s an example of how to extract the filter’s lifespan to its own sensor using a template sensor:

# Example configuration.yaml entry
  - sensor:
    - name: "Vacuum Filter Remaining Lifespan"
      unit_of_measurement: "%"
      state: "{{ state_attr('vacuum.my_vacuum_id', 'component_filter') }}"

Or, if you want a simple binary sensor that becomes On when the filter needs to be replaced (5% or less):

# Example configuration.yaml entry
  - binary_sensor:
    - name: "Vacuum Filter"
      device_class: problem
      state: "{{ state_attr('vacuum.my_vacuum_id', 'component_filter') <= 5 }}"

Handling errors

The vacuum entity has an error attribute that will contain the most recent error message that came from the vacuum. There is not a comprehensive list of all error messages, so you may need to do some experimentation to determine the error messages that your vacuum can send.

If the vacuum fires a “no error” event, the error attribute will change back to None. Note, however, that this does not happen for all types of errors.

Alternatively, you can use the ecovacs_error event to watch for errors. This event will contain a data payload that looks like:

  "entity_id": "vacuum.deebot_m80",
  "error": "an_error_name"

Finally, if a vacuum becomes unavailable (usually due to being idle and off its charger long enough for it to completely power off,) the vacuum’s status attribute will change to offline until it is turned back on.

Self-hosted configuration

Depending on your setup of the self-hosted instance, you can connect to the server using the following settings:

  • Username: Enter the email address configured in your instance. If authentication is disabled, you can enter any valid email address.
  • Password: Enter the password configured in your instance. If authentication is disabled, you can enter any string (series of characters).
  • Verify MQTT SSL certificate: disabled

Replace SELF_HOSTED_INSTANCE with either the IP address or the hostname of your instance.

The above configuration is based on the information from Bumper’s documentation.