Building a Map for Xiaomi Robot Vacuum: From Scanning to Fine-tuning

Xiaomi Vacuum Mop (or its Dreame, Viomi brand analogues) can create a map of your home on its own, but it doesn’t always go smoothly. Problems with scanning accuracy, missed rooms, chaotic routes, or the inability to save a room plan are common problems for many users. The reason is often not because the device malfunctions, but because of improper preparation or settings.

In this article, you will find step-by-step instructions for building a map with the nuances of different models (Mi Robot Vacuum-Mop 2 Pro, Dreame D9, Viomi V3, etc.), as well as ways to eliminate typical errors. We will discuss how to optimize the scanning process, edit the saved map in the Mi Home application, and why sometimes the robot β€œlost” in space. If you have just unpacked the vacuum cleaner or have been struggling with its β€œcaprices” for several weeks, this guide will help you set up the cleaning as efficiently as possible.

⚠️ Important: The map-building algorithms for models with LiDAR (laser scanner) and gyroscope/optical sensors differ. In this article, we will show you what steps are relevant for your type of device.

1. Preparation of the room: what to clean and what to leave

Before you first launch a robot, many users make the mistake of not removing small objects or furniture with "legs-traps." A LiDAR scanner (if you have one in your model) is able to detect even small obstacles, but optical sensors and gyroscopes often perceive them as walls, which leads to distortion of the map.

βœ… Get off the floor:

  • 🧦 Socks, slippers, wires (especially black ones, which the robot may not notice).
  • πŸͺ‘ Chairs with thin legs (or lift them to a height of β‰₯10 cm).
  • πŸ• Pet bowls, toys, boxes.
  • 🌿 Pots with plants on the floor (often perceived as obstacles)

❌ Don't touch:

  • πŸ›‹οΈ Large furniture (sofas, cabinets) – it serves as a reference point for scanning.
  • πŸšͺ Doors (their position will help the robot determine the boundaries of rooms).
  • πŸ”Œ Plinths (if not higher than 2 cm)

πŸ’‘ Tip: If there are mirrors or glass surfaces in a room (like a coffee table), cover them with a cloth. Optical sensors can get confused due to reflections, and LiDAR can perceive them as passageways in the wall.

πŸ“Š What kind of robot vacuum cleaner do you have?
Xiaomi Mi Robot Vacuum-Mop 2/2 Pro
Dreame D9/D10
Viomi V2/V3
Another Xiaomi model
Another brand's robot

2.The first run: how to build a map correctly

The scanning process starts automatically when you first turn on the vacuum cleaner, but there are nuances that affect the quality of the map.

πŸ”Ή Step 1 Charging to 100%

Before the first run, fully charge the robot (the base indicator should be green). Models with LiDAR (for example, Mi Robot Vacuum-Mop 2 Pro) can start scanning with a low charge, but interrupt the process for recharging, which will lead to a fragmented map.

πŸ”Ή Step 2. Installation of the base

Place the charging station so that:

  • πŸ”Œ The sides of the wall were β‰₯0.5 m free.
  • 🚫 It was not exposed to direct sunlight (this interferes with IR sensors).
  • πŸͺŸ There were no reflective surfaces (mirrors, glass) within a radius of 1.5 m.

πŸ”Ή Step 3: Start the scan

  1. Press the Power button on the robot body (or in the Mi Home app).
  2. Select Cleanup mode (not Zone or Point mode).
  3. Wait until the robot goes around the room and returns to base.

β˜‘οΈ Preparation for the first scan

Done: 0 / 5

⚠️ Warning: If Xiaomi's robot starts to ram around the room instead of routinely traversing it, it probably won't recognize the base as "home." Reboot it (hold the Power button for 10 seconds) and repeat the scan.

3. Typical scanning errors and how to fix them

Even if you're prepared correctly, the map can be distorted, and let's look at the most common problems and their solutions.

Problem.Possible causeDecision
The map is fragmented (not all rooms)Doors were closed during scanning or the robot was discharged.Run a cleanup with open doors or manually transfer the robot to a missed room and wait for it to connect the cards
The rooms on the map "stick together" in oneThere are no clear reference points (for example, interior doors)Add virtual walls in the Mi Home app or temporarily place an obstacle (such as a chair) at the edge of the rooms
The robot is lost and cannot return to base.Weak Wi-Fi signal or base shiftedMove the base to a more open location and restart the scan.
Map distorted (walls curved, disproportionate rooms)Interference from reflective surfaces or bright lightClose the mirrors, turn off the bright lights and rescan the room

Why does a robot draw a map with its feet up?
If the map in the app is displayed inverted, it's not a mistake. Xiaomi robots navigate by base: its position is considered the "bottom point" of the map. To correct the orientation, turn the base on 180Β° and restart the scan.

πŸ”§ Additional advice for LiDAR models:

If your robot is equipped with a laser scanner (Mi Robot Vacuum-Mop 2 Pro, Dreame D9), but the map still turns out to be curved, check the purity of the LiDAR lens (it is under the top cover). Wipe it with a soft napkin without pile - the dust on the lens distorts the scan data.

4.Editing the map in the Mi Home app

Once you've done a successful scan, you can split the map into rooms, add virtual walls or cleanup areas.

πŸ“± Step 1. Save the card

  1. Open the Mi Home app β†’ select your robot.
  2. Go to the Map tab (or Map in English version).
  3. Click Save (floppy icon or checkbox).

