How to create a map of an apartment for a robot vacuum cleaner Xiaomi: from scanning to fine-tuning

Xiaomi's robot vacuum cleaners are not just automatic cleaning devices, they're real smart assistants that can remember the layout of your home, but their effectiveness depends on the quality of the map you create. V3 Dreame Bot moves around the apartment randomly, skips zones or is constantly stuck - the problem is most likely in the incorrect map.

Creating an accurate map requires not only proper scanning, but also an understanding of the principles of laser operation (LDS) visually (VSLAM) sensors, as well as the ability to configure cleaning areas in the Mi application Home/Xiaomi In this article, we will discuss the entire process, from preparing the premises to correcting the typical mistakes that make it possible. 90% user-user.

You'll know:

  • πŸ” How to Prepare Your Apartment for the First Scan (and Why It Affects the Card Accuracy)
  • πŸ“± Step-by-step instructions for creating a map through the Mi Home app for different models
  • βš™οΈ How to edit a map: add walls, cleaning areas and forbidden areas
  • ⚠️ Common mistakes that make a robot lose or ignore rooms
  • πŸ› οΈ Ways to fix card failures without completely resetting your settings

1. Preparation of the apartment for scanning: 7 key rules

Before you can launch a Xiaomi robot vacuum cleaner to create a map, you have to prepare the room, which is often ignored, but it determines up to 70% of the accuracy of the final map, and the main task is to minimize the obstacles that can bring down the device's sensors.

First, remove all the little things from the floor: wires, toys, shoes, boxes, and the robot can bypass them, but each object distorts the laser scanning, creating false walls on the map. LDS-Lidar (e.g. Mi Robot Vacuum-Mop 2 Pro) that builds a map based on reflected laser beams.

  • πŸšͺ Close all the doors to the rooms you want to include on the map. Open openings lead to blurring of the boundaries of the premises.
  • πŸͺŸ Close the curtains in bright sunlight. Direct beams can blind optical sensors (relevant for models with a high-resolution light). VSLAM, Like Dreame Bot. L10 Pro).
  • πŸ›‹οΈ Move the chairs away from the table so the robot can move freely under the furniture. Minimum clearance is 10 cm.
  • πŸ”Œ Make sure the charging station is in the corner and there is free access from all sides (at least 1.5 m of space in front).

Critical note: if your apartment has mirrors (especially floors) or glass partitions, cover them with cloth. Laser sensors perceive reflections as real obstacles, which leads to the appearance of β€œghost walls” on the map.

πŸ“Š What model of Xiaomi robot vacuum cleaner you use?
Mi Robot Vacuum-Mop 2 Pro
Viomi V3
Dreame Bot L10/L20
Another Xiaomi model
Another brand's robot

2. Starting the first scan: step-by-step instructions

Once the room is ready, you can start making a map, and the process is slightly different depending on the model, but the overall pattern is the same.

  1. Install the robot at the charging station and wait for full charge (at least 80%). Low battery levels can interrupt the scan.
  2. Open the Mi Home app (or Xiaomi Home for new models) and select your robot vacuum cleaner.
  3. Go to Map (or Map in English). If you don't have a map yet, click Create a map or Start Mapping.
  4. Run the robot in Clean or Start mode. Select Full Clean mode for the first scan.

The robot will start moving around the perimeter of the room, gradually filling out the map. It's important not to interrupt the process or move the device manually. The average scanning time for an apartment is 50-70 m2 is 20-40 minutes. If the robot is stuck or lost, do not physically help it: wait until it finds its way or returns to base.

Battery charge >80%|All doors are closed.|Small objects removed from the floor|The charging station is in the corner.|Mirrors and glass are closed.-->

An important nuance for models with VSLAM (Like Dreame Bot. D9): These robots use a camera to navigate, so they need good lighting (but no direct sunlight.

3. Analysis and editing of the map in the annex

Once the scan is complete, the app will show a draft map of your apartment, which is rarely perfect the first time: rooms can merge, walls can bend, and some areas can be absent. You can manually fix this.

Open the map in the application and use the editing tools:

  • πŸ“ Rooms separation: click Edit β†’ Separate rooms and draw lines along the boundaries of the premises.
  • 🧹 Add cleaning areas: Select an area on the map and prioritize it (e.g., "Frequently" or "Rarely").
  • 🚫 No-go zones: circle areas where the robot cannot go (for example, around a bowl of pet food).
  • πŸͺŸ Virtual Walls: Create Barriers to Block Passages (Relevant for Open Plans).

For models with multi-storey map support (for example, Xiaomi Mi Robot Vacuum-Mop 2 Pro), you can save individual maps for each level.

  1. Create a first-floor map.
  2. Move the robot to the second floor and start a new scan.
  3. In the app, select Add Floor and save the second card.
How to fix the β€œblurred” walls on the map?
If the walls on the map are curved or intermittent, try this: 1. Run the robot in cleaning mode along the problem walls (he "draws" them when re-scanning). 2. Manually adjust the lines in the map editor by pulling the checkpoints. 3. For models with the maps. LDS Check if there are any objects in the room that scatter the laser (for example, fluffy carpets or curtains with fringe).

4.Typical errors in creating a map and how to avoid them

Even with careful preparation, users often encounter problems, and here are the most common mistakes and ways to solve them:

Problem.Possible causeDecision
The robot can't see some rooms.Closed doors during scanning or weak LiDAR signalRestart the scan with the doors open. LDS-Check the purity of the sensor lens
Map "shifts" after robot rebootThere is no link to the charging station or low lighting (for the purpose of VSLAM)Lock the station in one place and run a second scan in good lighting.
The robot is constantly "lost" in one zone.Interference from mirrors, glass or complex layout (for example, round columns)Cover reflective surfaces. For complex areas, add virtual walls in the app.
The map is not saved after editingCloud sync failure or outdated firmware versionUpdate the robot software and the app. Resave the map manually through Settings. β†’ Map. β†’ Save.

And the problem of ghost obstacles, where the robot sees objects on a map that are not real, deserves special attention. LDS, if there is a room:

  • πŸͺž Large mirrors without frames (for example, in the dressing room)
  • πŸ–ΌοΈ Pictures under glass or glossy furniture surfaces
  • 🌿 Plants with broad leaves (ficuses, monsters)

πŸ’‘

If the robot stubbornly ignores one of the rooms, try temporarily installing an additional charging station in it (if the model supports it), after a successful scan, the station can be removed, and the map can be saved.

5. Optimizing the map for effective cleaning

Making a map is only half the battle, and in order for Xiaomi's robot vacuum cleaner to work as efficiently as possible, it needs to be optimized for your needs.

1. Areas with increased cleaning frequency

In places where dust accumulates (for example, near the front door or kitchen table), create separate areas and assign them a cleaning daily or 2 times a day.

  1. Open the map in the app.
  2. Click Add Zone and circle the desired area.
  3. Choose the cleaning frequency and type (dry/wet).

2.Wet cleaning routes

If your model supports floor washing (for example, Viomi). V3 or Dreame Bot. W10), Set up separate routes for wet cleaning. Avoid carpeting β€” add them to restricted areas or use the mop lift function (if you have one).

3. Room cleaning schedule

Instead of cleaning the whole apartment, set up a schedule for individual rooms, such as:

  • πŸ•˜ 8:00 – cleaning the corridor and hallway (daily)
  • πŸ•› 12:00 - Kitchen (every day)
  • πŸ•” 18:00 – bedroom (3 times a week)

πŸ’‘

Use Room Cleaning to save time and battery life, and the robot will clean only selected rooms, rather than driving around the entire apartment.

For voice-enabled models (via Alice, Google Assistant or Siri), you can create voice commands to start cleaning in specific areas, such as, β€œAlice, start cleaning the kitchen.”

6. Correction of card failures without a complete reset

Sometimes the map starts to "glutch": the rooms are shifted, the robot can't find the base or ignores the no-go zones, and in most cases, the problem can be solved without completely resetting the settings.

Method 1: Reboot the map

If the card is distorted after updating the firmware or transferring the charging station:

  1. Open the app and go to the map section.
  2. Press the card settings β†’ Reset the card (Reset Map).
  3. Run the robot for a second scan.

Method 2: Calibration of sensors

For models with LDS (For example, Mi Robot Vacuum-Mop P, sometimes you need to calibrate the laser sensor:

  1. Place the robot on a flat surface (for example, on a table).
  2. Press the power button for 5-10 seconds before the beep.
  3. Wait for the calibration process to be completed (the robot will rotate in place).

Method 3: Manual adjustment through API

For advanced users, there is the ability to edit the map through Mi Home API It's not just a third-party utility like Valetudo:

  • πŸ“Š Export the card in.svg format for editing in graphics programs.
  • πŸ”§ Configure scanning options (e.g. LiDAR step).
  • πŸ–₯️ Control the robot through MQTT-Automation protocol (e.g., integration with Home Assistant).
How to export a map for editing?
1. Install Valetudo on the robot (root access required). 2. Go to the web interface on the IP-3. In the Map section, click Export and save the file in.svg or.png. 4. Edit the map in Inkscape or Adobe Illustrator, then download back.

If none of these things work, you'll have to reset your settings completely.

  1. In the application, go to Device Settings β†’ General. β†’ Resetting settings.
  2. Confirm the action (the robot will return to factory settings).
  3. Start a new scan from scratch.

⚠️ Warning: After reset, all stored maps, cleaning schedules and zone settings will be deleted, and it is recommended to pre-screenshot the map in the application or export it through Valetudo (if supported).

7. Advanced features: multi-storey maps and smart home integration

Xiaomi’s modern robot vacuum cleaners support not only basic cleaning, but also complex automation scenarios.

Multi-storey maps

If you have a bunk apartment or a house, you can create separate maps for each floor.

  1. Create a first floor map (as described above).
  2. Move the robot to the second floor and start a new scan.
  3. In the app, select Add Floor and save the second card.
  4. When cleaning, choose the desired floor manually or set up an automatic determination by the location of the charging station.

Integration with smart home systems

Xiaomi robots are compatible with Apple HomeKit, Google Home and Yandex Alice.

  • 🍎 For HomeKit: Add the robot through the Mi Home app, then scan QR-code to the House (iOS).
  • πŸ€– For Google Assistant: In the Mi Home app, go to Settings β†’ Voice assistant β†’ Google.
  • πŸ—£οΈ For Alice: link Xiaomi account to Yandex account in smart home settings.

After integration, you will be able to:

  • πŸ“… Start cleaning on schedule through voice commands.
  • πŸ”„ Create scenarios (e.g., β€œWhen no one is home, turn on the robot vacuum cleaner").
  • πŸ“Š Receive notifications of completion of cleaning or low battery levels.

For supported models IFTTT (Like Dreame Bot. Z10 Pro) you can configure automation with other devices, for example:

If the traffic sensor in the corridor is activated, then start cleaning in the hallway.

FAQ: Answers to Frequent Questions

πŸ”Ή Why the robot doesn’t save the card after it’s turned off?
This is true for models with a weak battery or outdated firmware. Update the robot's software through Settings β†’ Update firmware. If the problem persists, check the battery capacity (when worn out) >50% card can be reset. Use AccuBattery (for Android) or request a battery log via Mi Home for diagnostics.
πŸ”Ή Can I transfer the map from one robot to another?
Officially, no, because the card is tied to a unique device identifier. However, there is a workaround for Valetudo models: Export the card from the first.svg robot. Edit the file by deleting the deviceID binding. Import the card to the second robot through the Valetudo web interface. Note that after the transfer, room boundaries may need to be adjusted.
πŸ”Ή How does a robot determine which floor it is on?
Models with support for multi-storey maps are guided by: πŸ“‘ Wi-Fi signal (different access points on floors). πŸ”‹ Location of the charging station (if it is one on the floor). 🧭 Accelometer data (change in height as you move up stairs) If the robot confuses floors, add unique tags (for example, virtual walls with different names).
πŸ”Ή Why After Updating the Firmware Card Became Inexact?
Updates sometimes reset sensor calibration. To get back to accuracy: Reset the map in the settings. Launch the robot into calibration mode (for example, to reset the map in the settings). LDS-Models: hold the power button for 10 seconds. Create a new map in good light. If the problem persists, roll back the firmware through Mi Home (Update section) β†’ Return the previous version).
πŸ”Ή Can I use a robot without a map?
Yeah, but cleaning efficiency will be reduced by a factor of 2-3: πŸŒ€ Accidental movement (drives randomly until discharged). πŸ“ Spiral scanning (gradually extends the cleaning area from the center). 🚦 Movement along the walls (suitable for small rooms). To enable the mode without a map, go to Settings β†’ Map. β†’ Disable the map.