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

Xiaomi’s Robot Vacuum (including Mi Robot Vacuum, Roborock, Dreame) models use technology LDS-It's a laser or visual navigation system that creates an accurate map of the room, and without a map that's built right, it's going to be able to clean up randomly, skip zones, or waste time on repeat passes. In this article, we will discuss how to make a vacuum cleaner automatically save a map after the first cleaning, configure virtual walls, combine several floors and fix typical scanning errors - from "blurred" rooms to lost walls.

It's important to understand that the process of building a map depends on the model. S7 LiDAR creates a map for 1–2 The budget model, like the Dreame, D9 may require 3–4 We'll look at the universal steps that are relevant for most Mi devices. Home/Roborock App, as well as nuances for specific lines.

Preparation of the premises before scanning

Before the first cleaning, you must eliminate the factors that distort the map (LDS) sensitive:

  • πŸ”¦ Direct sunlight – close the curtains to avoid glare on the walls.
  • πŸͺ‘ Transparent or mirrored surfaces – glass tables, mirrors, glossy laminate can β€œdisappear” on the map.
  • πŸšͺ Open doors – the vacuum cleaner perceives them as passageways and may try to clean in adjacent rooms.
  • 🧸 Small objects on the floor – wires, toys, shoes interfere with scanning the lower level.

If you have carpets with a high pile (more than 2 cm), temporarily remove them: height sensors can mistakenly fix them as obstacles. For models with cameras (for example, DreameBot Z10 Pro), it is important to ensure good lighting - in dim light, the map is blurred.

πŸ’‘

If the house has staircases without fences, install physical barriers or use the Zone of Prohibition feature in the app before scanning.

2.First run: How a vacuum cleaner builds a map

Xiaomi's mapping algorithm works on the principle of SLAM (Simultaneous Localization and Mapping), the robot moves in a spiral or zigzag, simultaneously scanning the room and determining its location, the process takes from 20 minutes to 1.5 hours depending on:

  • πŸ“ Area of the room (up to 120 m2 for most models).
  • πŸ› οΈ Navigation type (laser faster than visual camera).
  • πŸ”‹ Charge level (at a discharge below 20% the vacuum cleaner returns to the base).

To save the card automatically:

  1. Make sure the vacuum cleaner is connected to Wi-Fi and linked to your Mi Home/Roborock account.
  2. Start cleaning in Full Cleaning mode (not Zone or Point).
  3. Do not interrupt the process until it is finished – even if the battery runs out, the vacuum cleaner must return to the docking station and keep progress.
πŸ“Š What model of Xiaomi robot vacuum cleaner you use?
Mi Robot Vacuum
Roborock S5/S6/S7
Dreame D9/D10
Another model

3. Save and edit the map in the annex

After cleaning, the map will appear in the App Map section, if it is not:

  • πŸ”„ Restart the vacuum cleaner (hold the power button for 10 seconds).
  • πŸ“± Update the Mi Home app to the latest version.
  • 🌐 Check your internet connection – maps sync to the cloud.

For editing:

  1. Click on the icon. ✏️ (map.
  2. Separate the rooms by drawing lines along the contour of the walls.
  3. Add virtual walls (to block areas) or cleaning areas (for priority areas).
  4. Save the changes – the vacuum cleaner uses the updated card the next time you clean.
What to do if the card is not saved?
If after 3-4 cleanings the card still does not appear in the application, reset the vacuum cleaner settings to the factory (Settings β†’ Reset). Then re-attach it to the account and start cleaning in an empty room (for example, the bathroom) - this helps to initialize the mapping.
The map problemPossible causeDecision
Map "floats" or shiftsWeak LDS signal, dirt on sensorWipe the laser glass with a napkin, restart cleaning
Missed roomsClosed doors or low battery chargeOpen the door, charge the vacuum cleaner to 100%
Blurred wall contoursPoor lighting (for chamber models)Turn on the lights, repeat the scan.
The card is not saved after cleaning.The cloud synchronization errorReconnect the vacuum cleaner to Wi-Fi, update the firmware

Setup of apartment maps (several floors)

If you have a bunk apartment or a house, one vacuum cleaner can manage maps for each floor.

  1. Build a first floor map (as described above).
  2. Move the vacuum cleaner to the second floor and start cleaning - the application will offer to save the new card.
  3. In the Maps section, assign each card a name (for example, "1 floor", "2 floor").

Important: When moving between floors, always use the Moving robot feature in the app, rather than manually transferring it, which helps the vacuum cleaner correctly determine the current location.

Move the dock to a new floor | Make sure there is stable Wi-Fi on both levels |Start cleaning in Full Map mode |Save and name the new map in the app-->

5. Map optimization: zones, prohibitions and schedule

Once the basic map is created, it can be modified to effectively clean:

  • 🚫 Zones of prohibition: mark areas where the vacuum cleaner should not enter (for example, around pet food).
  • 🎯 Cleaning areas: highlight priority areas (kΓΆ entry code, kitchen) that will be cleaned more often.
  • πŸ”„ Schedule: Set up automatic cleaning by day of the week, taking into account your schedule.
  • πŸ”‹ Suction modes: assign different power to different rooms (for example, maximum for carpets).

For models with wet cleaning function (for example, Roborock S7 MaxV), you can adjust areas where floor wiping will be included, and avoid carpeting.

πŸ’‘

Use the Save Map as a Template feature (if any in your model) to quickly apply settings to new floors or after a reset.

6. Solving Common Mapping Errors

If the vacuum cleaner is lost, can't find the base, or builds the map incorrectly, check:

⚠️ Note: If the vacuum cleaner after updating the firmware began to β€œforget” the card, roll back to the previous version of the software through Settings β†’ Update β†’ Beta. Some firmware has bugs with SLAM-navigation.

The error is "I can't go back to base":

  • Make sure that around the docking station is free 1.5 m in front and 0.5 m in sides.
  • Check if the station is under direct sunlight (this interferes with the IR sensors).
  • Move the base to a more open location and rebuild the map.

The card is β€œtwofolded” or superimposed:

  • This happens if the vacuum cleaner starts cleaning from a different docking station, always run the cleaning through an app or a button on the base.
  • Reset the card in the settings and rebuild it again.

7. Update the card after rearrangement of furniture

If you move the sofa, add a new closet, or change the layout, the vacuum cleaner will need to update the map.

  1. Start cleaning in Full Map mode.
  2. During cleaning, the vacuum cleaner will detect changes and correct the map.
  3. After completion, check the updated map in the app and edit the room boundaries if necessary.

For minor changes (for example, moved the chair) you can do without a complete restructuring: the vacuum cleaner adapts after 2-3 cleanings.

πŸ’‘

If you frequently rearrange furniture, turn on the Adaptive Card option (if available) in the vacuum cleaner settings, which allows you to automatically adjust the room plan without manual intervention.

FAQ: Frequent questions about Xiaomi maps

Can I transfer the map from one vacuum cleaner to another?
No, the cards are tied to a specific device by serial number, but you can export a screenshot of the map from the app and manually restore the zones on the new vacuum cleaner.
Why doesn’t a vacuum cleaner build a map in the dark?
Visually navigable models (like the DreameBot L10s Ultra) require at least 50 lux lighting. Use nightlights or turn on lights while cleaning. Laser models (with LDS) operate in the dark.
How to reset the card to factory settings?
Go to Settings β†’ Map β†’ Reset the card. After that, the vacuum cleaner will start scanning from scratch the next time you clean. Attention: this will remove all the saved areas and prohibitions!
How many cards can a vacuum cleaner store?
Most models support up to 5 cards (for example, for different floors or houses), and in the Roborock app you can switch between them manually or by geolocation (if Smart Location Recognition is enabled).
Can I use one card for several vacuum cleaners?
Technically not, but you can sync settings through the Mi Home cloud if vacuum cleaners are tied to a single account.The maps remain individual, but the no-go zones and schedules can be duplicated.