This project is maintained in my free time. A coffee ☕ is always appreciated!
Ecovacs CN Domestic (ecovacs_cn) is a custom Home Assistant integration developed for domestic (Mainlain China-region) Ecovacs cleaning robots.
If you bought your Ecovacs robot in China or it is a specific domestic model, you likely found that the standard Home Assistant Ecovacs integration does not work. This could be due to differences in servers and protocols between the Oversea and Chinese versions.
This integration is built based on documentation from open.ecovacs.cn and the ecovacs-mcp project to bridge that gap.
Due to limitations in the currently available API, this integration focuses on core essential controls.
- Status Monitoring: View current robot cleaning and charging status.
- Cleaning Control: Start, Pause, Resume, and Stop cleaning sessions.
- Charging Control: Return to dock (charge) or cancel returning.
- Go to HACS -> Integrations.
- Select Custom repositories from the menu.
- Add this repository URL and select Integration.
- Click Add, search for "Ecovacs CN Domestic", and install.
- Restart Home Assistant.
- Download the
ecovacs_cnfolder from the releases. - Copy it to
/config/custom_components/ecovacs_cn. - Restart Home Assistant.
To use this integration, you need an API Key (AK).
- Go to the Ecovacs Open Platform.
- Click "Get AK" (usually at the top right corner).
- Log in using the same Ecovacs ID (phone number/email) you use in your Ecovacs Home app.
- Copy the generated API Key.
- In Home Assistant, go to Settings -> Devices & Services -> Add Integration.
- Search for Ecovacs CN Domestic.
- Paste your API Key when prompted.
Please read this carefully. The API Key provided by the Ecovacs Open Platform has a hard limit of 90 days.
- The integration will stop working after 90 days.
- You must manually generate a new key and update the integration configuration.
- Recommendation: Create a generic Reminder or To-Do item in Home Assistant or your calendar to remind yourself to refresh the token every 85 days.
Once installed, control buttons and status sensors will be created under your robot's name. They can be used in dashboards, automations, scripts as you like.
This custom integration has been tested on:
- Ecovacs Deebot T5 Neo (DX55) domestic version (the only one I have 😆)
Any user is welcome to test on yours, and create an issue if you find any problem.
This is a custom integration and is not affiliated with or endorsed by Ecovacs. Use at your own risk.