Skip to content

Add support for xiaomi.vacuum.c102gl (X20/S20 series) #728

Description

@PeterPin71
Image

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the vacuum/platform is already requested
  • I have sent raw map file to piotr.machowski.dev [at] gmail.com (Retrieving map; please provide your GitHub username in the email)

What vacuum model do you want to be supported?

xiaomi vacuum X20+ / xiaomi.vacuum.c102gl

What is its name?

Xiaomi X20+

Available APIs

  • xiaomi
  • viomi
  • roidmi
  • dreame

Errors shown in the HA logs (if applicable)

Other info

Hello,
I would like to request adding support for the Xiaomi vacuum model:
Model: xiaomi.vacuum.c102gl
Platform: Xiaomi/Dreame (X20/S20 family)
This model is currently missing from the list of supported devices. It is also mentioned in the Home Assistant issue tracker as not supported / not recognized — the model xiaomi.vacuum.c102gl is explicitly listed as one of the missing devices. [github.com]
Current behavior:

Home Assistant partially detects the device and basic entities load correctly (battery, state, some sensors).
However, map support does not work — no map entity is created.
The Dreame Vacuum integration reports the device as “not supported.”
Additionally, both integrations — Dreame and Xiaomi Miio/Miot — fail with the same error during cloud login:
“failed to login”,
even though I am using 100% correct credentials which work flawlessly in the Xiaomi Home app.

Other users have reported the same behavior for new X20/S20 models, indicating that cloud authentication and device definitions may be missing for these generations. [community....sistant.io], [github.com]
What I can provide:

Full MIoT device specification dump
Token + device info (redacted)
Home Assistant logs showing the error
Cloud region: EU/DE

Please let me know what format you prefer.
Why support is important:
This model belongs to Xiaomi/Dreame’s newer vacuum generation (X20/S20 series).
At the moment, only basic identification works, but:

map support is missing
cloud login fails in all integrations
local support is incomplete

This severely limits the usability of the vacuum in Home Assistant.
I would greatly appreciate adding support for this model.
Thank you very much for your work and your time!

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions