Building maps 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 the layout of your home, but their effectiveness depends on the quality of the maps they build. If the map is not made correctly, the vacuum cleaner will move around randomly, skip areas or waste time cleaning the same areas again.

Many users face problems: the robot β€œlost” in spacious rooms, does not see obstacles or ignores virtual walls, often due to errors in the first construction of the map or the wrong settings in the Mi application. Home/Xiaomi In this article, we will discuss the entire process - from the preparation of the room to save and edit maps, and also consider the nuances for different models (Mi Robot Vacuum-Mop). 2 Pro, DreameBot Z10 Pro, Viomi V3 etc.).

Particular attention will be paid to the typical errors that spoil the maps: for example, the use of black or mirror surfaces during the first run can lead to a failure of the laser rangefinder (LDS), You'll also learn how to get around the limitations of low-end models without laser navigation (such as Mi Robot Vacuum-Mop Essential), which build maps using a gyroscope and camera.

If you just bought a robot vacuum cleaner or want to recreate the map after moving, this guide will help you avoid common problems and automate cleaning as much as possible.

1. Preparation of premises before the construction of the map

The first launch of a robot vacuum cleaner is a critical step, and if the room is not prepared, the map will be distorted and difficult to correct later on.

Remove all the small objects from the floor: wires, toys, shoes, and a robot can grab onto them or mistake them for an obstacle, which will distort the contours of rooms (LDS), If there are foreign objects in the way, the algorithm will miscalculate the distances.

Close the doors to rooms that don't need to be cleaned, such as a bathroom or balcony, and this helps the robot focus on the main areas and not spray into unnecessary areas. If the doors are open, the vacuum cleaner can start building maps for multiple rooms at once, leading to overlapping contours.

Provide good lighting. Although laser rangefinders work in the dark, the camera (if it is in the model) can malfunction in low light. The optimal level is in daylight.

  • πŸ”Œ Turn off the infrared sources: heaters, fireplaces, direct sunlight. LDS-sensory.
  • πŸͺŸ Close the curtains on the windows if there is bright sun outside. The reflected rays can blind the sensors.
  • πŸšͺ Check the height of the thresholds. If they're above 2 cm, the robot won't get past them, and the map will break into fragments.
  • πŸ–ΌοΈ Remove carpets with fringe or high pile. They can block sensors or confuse brushes.

⚠️ Attention: If you have pets in your house, you should isolate them while you're building a map, and cats or dogs can interfere with the robot's movement, and their hair can clog the sensors.

2. Selection of map construction mode

Depending on the model of the robot vacuum cleaner Xiaomi available different ways to create a map, the main ones are:

Automatic mode (recommended for most users) The robot walks around the room, cleans and remembers the layout at the same time. LDS (Mi Robot Vacuum-Mop 2 Pro, DreameBot D9) and vSLAM (Viomi) V3). In this mode, it is important not to interrupt the process - if the battery runs out, the card may be stored incompletely.

Quick scan mode (available in some firmware); the robot moves faster than usual, not removing, but only making a map; Suitable if you need to quickly update the layout after rearranging the furniture; minus less accurate contours of rooms.

Manual mode (for models without laser navigation, for example, Mi Robot Vacuum-Mop Essential) maps are built using a gyroscope and odometry (counting wheel speeds), accuracy is lower, but you can improve the result by helping the robot to bypass all key points in the room.

Type of navigationXiaomi modelsMap accuracyTime for constructionFeatures
LDS (laser)Mi Robot Vacuum-Mop 2 Pro, DreameBot Z10 Pro⭐⭐⭐⭐⭐15-30 minutesThe most accurate method, works in the dark
vSLAM (camera)Viomi V3, Mi Robot Vacuum-Mop 2 Lite⭐⭐⭐⭐20-40 minutesRequires good lighting, is sensitive to reflections
Gyroscope + odometryMi Robot Vacuum-Mop Essential, Mi Robot Vacuum 1S⭐⭐⭐30–60 minutesLow accuracy in large areas, requires manual adjustment

For models with LDS It is recommended to use automatic mode with cleaning, so the map will be as detailed as possible. Z10 Pro, it can build a single map for multiple rooms, even if there are thresholds up to 2 cm between them.

πŸ“Š What type of navigation your robot vacuum cleaner has?
LDS (laser)
vSLAM (camera)
Gyroscope/odometry
I don't know.

3. Step-by-step instruction: how to build a map

Consider the Mi Robot Vacuum-Mop 2 Pro model with laser navigation. For other devices, the steps may differ slightly.

Step 1: Install the robot on the charging station and make sure it is fully charged (at least 80%), connect it to Wi-Fi and sync with the Mi Home or Xiaomi Home app.

Step 2. In the application, go to the robot section and select Map β†’ Create a new map. If you don't have an option, click Settings. β†’ Resetting the card.

Step 3: Start cleaning in Full Cleaning mode (not Zone or Point) and the robot will spiral in, gradually covering the entire room.

Step 4: Follow the process in real time through the app, and if the robot gets stuck or misses the area, you can manually move it to the problem area.

Step 5: Once you have finished cleaning, the map will be saved automatically, and check for errors: overlapping contours, holes in walls, or missing rooms.

Small objects removed from the floor |

Closed doors to non-cleaning rooms|

IR sources turned off|

Robot charge β‰₯ 80%|

Selected "Full cleaning" mode"-->

⚠️ Warning: If the robot interrupts the map construction due to a discharge, don’t restart the process immediately. Wait for full charging (100%), otherwise the new card may overlap the old one, creating duplicate zones.

4. Map Editing and Optimization

Even if the map is built correctly, it often needs to be redesigned, divided into rooms, added virtual walls or no-go zones, and you can do this in the Mi Home app:

Divide into rooms. Click on the map, then select Edit β†’ Add a room. Finger around the contour of the room, which will help you adjust different cleaning modes for different areas (for example, more intensive cleaning in the hallway).

Add virtual walls. If the robot drives into unwanted places (like a bowl of animal food), draw a virtual wall: Edit β†’ It's a virtual wall. It's going to work forever until you remove it.

No-go zones. Unlike virtual walls, no-go zones are temporary, and you can set them up for a certain time (e.g., only during the day), useful if there are things in the zone that you can't touch.

Map integration: If the robot has built separate maps for different floors, you can manually combine them (in new firmware). β†’ Combine the cards and select the right ones.

  • πŸ“ Scaling the map. If the actual dimensions of the rooms don't match the map, calibrate it: measure the wall length in meters and compare it to the map in the app. If necessary, adjust the scale in the settings.
  • πŸ”„ Reset the card. If there are too many errors, it's easier to build the map again. β†’ Reset the map and launch the robot from scratch.
  • πŸ“± Export/import card. In some firmware, you can save the card to a file and upload it to Later, which is useful when you move or change the robot to a similar model.

πŸ’‘

If the robot is constantly "lost" in the same area, put a beacon (for example, a small glowing object) there, which will help the sensors to better navigate.

5. Typical errors and their correction

Even with the right preparation, the map can be poor quality, and we'll look at some of the most common problems and ways to solve them.

Problem 1: The map is built in fragments.

The reason: the robot can’t get through the doorways or the doorways, so it creates maps for each room.

Decision:

  • Make sure the thresholds are no higher than 2 cm (for most models).
  • Use the transitional framework for high thresholds.
  • Manually combine the cards in the app (if the function is supported).

Problem 2: The robot will go blind in certain places.

Reason: interference to LDS-sensors (mirrors, glass, black surfaces) or strong light sources.

Decision:

  • Glue mirrors and glass surfaces with matte film.
  • Change the angle of light exposure (for example, close the curtains).
  • Add a physical landmark to the problem area (for example, a bright mat).

Problem 3: The map is distorted after the robot is restarted.

Reason: a failure in the memory of the device or a conflict with firmware.

Decision:

  • Update the robot firmware to the latest version.
  • Make a reset of settings (Settings) β†’ Reset to factory).
  • Build the map again.
What if a robot ignores virtual walls?
Sometimes virtual walls don't work because of an app failure. Try: 1. Remove and repaint the wall. 2. Reboot the robot (turn off and on the case button). 3. Update the Mi Home app to the latest version. If the problem persists, check if the wall is in conflict with the no-go zone (they should not be superimposed).

6.Save and transfer cards to other devices

If you change the robot vacuum cleaner to a new model or you move, you can move the map so you don't have to build it again, but it doesn't work for all devices.

