Building an apartment map for Xiaomi robot vacuum cleaner: from preparation to fine tuning

Xiaomi’s robot vacuum cleaners are not just cleaning devices, but real smart assistants that can remember apartment layouts, optimize routes, and even avoid obstacles. However, their effectiveness depends on the quality of the built room map. A misdesigned map can lead to missed areas, chaotic movement, or even damage to furniture. In this article, we will discuss how to build a map of the apartment for Mi Robot Vacuum, Viomi, Dreame and other Xiaomi-based robots to make cleaning as accurate and safe as possible.

Many users face problems: the robot β€œlost” in long corridors, can not see individual rooms or constantly trying to climb under the sofa, most often due to incorrect preparation of the room or errors in the settings of the application. We will tell you how to avoid typical errors, configure virtual walls and cleaning areas, and what to do if the map is built with distortion. Z10 Pro) and budget options with optical sensor.

If you’ve just purchased a Xiaomi robot vacuum cleaner or want to improve your existing one, this guide will help you understand everything from the preparation of your apartment to the fine-tuning of the Mi Home or Dreamehome app, starting with the most important thing: what you need to do before you start the first run so that the robot can build an accurate map the first time.

1. Preparation of the apartment before the construction of the map

Errors in the preparation phase are the main reason why Xiaomi’s robot vacuum cleaner builds a map with distortions or refuses to save it at all. Before the first launch, you need to eliminate all factors that can interfere with a laser or optical scanner.

First, remove all the small objects from the floor: wires, toys, slippers, fringed mats, the robot can catch on to them or mistake them as an obstacle, which will distort the contours of the room. Pay special attention to transparent or mirrored surfaces - glass tables, mirrors on the floor or glossy tiles can blind the LiDAR sensor, which simply does not show part of the room on the map.

Second, check the lighting. Although Xiaomi robots with LiDAR (e.g. Mi Robot Vacuum-Mop P) are operating in the dark, the optical models (Mi Robot Vacuum) are operating in the dark. 1C, Viomi V2) Avoid direct sunlight on the floor, which creates sharp shadows that sensors perceive as walls.

It is also important to close the doors to rooms that the robot does not need to enter (such as a bathroom or balcony), and if the door is opened, the device will try to enter and may get stuck trying to map a non-existent space.

⚠️ Note: If there are no fenced stairs in the apartment, be sure to install physical barriers or virtual walls in the application. Xiaomi robots do not recognize height differences greater than 1-2 cm and may fall!

  • 🧹 Remove from the floor: wires, shoes, toys, rugs with a long pile.
  • πŸ”¦ Lighting: uniformly scattered light (without direct sunlight).
  • πŸšͺ Doors: Close access to rooms not needed for cleaning.
  • πŸͺŸ Transparent obstacles: glass tables or mirrors on the floor can "disappear" for LiDAR.
πŸ“Š What type of robot vacuum cleaner Xiaomi you have?
With LiDAR (laser scanner)
With an optical sensor
Hybrid model (LiDAR) + camera)
I haven't bought it yet.

2. First start and build the map: step-by-step instructions

Once the room is ready, you can start building a map, and the important thing is that the first launch should be done in full cleaning mode, not point mode, so that the robot can fully examine the apartment and maintain the exact contours.

Turn on the robot and wait until it starts to emit an audible signal (or flash an indicator).

  1. Run the cleaning through the app (Mi Home, Dreamehome or Viomi) and select "Full Clean" or "Mapping" (if any).
  2. Don't get in the way. Don't lift the robot up or move it manually, it'll reset the mapping.
  3. Follow the route. The app shows the trajectory of the movement. If the robot is long "walking around" or skipping rooms, then there is interference (see section 1).
  4. The complete map can take anywhere from 20 minutes to 1.5 hours (depending on the area of the apartment).

Once the cleaning is complete, the robot will return to base and store the map in memory, and the app will show it in the "Map" or "Plan of the room" section. If the map is crooked or not completely constructed, do not panic - it can be edited manually (this is discussed in section 4).

Critical error: If the robot didn't save the map after the first run, check the firmware version. Outdated software can block the save function. Update the robot through the application (Settings) β†’ Firmware update).

Removed all small objects from the floor|

Closed doors to unnecessary rooms|

Lighting without direct sunlight|

The robot is on the base and connected to Wi-Fi|

The appendix selects the "Full cleaning" mode"-->

3. Typical errors in map construction and how to fix them

Even with the right training, a robot can build an error map, and let's look at some of the most common problems and how to solve them.

Problem 1: The map is not fully built (rooms are missing).

βœ… Decision:

  • Check if the doors to the missing rooms are closed.
  • Make sure that these rooms have enough lighting (especially for optical models).
  • Launch the robot from another point (for example, from the center of the apartment, not from the base).

