Setting it up
1
Sign in to Xiaomi
Use the Xiaomi account the Xiaomi Home app uses, not a Roborock or Dreame app account. Sign in with the username and password, or with a QR code or login link. Xiaomi may ask for a captcha or a two-factor code, and the setup asks for each in turn.
2
Choose the vacuum
Asked only when the account has more than one.
3
Confirm the details
The vacuum’s local address and its token come from the cloud, and the map API is detected from the model. See Supported vacuums for how a model maps to an API.
Adjusting the map
The integration’s Configure button opens five sections:Scale
A new entry draws the map four times the size of the cloud map’s grid, with the elements’ sizes multiplied to match.An entry set up before 0.8.0 keeps drawing at its old scale of 1 until you raise Image dimensions → Scale. Raise Map elements’ sizes by the same factor, so that the path and the robot keep their size against the map.

