FIXED: Ecovacs Deebot 2019 & OZMO Series - Working Library

How can I use your integration in order to clean an area? Thanks

first of all you have to allow your ecovacs to scan your home, it will automatically store the map and name the zone A,B,C,D,…

then check my reply FIXED: Ecovacs Deebot 2019 & OZMO Series - Working Library

My robot has already stored the map and labels (ozmo 920). But I’m able to use return_to_base,start and locate…instead send_command does not work with set_water_level and spot_area.

For spot cleaning and water level, what do you get when sending the following services:

      - service: vacuum.send_command
       data:
          entity_id: vacuum.yourvacuum
          command: spot_area
          params: {"area": "0"}
      - service: vacuum.send_command
        data_template:
          command: set_water_level
          entity_id: vacuum.yourvacuum
          params: {'level": "low"}

image

I tried in this way and I don’t receive any response (where can I check it to be sure?).

In HA log I found: [deebotozmo] call to iotdevmanager failed with {‘ret’: ‘fail’, ‘errno’: 500, ‘debug’: ‘wait for response timed out’}

Are you sure you are using the integration from @Ligio

Yes. Otherwise without that integration I’m not able to start and stop the cleaning.

@SolTroy,

Thanks for your GIST. I used it to install your custom component. To my amazement, it finally pulled in the Deebot 900 into my HA config which I have not been able to do for months!! Thank you!

With that said, I’m now seeing this error in my config:

INFO:homeassistant.util.package:Attempting install of ozmo==1.0
2020-03-19 20:48:44 INFO (SyncWorker_16) [homeassistant.util.package] Attempting install of ozmo==1.0
2020-03-19 20:49:10 ERROR (SyncWorker_16) [homeassistant.util.package] Unable to install package ozmo==1.0: ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/site-packages/ozmo-1.0.dist-info/INSTALLER.pip'
2020-03-19 20:49:10 ERROR (MainThread) [homeassistant.config] Package vacuum setup failed. Integration deebot Requirements for deebot not found: ['ozmo==1.0']. (See /config/packages/vacuum.yaml:1).

These are the only occurrences of ozmo in my config:

Is there an easy fix for this or do I just ignore it?

Sorry… the @Ligio integration does not work with my 930. With that I cannot do anything, for example I cannot retrieve battery and brash status.

The only one that partially works for me is the one provided with @And3rsL and avavilable on HACS

Thank you for your suggestion.
I uninstalled the component present in the costom component and installed that of Ligio and now it works correctly!

1 Like

I’m on Windows installation.

I copied the files into: C:\Users–username–\AppData\Roaming.homeassistant\custom_component\deebot

I get the following error in the log:
2020-03-26 19:04:59 ERROR (MainThread) [homeassistant.setup] Setup failed for deebot: Integration not found.

I fixed the issue… I missed the “s” in “custom_components” :frowning:
I have a Deebot 920… do I need to use “deebot” or “ecovacs” plugin?

I’m now using “deebot” but I cannot see the vacuum sensors (brush/filter) status… I see 0%…

I also tried the @KEM_Hass configuration… I can’t see status, battery and mode… moreover, where shall I put the second part of the configuration “Deebot Room Selection and Water Level” ?

Hi Stefano,
I was able to integrate my deebot 920 only with this component:

image

But I can locate, auto clean and recharge the deebot and monitoring battery and brush.

image

At the moment the vacum.send_command does not work with my 920.

Could you help me a little bit more?

I’m a newby with Home Assistant… I started like 2 days ago :slight_smile:

@Gabriele_Mandalari can you please share your configuration with me?

Hi Stefano,
you should add that integration via HACS:

image

After that you have to follow the instruction provided with the readme

I already did it… but I can’t see the brush/filter % status (I see 0%) and I cannot start the clean…

Can you please share your yaml configuration?

First:
image

Second:

  • platform: template
    sensors:
    deebot_battery_level:
    friendly_name: “Deebot 920 Batteria”
    unit_of_measurement: ‘%’
    value_template: “{{ state_attr(‘vacuum.robi’, ‘battery_level’) }}”

  • platform: template
    sensors:
    deebot_brush_level:
    friendly_name: “Deebot 920 Spazzola”
    unit_of_measurement: ‘%’
    value_template: “{{ state_attr(‘vacuum.robi’, ‘component_brush’) }}”

Thanks. I’m now able to read my battery level and brush usage %.

How can I locate, auto clean and recharge ?

Risolto così:

cards:
  - color: auto
    entity: null
    icon: 'mdi:map-marker-radius'
    name: Trova
    styles:
      card:
        - font-size: 12px
    tap_action:
      action: call-service
      service: vacuum.locate
      service_data:
        entity_id: vacuum.aspirapolvere
    type: 'custom:button-card'
  - color: auto
    entity: null
    icon: 'mdi:play'
    name: Inizia
    styles:
      card:
        - font-size: 12px
    tap_action:
      action: call-service
      service: vacuum.start
      service_data:
        entity_id: vacuum.aspirapolvere
    type: 'custom:button-card'
  - color: auto
    entity: null
    icon: 'mdi:pause'
    name: Pausa
    styles:
      card:
        - font-size: 12px
    tap_action:
      action: call-service
      service: vacuum.pause
      service_data:
        entity_id: vacuum.aspirapolvere
    type: 'custom:button-card'
  - color: auto
    entity: null
    icon: 'mdi:robot-vacuum'
    name: Ricarica
    styles:
      card:
        - font-size: 12px
    tap_action:
      action: call-service
      service: vacuum.return_to_base
      service_data:
        entity_id: vacuum.aspirapolvere
    type: 'custom:button-card'
type: horizontal-stack