Problem 2: The map is distorted (curve walls, irregularly shaped rooms).

βœ… Decision:

  • Check if there are any objects in the room that reflect the laser (mirrors, glossy furniture).
  • Restart the map construction manually (Settings) β†’ Reset the card).
  • Update the firmware of the robot – in new versions, the LiDAR data processing is improved.

Problem 3: The robot doesn't save the card after cleaning.

βœ… Decision:

  • Check your Wi-Fi connection – without internet, the card won’t sync with the app.
  • Reset the robot settings to factory (Settings) β†’ Reset) and repeat construction.
  • Make sure the app has enabled the β€œSave Card” function (some models have it disabled by default).
Problem.Possible causeDecision
The map is not saved.Weak Wi-Fi signalMove the router closer to the robot base
Rooms merge into oneThere are no clear boundaries (for example, an arch instead of a door)Add virtual walls to the app
Robot 'lost' in corridorLong narrow corridor without reference pointsPlace small landmarks in the corridor (for example, a tablet)
The map takes too long to build.Weak battery.Charge the robot to 100% before launch

πŸ’‘

If the robot is constantly "stuck" in one place while building a map, put a piece of paper on this place - so you temporarily block the problem area and can finish the map, and then edit it manually.

4. Editing the map in the annex: zones, walls and tags

Once the robot has built the base map, it can and should be edited for more accurate cleaning, and the Mi Home, Dreamehome, or Viomi apps have tools for marking zones, adding virtual walls, and assigning rooms.

How to divide the map into rooms:

  1. Open the "Map" section in the appendix.
  2. Click on the Edit icon (usually a pencil or icon "+").
  3. Select the tool "Separate rooms" and draw lines along the boundaries of the premises.
  4. Name each room (e.g., "Kitchen", "Bedroom") for ease of navigation.

How to add virtual walls and zones:

  • 🧱 Virtual walls – block the robot from accessing certain areas (for example, to the bowl of an animal).
  • 🟦 Cleaning areas – highlight areas that need to be cleaned more often (for example, near the front door).
  • 🚫 No-go zones – completely exclude the robot from dangerous places (stairs, balconies).

Example of cleaning zone settings:

1. On the map, highlight a rectangle around the sofa.


2. Select the option "Clean here more often".




3. Set a schedule (for example, daily at 18:00).

⚠️ Note: Virtual walls in Xiaomi work only when the robot connects to Wi-Fi. If the Internet goes down, the robot will ignore all restrictions!

How to transfer the card to another Xiaomi robot?
If you have replaced the robot vacuum cleaner with a new model, the old card can be transferred through the Mi Home: 1 cloud. In the old model, export the card (Settings) β†’ Export the card. 2 In the new model, import the file through the same section. ⚠️ This only works for models with the same type of navigation (LiDAR). β†’ LiDAR).

5. Optimizing the map for complex layouts

If your apartment has a non-standard layout (multi-level ceilings, columns, open areas), the Xiaomi robot vacuum cleaner may need additional adjustment.

For apartments with several levels (steps, podiums):

  • πŸͺœ Use physical limiters (such as sleeves) for areas with a height difference of more than 2 cm.
  • πŸ“ In the application add virtual walls with a margin of 10-15 cm from the edge of the step.
  • πŸ”„ If the robot still tries to climb the podium, increase the sensitivity of the sensors in the settings (Parameters) β†’ Sensors. β†’ Sensitivity to obstacles).

For studios or apartments without doors (open layout):

  • πŸ›‹οΈ Place small landmarks (tubes, colored mats) in the transition zone between the "rooms" - this will help the robot recognize the boundaries.
  • 🎨 Manually divide the card in the app, even if there are no physical walls.
  • πŸ”„ Start the robot to build a map from different points (for example, first from the base, then from the center of the apartment).

For apartments with large mirrors or glass partitions:

  • πŸͺž Glue the bottom of the mirrors with matte film (up to a height of 30-40 cm) – this will prevent LiDAR β€œblinding.
  • πŸ“ Add physical labels next to glass surfaces (such as small stickers on the floor).

πŸ’‘

For robots with LiDAR (e.g. Mi Robot Vacuum-Mop 2 Pro), the main thing is the lack of reflective surfaces. V2) More sensitive to lighting and contrast on the floor.

6.Save and backup card

The map of the apartment is stored in both the robot memory and in the Xiaomi cloud, but when you reset or change the device, it can be lost. To avoid building the map from scratch, we recommend you create a backup.

How to save the card manually:

  1. Open the Mi Home app (or analogue for your model).
  2. Go to the "Map" section" β†’ "Map settings".
  3. Select the option "Export card" or "Backup".
  4. Save the file to your phone or to the cloud (like Google Drive).

