kylehakala 64dfa91f7c
Fix minor typos/punctuation, improve some phrasing (#31420)
* Remove repeated word

(i.e., "AirNow Developer Tools Page page." —> "AirNow Developer Tools page.")

* Upper-case Celsius

* Edit misc spelling and phrasing

* Rephrase description to add more detail on variable

* Fix minor typos, spacing, and punctuation

* tiny tweaks

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-02-14 08:45:10 +01:00

5.2 KiB

title, description, ha_category, ha_iot_class, ha_release, ha_codeowners, ha_config_flow, ha_domain, ha_platforms, ha_integration_type
title description ha_category ha_iot_class ha_release ha_codeowners ha_config_flow ha_domain ha_platforms ha_integration_type
Ecovacs Instructions on how to integrate Ecovacs vacuums within Home Assistant.
Hub
Vacuum
Cloud Push 0.77
@OverloadUT
@mib1185
@edenhaus
true ecovacs
binary_sensor
button
diagnostics
image
number
select
sensor
switch
vacuum
integration

The ecovacs {% term integration %} is the main integration to integrate Ecovacs (Deebot) vacuums. You will need your Ecovacs account information (username, password) to discover and control vacuums in your account.

{% include integrations/config_flow.md %}

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. More information can be found in the Bumper's documentation.

Provided entities

The Ecovacs integration provides a vacuum {% term entity %} 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.
  • 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.
    • Carpet auto fan speed boost: Enable maximum fan speed if a carpet is detected. 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.
    • True detect: Enable "True detect" feature. Disabled by default.

Vacuum

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:

{% raw %}

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

{% endraw %}

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

{% raw %}

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

{% endraw %}

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.