Zum Hauptinhalt springen

Ecovacs Smart-Home-Integration, kostenlos und Open Source

Ecovacs-Integration für Gladys Assistant

Control Ecovacs Deebot robot vacuums and GOAT mowers: start, dock, battery, errors.

Info

Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.

Control your Ecovacs Deebot robot vacuums and Ecovacs GOAT lawn mowers from Gladys: start and stop the job, send the robot back to its dock, set the suction power, follow the battery, the errors and the wear of the parts.

The integration goes through the Ecovacs cloud, with the account of the Ecovacs Home app: Ecovacs offers no local connection. Gladys needs Internet access, and the robot must show up in the app.

Before you start​

  1. Install the Ecovacs Home app and add your robots to it.
  2. Note the email and password of the account, and the country chosen when the account was created.
  3. Account created with Google, Apple or Facebook sign-in: it has no password. Set one in the app (Profile, account settings).

Configuration​

  1. Open the Configuration tab of the integration.
  2. Fill in the email, the password and the country of the account.
  3. Pick the refresh interval (1 minute by default).
  4. Save, then click Test the connection: the message lists the robots found.
  5. Open the Discover tab and add your robots.

Device verification​

Ecovacs may ask to confirm Gladys as a new device (the message says so, the cloud answers code 1013 "Please update to the latest version"):

  1. Click Send the verification code: Ecovacs mails a code to the account (look in the spam folder too).
  2. Enter it in Confirm the device and click: the robots are listed.

Gladys keeps the same device id for the account, even after a restart.

The password is never sent in clear text: only its MD5 fingerprint goes to Ecovacs, as the app does.

What you get​

FeatureVacuumMowerDetail
State✔✔Stopped, running, paused, error, returning to dock, charging, docked
Cleaning / Mowing✔✔1 starts (or resumes after a pause), 0 stops
Return to dock / station✔✔1 sends the robot back
Suction power✔Quiet, Standard, Max, Max+ (depending on the model)
Battery, Charging✔✔In %
Last error✔✔English text with its code, see the table below
Main brush, Side brush, Filter✔Remaining life in %, read every 30 minutes
Blades, Camera lens brush✔Remaining life in %, read every 30 minutes

A cloud badge shows on the robot card when it answers, unreachable when it no longer does (switched off, out of Wi-Fi).

Actions​

  • Test the connection: signs in and lists the robots found.
  • Send the verification code / Confirm the device: device verification, when Ecovacs asks for it (see above).
  • Locate a robot: the robot plays its "I'm here" sound.

Scenes (Gladys 5.1 or later)​

The integration adds its own cards to the scene editor, under Integrations. Every trigger can be narrowed to one robot; left empty, it matches them all. Common variable: {{triggerEvent.data.name}} (robot name).

Triggers:

  • Cleaning or mowing started: the robot starts working (not when it resumes after a pause).
  • Cleaning or mowing finished: the robot stopped working (done, stopped or on its way back).
  • Robot back on its dock: the robot is on its dock or station, charging.
  • Robot error: the robot reported a new error. Variables {{triggerEvent.data.code}} and {{triggerEvent.data.message}}. Perfect for a "robot stuck" notification.
  • Consumable worn out: a brush, filter or blade went down to 10 % of its life or less. Can be narrowed by consumable; variables {{triggerEvent.data.consumable_name}} and {{triggerEvent.data.percent}}.

Actions (output sent or located: true when the robot took the order, to gate the rest of the scene):

  • Start a robot (resumes when paused), Pause a robot, Stop a robot, Send a robot back to its dock, Locate a robot.

Dashboard widget​

Add the Ecovacs robot widget to a dashboard and pick the robot in its settings. It shows:

  • the battery, live;
  • the state, the last error, the suction power, the wear of the consumables (orange under 10 %) and the connection;
  • four buttons: Start (or Resume, or Pause while working), Stop, Dock and Locate.

The widget uses the last reading of the robot: displaying it costs no request to the Ecovacs cloud.

Common error codes​

CodeMeaning
101Battery low
102Robot stuck in a loop
103Wheel problem
104Cliff sensor problem
105Robot stuck
106Side brush worn out
107Dust bin full
108Side brush blocked
109Main brush blocked
110Dust bin missing
111Bumper problem
112Laser sensor problem
113Main brush worn out
115Battery problem
118Filter blocked
119Fan problem
120Water tank problem
204Wheel stuck
312Replace the dust bag
1007Mop plate loose

Supported robots​

  • Recent Deebots (JSON protocol): OZMO 920/950, T8, T9, T10, T20, T30, X1, X2, N8, N10… The new-generation (_V2) and older commands are detected automatically.
  • GOAT mowers: support to be confirmed, feedback welcome.
  • Not supported: the very old Deebots (first 600/900 series, XMPP protocol). "Test the connection" names them.

Troubleshooting​

  • "Ecovacs refused the email or password": check them in the app, and above all the country of the account. After such a refusal the integration stops retrying on its own (so as not to lock the account): fix the configuration or click Test the connection.
  • "Ecovacs asks to confirm Gladys as a new device": follow Device verification. The integration does not retry on its own until then.
  • "Ecovacs refused the verification code": the code is wrong or too old; ask for a new one.
  • "The Ecovacs cloud cannot be reached": check the Internet access of Gladys. The integration retries every 5 minutes.
  • The robot is unreachable: it is switched off or out of Wi-Fi; check it answers in the Ecovacs Home app.
  • The integration logs (Gladys UI or docker logs) never contain the password or the tokens.

Konfigurationseinstellungen​

Diese Einstellungen fragt Ecovacs in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
Getting startedsectionNeinYour robots (Deebot vacuums, GOAT mowers) are reached through the Ecovacs cloud, with the account of the Ecovacs Home app: add the robots in the app first, then enter the same email, password and country here. Accounts created with Google, Apple or Facebook sign-in need a password: set one in the app (Profile, account settings). On the first connection, Ecovacs may ask to confirm Gladys as a new device: "Send the verification code" mails you a code, enter it in "Confirm the device".
EmailstringJaThe email of your Ecovacs Home account.
PasswordsecretJaThe password of your Ecovacs Home account. Only its MD5 fingerprint is sent to Ecovacs, as the app does.
Country of the accountselectJaThe country chosen when the account was created: it decides which Ecovacs servers hold it.
Refresh intervalselectNeinHow often each robot is asked for its state through the cloud.

So installierst du Ecovacs in Gladys​

  1. Öffne in Gladys Integrationen: Ecovacs erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/prohand/gladys-ecovacs:1.3.0) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration).
  3. Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
  4. Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/prohand/gladys-ecovacs.

Ecovacs benötigt Gladys >=5.1.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.

Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.

Über externe Integrationen​

Ecovacs ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von prohand veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.

Abonniere den Newsletter von Gladys Assistant

Ein paar E-Mails im Monat zu neuen Releases und Neuigkeiten aus dem Projekt. Verschickt von Pierre-Gilles Leymarie, dem Gründer des Projekts. Jederzeit abbestellbar 🙂