How to draw a map of an apartment for a robot vacuum cleaner Xiaomi: from scanning to saving zones

Xiaomi vacuum cleaners are not just gadgets for the lazy, but smart assistants that can navigate in space on their own. However, their effectiveness depends on the quality of the map of your apartment. If the robot mismaps the walls, misses rooms or constantly β€œlost” in the hallway, the problem lies in an inaccurate map. In this article, we will discuss how to create the perfect map for models Mi Robot Vacuum-Mop 2 Pro, DreameBot D9, Viomi V3 and others, so that the vacuum cleaner is quickly, without errors and unnecessary β€œcircles” in the apartment.

You'll learn how to prepare a room for scanning, what settings in the Mi Home app affect the accuracy of the map, and what to do if the robot stubbornly "cannot see" furniture or doors, and how to trick the algorithm if your apartment has a complex layout with arches, mirrors or glass partitions, which are not described in the official instructions, but are tested by users in practice.

1. Preparation of the apartment: what to remove and what to leave

Before the robot is first launched, it is necessary to minimize the interference that distorts the laser or optical scans, and to start with the obvious: remove anything that can interfere with movement from the floor - wires, shoes, children's toys, but there are also less noticeable details that many people forget:

  • πŸͺž Mirrors and glass surfaces: Xiaomi’s laser rangefinder (LiDAR) in robots can be β€œmisleading” by bouncing off glossy surfaces.
  • πŸ’‘ Lighting: for models with cameras (e.g. DreameBot) Z10 Pro) uniform lighting is important. Avoid harsh shadows from chandeliers or sunlight.

Pay special attention to transparent obstacles: glass tables, aquariums or stained glass windows. The robot will not see them and may collide. If you can not remove them, use Virtual Walls in the Mi Home application (Map section β†’ Add β†’ Virtual Wall).

⚠️ Warning: If the apartment has carpets with a high pile (more than 1.5 cm), the robot may get stuck. Either replace them with short-tailed ones, or adjust the avoidance zones in the application.

πŸ“Š What kind of robot vacuum cleaner you have?
Xiaomi Mi Robot Vacuum-Mop 2 Pro
DreameBot D9/D10
Viomi V2/V3
Another Xiaomi
Not Xiaomi.

First run: How a robot creates a map

Now, the algorithm is the same for most Xiaomi models, but there are nuances depending on the type of navigation:

  • πŸ”¦ LiDAR navigation (laser): used in Mi Robot Vacuum-Mop 2 Pro, DreameBot D9. Or, more precisely, it can β€œblind” on dark surfaces.
  • πŸ“· Camera. + gyroscope V3, DreameBot Z10 Pro. Works worse in the dark, but better at recognizing textures.
  • πŸ“‘ Ultrasonic sensors: budget models like Mi Robot Vacuum 1S. The map is approximate.

Step-by-step instructions for the first start:

  1. Install the robot at the charging station in the center of the room (not in the corner!).
  2. Turn it on and wait for the Wi-Fi connection (the indicator should burn blue).
  3. In the Mi Home app, select the device and tap Clean β†’ Start.
  4. The robot will spiral, gradually increasing the radius, and do not interrupt the process, even if it seems long (the first scan can take up to 30-40 minutes).
  5. When completed, a black card will appear in the app. Save it (Save the map in the menu).

If the robot hasn't finished the map (e.g., missed a room), return it to base and start cleaning again. Sometimes it takes 2-3 attempts for the algorithm to "understand" the layout.

πŸ’‘

To speed up the scan, temporarily open all the doors in the apartment, so the robot can "look" into each room without stopping.

3. Map Editing: Division into Rooms and Zones

A raw map created by a robot is rarely perfect, and most often, manual adjustments are required.

  • 🏠 Dividing into rooms: click Edit the map β†’ Separate rooms and draw lines along the contour of the walls.
  • 🚫 Avoidance zones: Designate areas where the robot should not drive (e.g., near a cat bowl or flower pots).
  • 🧹 Intensive cleaning areas: kitchen, hallway - here you can increase the suction power.

For precise separation, use the β€œLine” mode in the application (the ruler icon in the editing menu), which will help to draw flat walls if the robot scanned them curved.

The problem on the mapPossible causeDecision
Walls are "wavy"Interference from mirrors or glass surfacesCover mirrors with fabric, rescan
Room missedThe door was closed during the scan.Open the doors, start the scan again.
Robot "paints" extra wallsFurniture with legs (chairs, tables)Lifting up furniture or adding avoidance zones
Map shifted relative to realityThe robot started scanning from a base other than the base.Reset the card and start again from the charging station

If the layout of the apartment is too complex (many corners, arches, columns), break it up into several maps, for example, save a map for the bedroom and living room separately.

All floor interference removed.|Doors are open or closed completely|Mirrors and glass are closed.|Robot begins scanning from base|Map checked for wall accuracy-->

4.Trouting optimization: how to get the robot to clean more efficiently

Even with a perfect map, a robot can waste time if the cleaning routes are not configured.

  • πŸ”„ Type of cleaning: Zigzag is suitable for large open spaces (living room); along the walls, for narrow spaces (corridor, bathroom); Spiral - if you want to remove garbage in the center of the room.
  • πŸ“ Passage width: for models with LiDAR, you can set the distance between the cleaning lines (optimally - 20-25 cm).
  • πŸ”‹ Suction power: on carpets increase to the maximum, on the laminate will be enough Middle.