For models with the same firmware (for example, Mi Robot Vacuum-Mop 2 Pro) β†’ Mi Robot Vacuum-Mop 2 Ultra):

  1. Export the card through Settings β†’ Export card (file with.map or.json extension).
  2. Connect the new robot to the same Mi Home account.
  3. Import the card file in the settings of the new device.

For different models (for example, DreameBot) D9 β†’ Viomi V3):

Direct transfer is not possible because of the differences in navigation algorithms.

  • Take a picture of an old map and manually reproduce its outlines on a new robot.
  • Use third-party tools (such as Valetudo) to convert the card format (technical skills are required).

⚠️ Warning: When you transfer a map to another robot, check firmware compatibility. If the software versions are very different, the map may not load or work correctly.

πŸ’‘

Export cards are not available in all regional versions of the firmware. If the option is not on the menu, try changing the region of your Mi Home account to China Mainland (with the risk of losing warranty).

7. Optimizing the map for efficient cleaning

A good map is not just about having the right contours, it's about setting up the cleaning areas, and here's how to automate the process as much as possible.

You can set the schedule by room, you can set different cleaning times for each room, for example:

  • Kitchen - daily at 10:00 (intensive mode).
  • Bedroom - every other day at 14:00 (quiet mode).
  • Corridor - 3 times a week at 18:00.

Use high-traffic areas. In the app, mark the areas where you walk most often (such as near the sofa or table), and the robot will remove them first.

Wet cleaning settings: For models with floor washing function (Mi Robot Vacuum-Mop 2 Pro), you can specify:

  • The level of humidification (low / medium / high).
  • Areas where washing is prohibited (such as carpets).
  • The sequence of cleaning (first vacuum cleaner, then mop or vice versa).

Automatic floor division. If you have a two-storey house, some models (DreameBot) Z10 Pro) support automatic switching between floor maps when placed on different bases.

FunctionWhat do you need?How to set up
Room schedulesDifferent cleaning frequency for different areasMap. β†’ Schedule β†’ Add a challenge
High-traffic areasPriority cleaning of frequently used areasMap. β†’ Edit β†’ Add a zone
Banning wet cleaningExclusion of carpets and sensitive coatingsMap. β†’ Edit β†’ No-go zones
Auto-department of floorsConvenience in multi-storey housesRequires 2 bases and function support (check in Settings) β†’ Maps)

8. Frequent questions and answers

Can I build a map without the Mi Home app?
Yes, but with limitations, some models (like the DreameBot with Valetudo firmware) allow you to manage maps via a web interface, and you can also use third-party applications like Home Assistant with integration through the Internet. MQTT. However, for most users, the official application remains the most convenient option.
Why doesn’t the robot save the card after it’s turned off?
This is a typical problem for models with gyroscopic navigation (for example, Mi Robot Vacuum-Mop Essential). Such robots do not have a permanent memory for maps and build them again every time they turn on. Solutions: Update the firmware (new versions may include support for saving). Use virtual walls and no-go zones to make navigation easier. Consider switching to a model with a new model. LDS vSLAM.
How to build a map for a robot without a laser (for example, Mi Robot Vacuum-Mop Essential)
For models without LDS It's more complicated, but it's possible: Run the robot in perimeter cleaning mode (Wall Cleaning). Manually move it to different corners of the room so it can "remember" key points. Repeat the process 2-3 times to improve accuracy. Use magnetic tapes or virtual walls to mark boundaries. The accuracy of such a map will be lower, but for small apartments it will be enough for basic navigation.
What if a robot confuses the room after rearranging the furniture?
Furniture rearrangement is one of the most common causes of map failures. Solutions: Update the map: run the robot in Full Cleanup mode so that it can rescan the room. Manually adjust the contours: move the walls in the app or add new ones. Use beacons: put bright landmarks in key places (such as colored mats); If the changes are global (such as a wall is demolished), it is easier to build the map again.
Can I use a single card for multiple robots?
Technically, yes, but with reservations: the card can only be exported and imported between identical models with the same firmware. For different models (for example, Xiaomi and Dreame), the transfer is impossible due to differences in algorithms. When importing the card to another robot, manual adjustment (scale, location of the base) may be required.