πŸ“± Step 2. Division into rooms

  1. Click Edit (pencil in the upper right corner).
  2. Select Add room and circle the boundaries with your finger.
  3. Assign a name (for example, "Kitchen", "Bedroom").

πŸ“± Step 3: Adding virtual walls and zones

  • 🚧 Virtual Walls: Click Add β†’ Wall and draw a line on a map, useful for blocking areas where the robot should not go (for example, near a cat bowl).
  • 🎯 Cleanup Zones: Select an Area, circle the area, and specify the number of passes (e.g., 2 times for highly contaminated areas).

πŸ’‘

If you reset the map after editing, check the firmware version of the robot. In older versions (below 3.5.8) there was a bug with save changes. Update the software through Settings β†’ Update the firmware in the Mi Home app.

⚠️ Warning: If you use a Viomi or Dreame robot, some map editing features may only be available in proprietary apps (Viomi Home or DreameHome). Mi Home often displays stripped-down functionality for these models.

5. Optimization of the map for multi-room apartments

If you have a large apartment (3+ rooms), the robot may lose contact with the base or incorrectly connect maps of different rooms.

πŸ”„ Problem 1: Robot doesn't move from room to room

Decision:

  • Check the height of the thresholds – they should not exceed 2 cm (otherwise the robot will not overcome them).
  • Open all interior doors during the scan.
  • If the door is narrow (less than 60 cm), use the Virtual Wall with the passageway in the middle so that the robot β€œunderstands” that it is a doorway.

πŸ“‘ Problem 2: The map is split (two separate maps of one house appear)

Decision:

  1. Move the robot manually to the "lost" room.
  2. Start cleaning – the robot must connect the cards automatically.
  3. If it doesn’t help, reset the card (Settings β†’ Map β†’ Reset) and rescan the entire apartment.

πŸ”‹ Problem 3: Robots can't reach far-off rooms

Decision:

  • Install an additional base (if the model supports, for example, the Dreame D10 Plus).
  • Use the function Continue cleaning after charging in the settings (included in the Schedule β†’ Additional).

πŸ’‘

For apartments with an area of more than 100 m2, it is recommended to use robots with support for multi-card memory (for example, Xiaomi Mi Robot Vacuum-Mop 2 Pro or Dreame D9 Pro). They can save up to 3-5 floors and automatically switch between cards.

6.Save and transfer the map to the new robot

If you bought a new Xiaomi robot vacuum cleaner or reset your old one, you can move the map so you don't scan the room again.

πŸ“² Method 1: Export/import via Mi Home (for firmware 3.5.9+)

  1. Open the map in the Mi Home app.
  2. Click Settings (βš™οΈ) β†’ Backup card.
  3. Save the file to your phone (it will be in.map format).
  4. Connect the new robot, go to its map settings and select Restore.

πŸ–₯️ Method 2: Manual file transfer (for advanced users)

If there is no backup function:

  1. Connect to the robot using SSH (see 4PDA forums for instructions for your model).
  2. Copy the map file by path /mnt/default/rockrobo/rrmap (for Mi Robot) or /mnt/UDISK/map (for Dreame).
  3. Transfer the file to the new robot in the same directory and reboot it.

⚠️ Warning: Moving the map between different models (e.g., from Mi Robot Vacuum 1S to Dreame D9) can lead to navigational errors, in which case it is better to build the map again.

Frequent questions and decisions

πŸ€– Why does the robot constantly scan the map and not save it?
This is typical of models with optical sensors (without LiDAR), such as Mi Robot Vacuum-Mop Essential. Causes: poor lighting (the robot is guided by visual tags); frequent changes in the interior (repositioned furniture); outdated firmware (update via Mi Home); Solution: Run a scan in daylight or turn on bright light. If the problem persists, use Virtual Walls to fix the boundaries of rooms.

πŸ—ΊοΈ Can I use one card for multiple robots?
Technically yes, but only if: Models are identical (e.g. two Xiaomi Mi Robot Vacuum-Mop 2 Pros). Both robots are connected to the same Mi Home account. To transfer, export the card from one robot and import it to the other (see section 6). However, keep in mind that simultaneous cleaning by two robots on the same card can lead to conflicts (e.g., both will try to remove the same zone).

πŸ”„ How to reset a card if the robot is stuck in a scanning loop?
If the robot is spinning endlessly in place or drawing chaotic lines: Call it to the base with the Home button in the app. Go to Settings β†’ Map β†’ Reset the card. Reset the robot (hold power for 10 seconds). Run a new scan in a well-lit room. If the problem recurs, check the sensors for dirt or physical damage.

πŸ“± Why is the map not displayed in Mi Home?
Possible reasons: The robot didn't complete the first scan (wait until it gets back to base); an outdated version of the app (update Mi Home in the App Store/Google Play); the robot model doesn't support map display (e.g. budget versions without LiDAR); Wi-Fi connectivity issues (check that the robot is online in the app); Diagnostics: Go to Robot Settings β†’ About the program and check the Map status. If it says Unavailable, contact Xiaomi.

🏠 How to build a map for a two-story house?
Xiaomi robots (except flagship models) do not automatically recognize floors. Solutions: Buy two bases (for Dreame D10 Plus or Viomi V3) and set up a separate map for each floor. Use Virtual Walls to block the stairs, and manually transfer the robot between floors. For models with multi-card memory support (for example, Mi Robot Vacuum-Mop 2 Pro), save separate maps for each floor and switch them in the application.