To save time, adjust your cleaning schedule to your schedule, for example, if no one is home during the day, program the robot to clean at 12:00, when sunlight does not interfere with the cameras, but night cleaning (22:00-6:00) may be less accurate due to lack of lighting.

Professional life hack: If the robot is stuck in one place (like the couch), draw a zone of avoidance slightly wider than the real obstacle, and the algorithm will bypass the area on a more optimal trajectory.

How to fool a robot if it can’t see a glass door?
Create a virtual wall 5 to 10 cm in front of a real door, and the robot will perceive it as a physical obstacle and will not try to "run" through the glass, a trick that works for aquariums and stained glass partitions.

5 Common mistakes and how to fix them

Even experienced users face problems when creating a map.-5 errors and ways of solving them:

  1. The reason the robot didn't return to base or sat down during the scan, so you can charge it to 100 percent and repeat the process.
  2. The robot loses the card after the update Reason: reset the settings in the new firmware. Solution: check the version of the software in Settings β†’ About the device and if necessary, resave the card.
  3. The reason the robot started the scan off base or moved it manually is because you reset the map (Settings β†’ Reset the map) and start over.
  4. The robot can't see new furniture. The reason the map is outdated. Solution: manually update it (Edit β†’ Update the map).
  5. The map is smeared after the robot moves, the reason: the change in the magnetic field (for example, if the robot was standing next to the speakers). Solution: Calibrate the compass (Settings β†’ Calibration).

⚠️ Warning: If you move the charging station to a new location, the robot may forget the old card, in which case you have to recreate it. To avoid this, use Multicard Mode (if supported by your model).

If none of these things worked, try resetting the robot to the factory settings (Settings β†’ Reset). This is a last resort, but sometimes it solves navigation problems.

6 Advanced settings: virtual walls, invisible zones and multi-maps

For users who want to squeeze the maximum out of the robot, there are hidden features that are not written in the instructions:

  • 🧲 Invisible Zones: If the robot stubbornly ignores a section of the floor (for example, under the bed), draw a Cleanup Zone there and check the box Only this area.
  • πŸšͺ Virtual doors: In some firmware, you can create a door between rooms so that the robot doesn't move between them without a command.
  • πŸ—ΊοΈ Multi-storey cards: If you have a bunk apartment, save separate maps for each level.The robot will automatically switch between them (a feature available in Mi Home version 6.0)+).

For Yandex-enabled Alice models or Google Assistant, you can set up voice control of the zones, such as saying, "Alice, start cleaning the kitchen." To do this, enter room names in the integration settings exactly as you would on the map.

Expert advice: if the robot often β€œgoes crazy” in one room (for example, in a bathtub with tiles), try to turn off the camera and leave only LiDAR. To do this, in the engineering menu (access by pressing the power button 5 times), select Sensor β†’ Camera Off.

πŸ’‘

The ideal map is not one that exactly repeats the layout, but one that allows the robot to clear as quickly as possible and without errors. Sometimes it is better to slightly distort reality (for example, "expand" the passages on the map) to optimize the route.

7 Update and support the map up to date

A map is not a static object. If you rearrange furniture, add new objects, or even just move the carpet, the robot can start to get mixed up. Here's how to keep the map up to date.

  • πŸ”„ Regular update: every 1-2 months, run the robot in Scan (no cleaning) mode so that it updates the data.
  • πŸ“² Manual editing: if the robot β€œdid not notice” new obstacles, manually adjust the map in the application.
  • πŸ”‹ Sensor calibration: After falling or hitting the robot, the gyroscope may be knocked off. Calibrate in Settings β†’ Sizing.

If you change the charging station or move it to another location, the robot can get lost.

  1. Set the station up to a new location.
  2. Launch the robot in Back to Base mode.
  3. If it doesn't find the station, manually move it there and press Save Base Location.

For models with auto-update maps (for example, DreameBot D10 Plus), it is enough to enable the option Auto-update map in the settings.

FAQ: Answers to Frequent Questions

πŸ€– Can I use one card for multiple Xiaomi robots?
No, each robot creates a custom map attached to its sensors, but you can export the map from one device and upload it to another (if the models are identical). β†’ Export card (not available in all regions).
🏑 The robot doesn't draw walls right -- they're curved?
This is a typical problem when scanning in rooms with marble floors or metal objects (they distort the LiDAR signal). Try: Cover metal surfaces with a cloth. Run scans under different lights. Manually correct the walls in edit mode (use a ruler).
πŸ”Œ The robot doesn't return to base after cleaning up?
There are several reasons: the base is moved β€” return it to its original place. There is an obstacle on the way to the base (for example, a closed door); weak Wi-Fi signal β€” the robot loses contact with the base; battery is dead β€” check if the battery dies prematurely. If the problem repeats, reset the map and create it again.
πŸ“± How to transfer the card to a new phone?
The card is stored in the Xiaomi cloud, so when you change your phone: Sign in to Mi Home under the same account. Add the robot to the application (Add device β†’ Robot vacuum cleaner). The card will pull up automatically. If not, check if sync is enabled in your account settings. If the card does not appear, try manually exporting it from your old phone (via Settings β†’ Export) and importing it to a new one.
πŸ› οΈ Can a robot be repaired if it stops seeing the map?
If the robot has lost the map completely and cannot recover it, the problem may be: LiDAR sensor (contaminated or damaged) β€” wipe it with a soft cloth; gyroscope β€” requires calibration or replacement; firmware β€” update the software to the latest version; If self-repair did not help, contact the service center. The cost of replacing LiDAR for Xiaomi is from 2,000 to 5,000 rubles.