Roborock Smart-Home-Integration, kostenlos und Open Source

Robot vacuums paired in the Roborock app: state, start/stop, fan power, dock, battery and routines.
Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.
Control the robot vacuums of your Roborock account from Gladys Assistant.
This integration targets robots paired in the Roborock app. It talks to them directly over your local network, with an automatic fallback to the Roborock cloud when a robot is not reachable.
If your robot is paired in the Xiaomi Home (Mi Home) app, it answers on an entirely different service: the Xiaomi Home integration is the one you need. Both can be installed at once if you use both apps.
Features
For every robot of your account:
- State — the operational state of the robot (cleaning, paused, returning to the dock, charging, docked, error…).
- Run mode — start or stop a cleaning cycle.
- Clean mode — the suction level (silent, balanced, turbo, max, gentle).
- Dock — send the robot back to its charging dock.
- Battery — the current battery level, in percent.
- Routines — one button per routine saved in the Roborock app. Pressing it preserves its full configuration: rooms, zones, order, cleaning mode and number of passes.
Configuration
Two steps, in the Actions box:
- Fill in the email of your Roborock account and click Send me a code by email. The address is checked before anything is sent: a typo is reported straight away instead of leaving you waiting for an email.
- Fill in the code you receive and click Link the account with this code.
The Unlink the account action forgets the session. A code is single-use and expires quickly: if yours is refused, ask for another one.
Then open the Discovery screen and start a scan: your robots appear and can be added to Gladys.
No password is ever asked for, deliberately: many Roborock accounts have none at all (registered with a code, or through Google/Apple), and those that do may be guarded by two-step validation — the password is then accepted and refused for want of a second factor. The code covers every case.
There is nothing else to configure: the region, your robots, their local keys and their IP addresses are all discovered automatically.
How it works
The integration discovers your robots through the Roborock cloud, along with their local encryption key and IP address. Commands and state readings then go through the local network first (TCP), falling back to the cloud (MQTT) when a robot is unreachable. The transport in use is shown as a badge on the device.
Limitations
- The device layer (MQTT and local TCP transports, commands) has never been exercised against a real robot on a Roborock account. The authentication, on the other hand, is verified end to end against the live cloud. If that is your setup, your feedback and debug logs are very welcome.
- Only the Roborock "1.0" protocol family is supported. Recent ranges using a different encryption (Dyad, Zeo) are not covered.
- Suction-level codes vary across model generations. If your model behaves
differently, open an issue with the
fan_powervalue visible in the debug logs.
Konfigurationseinstellungen
Diese Einstellungen fragt Roborock in seinem Konfigurationsbildschirm in Gladys ab.
| Einstellung | Typ | Pflichtfeld | Beschreibung |
|---|---|---|---|
| Roborock account | section | Nein | Two steps, in the Actions box below: ask for a code, then enter the code you receive. No password is ever needed. |
So installierst du Roborock in Gladys
- Öffne in Gladys Integrationen: Roborock erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
- Klicke auf Installieren. Gladys lädt das Docker-Image (
ghcr.io/callemand/gladys-roborock:2.3.0) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration). - Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
- Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/callemand/gladys-roborock.
Roborock benötigt Gladys >=4.86.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
Roborock 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 callemand veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.
- Alle externen Integrationen durchsuchen
- Die nativen Integrationen entdecken, die in Gladys eingebaut sind
- Deine eigene externe Integration bauen und veröffentlichen
- Quellcode auf GitHub — Quelle dieser Dokumentation