Skip to content

Map calibration in Xiaomi Home

Piotr Machowski edited this page Mar 25, 2020 · 2 revisions

Xiaomi Home

  1. Open map view in Xiaomi Home
  2. Open dev tools in Home Assistant
  3. Call service vacuum.send_command with different parameters to estimate your vacuums coordinates system. Point [25500, 25500] is usually very close to the docking station, difference of 1000 translates to 1 meter distance. If your vacuum is unable to get to a desired point try changing coordinates in the opposite way.
  4. Estimate coordinates of a zone that will cover a whole map
  5. Call service xiaomi_miio.vacuum_clean_zone with estimated coordinates
  6. Take a screenshot of a map with a marked zone

Here is a pretty good explanation how to find out coordinates for different points on the map. There is just one mistake: [25500, 25500] is not always exactly at the position of a docking station.