How to restore the map:

  • If the robot resets, import the saved file through Settings β†’ Import of cards".
  • When you replace the robot with a new model of the same series (for example, Mi Robot Vacuum-Mop 2 on Mi Robot Vacuum-Mop 2 Pro), the map can be transferred through the Mi Home cloud.

⚠️ Note: Maps from robots with different types of navigation (LiDAR and optical sensor) are incompatible! Z10 Pro (LiDAR) cannot be transferred to Viomi V2 (optics).

Action.Where the map is storedDo I need backups?
Firmware updateIt's still there.No.
Resetting robot settingsRemoved.Yes.
Replacing the robot with a new modelDepends on the model.Yes (if the models are compatible)
Reinstallation of the annexIt's stored in the cloud.No.

7. Advanced settings: multicards and cleaning schedule

If you have multiple floors or the robot is used in different apartments, you can configure multicards. This feature is available in most Xiaomi models with LiDAR (for example, Mi Robot Vacuum-Mop 2 Pro, DreameBot, etc.). Z10 Pro).

How to add a second card:

  1. Move the robot to another floor and place it on the base.
  2. In the app, select "Add a new card" (usually in the "Map" section).
  3. Start a complete cleaning to build the map.
  4. Name the map (e.g., "2nd floor") and save it.

Now, the robot will automatically recognize which floor it is on and use a map to do so, analyzing unique landmarks (wall layouts, furniture) when starting from the base.

Set up a cleaning schedule by map:

  • πŸ•’ You can program cleaning on different floors at different times, like 1st floor: 10:00 daily. 2nd floor: Mondays and Thursdays at 14:00.
  • πŸ“ For each card, customize your cleaning areas, such as in the kitchen, you can increase the cleaning frequency, and in the bedroom, you can reduce the cleaning frequency.

Compatibility of multicards with Xiaomi models:

ModelSupport for multicardsMax. Number of cards.
Mi Robot Vacuum-Mop 2 ProYes.5
DreameBot Z10 ProYes.10
Viomi V3Yes.3
Mi Robot Vacuum 1CNo.β€”

πŸ’‘

If the robot is confusing floors, add a unique landmark to each floor, such as a small rug with different colors at the base, which will help LiDAR to identify the location faster.

8. Update the map and eliminate the "drift"

Over time, the map can become obsolete β€” for example, if you rearrange furniture or add new items, in which case the robot will start to "lose" or face obstacles, updating the map solves this problem.

When to update the map:

  • After the furniture was rearranged.
  • If the robot has started to encounter obstacles that were not there before.
  • After the base is replaced (the robot may misdetect the starting point).

How to update the map:

  1. In the app, select "Update map" or "Rebuild map".
  2. Run the robot to clean it up.
  3. After completion, make sure that all changes (new furniture, partitions) are displayed.

What is a "drift" card and how to fix it:

Drift is a gradual shift in the map relative to the actual position of the furniture, due to the accumulation of navigation errors (for example, if the robot often encounters obstacles or slides on a smooth floor).

How to eliminate drift:

  • 🧲 Recalibration: Some models (e.g. DreameBot) have a "Sensor Calibration" feature in the settings.
  • πŸ”„ Map reconstruction: Remove the old map and run the robot on a new scan.
  • πŸ“ Add landmarks: Place small magnetic tags on the floor (sold with some models).

⚠️ Attention: If drifting happens regularly, check the condition of the robot's wheels. Dirt or wear of rubber can lead to slippage and navigation errors. Clean the wheels with alcohol and check their rotation.

FAQ: Frequent questions about building a map for Xiaomi robot vacuum cleaners

Can I build a map without Wi-Fi?
Yes, the robot will build a map and navigate it, but it won't save it in the app, it will only be stored in the device's memory and reset when you update the firmware or reset the settings. Wi-Fi is mandatory for full use (virtual walls, schedule).
Why can't the robot see some rooms?
This could be due to: Closed doors while mapping; too dark lighting (for optical models); reflective surfaces (mirrors, glossy tiles) that blind LiDAR; Solution: restart map construction with these factors in mind.
How to transfer the map to a new robot?
This is only possible if: Both models have the same navigation type (LiDAR). β†’ Both models support the export/import function (check in the application settings). Instruction: Export the card from an old robot (Settings β†’ Export the card. Import it to the new device through the same section.
How long does it take to build a map?
Time depends on: apartment area (average 1-2 hours per 100 m2), complexity of planning (many rooms, corridors, obstacles). Robot type: models with LiDAR build a map faster than optical ones (>3 hours), check: Battery charge (should be β‰₯50%) No interference (wires, dark corners).
Can I use a single card for multiple robots?
No, every robot has to build a map, and even if the models are identical, the differences in the sensors lead to differences in navigation, except if you clone the settings through the cloud (only available for some Dreame models).