How to make a map for a robot vacuum cleaner Xiaomi Mi: from scanning to fine-tuning

Xiaomi Mi robot vacuum cleaners are no longer a curiosity, but their real effectiveness depends on a properly configured map of the room. Without it, the device will randomly move around the apartment, skip corners or waste time cleaning the same areas again. Creating an accurate map is not just a β€œrun and forget”, but a process that requires the preparation of the room, the correct settings in the Mi Home application and understanding the features of laser scanning (LDS).

In this article, we’ll take a look at everything from the first robot launch to saving layered maps, editing virtual walls, and setting up no-go zones, and focus on common mistakes that make the map β€œteared” or incomplete, such as when the robot loses a signal from the base or encounters mirrored surfaces, and how to get around the limitations of standard software with alternative firmware like Valetudo (if you’re ready for experimentation).

Important: the instruction is relevant for models with laser navigation (Mi Robot Vacuum-Mop 2 Pro, Mi Robot Vacuum-Mop P, Mi Robot Vacuum-Mop 2 Lite and similar). LDS (For example, Mi Robot Vacuum-Mop Essential, the process of creating a map is fundamentally different – they use gyroscopes and bumpers, rather than laser scanning.

1. Preparation of the room: what to clean and what to leave

Before you can launch a robot, you have to adapt the room to the robot's "look (LDS) You can't see transparent or reflective surfaces, which is a key feature that many people miss, like a glass coffee table or mirrored robot closet, because it doesn't exist, because it either goes through them on the map or it loses orientation.

Here’s what to do before scanning:

  • 🧹 Remove small objects from the floor: wires, children's toys, slippers. A robot can hook them and get off the route.
  • πŸͺŸ Cover mirrors and glass surfaces with cloth or paper, and paint tape is perfect, and it leaves no trace.
  • πŸšͺ Open all the doors to the rooms that need scanning. If the door is closed, the robot can't build a full map.
  • πŸ’‘ Provide uniform lighting in total darkness. LDS It works worse, but direct sunlight can also distort data.

Here's what you should leave behind:

  • πŸ›‹οΈ Large furniture (sofas, wardrobes, beds) - it serves as landmarks for the robot.
  • πŸͺ‘ Chairs and stools in their seats, if they're standing in a stationary position, and moving them after scanning them can knock the robot down.
  • πŸ”Œ The charging base is in a permanent position, and repositioning it will require rescanning!

⚠️ Warning: If there are carpets with a high pile (more than 2 cm), the robot may get stuck on them. Before the first scan, check the passage of such coatings manually or temporarily remove them.

πŸ“Š What kind of robot vacuum cleaner Xiaomi you have?
Mi Robot Vacuum-Mop 2 Pro
Mi Robot Vacuum-Mop P
Mi Robot Vacuum-Mop 2 Lite
Another Xiaomi model
Another brand's robot

First start-up and scan of the premises

Now, let's get to the practice. Make sure the robot is fully charged (the base indicator is green), and in the Mi Home app it's connected to your Wi-Fi network. Use Mapping mode (some models call it Zone Cleaning) to scan, rather than standard cleaning.

Step-by-step:

  1. Put the robot on the charging base.
  2. Open the Mi Home app, select your robot vacuum cleaner.
  3. Go to Settings. β†’ Map (or Cleanup) β†’ Map, depending on the version of the software).
  4. Click Create a map or start scanning.
  5. Wait until the robot goes around the room, and it can take 10 to 30 minutes depending on the area.

During the scan:

  • 🚫 Do not move the robot manually.
  • 🚫 Do not block the path (do not follow, do not put your feet in the way).
  • πŸ”„ If the robot is stuck, help it, but then return to the same place and continue the scan.

The map is saved automatically, but sometimes the process is interrupted, and if the robot is back on base and the map does not appear in the application:

β˜‘οΈ What to do if the card is not saved

Done: 0 / 4

⚠️ If the robot Mi Robot Vacuum-Mop 2 Lite is constantly "lost" during scanning and returns to base, check the height of the ceilings. LDS-sensor of these models does not work well in rooms above 2.7 m - the laser beam is scattered.

3. Editing of the map: zones, walls and forbidden areas

Saved maps are only half the story, and now you need to optimize them by dividing them into rooms, adding virtual walls, and highlighting areas with special cleaning settings.

  • πŸ“ Rooms – allows you to set different cleaning modes for each zone (for example, strong wet cleaning in the kitchen and dry cleaning in the bedroom).
  • 🧱 Virtual walls – block the robot from accessing certain areas (for example, to a bowl of animal food).
  • 🚫 No-go zones – temporarily or permanently exclude areas from cleaning (for example, a carpet that a robot cannot overcome).
  • πŸ”„ Intensive cleaning zones – increase the time the robot spends on a specific site (relevant for areas with severe pollution).

How to edit the map:

  1. Open the saved map in the application.
  2. Click on the Edit icon (pencil in the upper right corner).
  3. Select a tool (e.g. Add room) and circle the desired area.
  4. Save the changes – the robot synchronizes them the next time you run.

An example of setting up a virtual wall to protect the Christmas tree:

  1. Choose the Virtual Wall tool.
  2. Draw a line around the tree, retreating 30-40 cm (the robot can hook branches).
  3. Save and check: the next cleaning, the robot will bypass this area.
Tool.AppointmentLimitations
Room divisionSet up different cleaning modes for each zoneMaximum 10 rooms per card
Virtual wallsBlocking access to certain areasNo more than 5 walls on the map
No-go zonesExclusion of areas from cleaningMaximum area - 5 m2 per zone
Intensive cleaning areasIncreased cleaning time in contaminated areasNo more than 3 zones at a time.

πŸ’‘

If virtual walls are constantly knocked down, try using physical beacons (such as the Xiaomi Mi Smart Sensor Set) that are more reliable than software constraints, especially in larger spaces.

4.Save and manage multiple cards (multilevel apartments)

If you have a bunk apartment or a multi-storey house, the robot will need separate maps for each level. Unfortunately, the standard Mi Home software doesn't automatically switch between maps, it needs to be done manually. Here's how to organize the process:

Step 1: Create a map for each floor

  • 🏠 Move the robot and charging base to the desired floor.
  • πŸ”„ Start the scan (as described in Section 2).
  • πŸ’Ύ Keep a map with a unique name (e.g., "1 floor", "2 floor").

Step 2: Switching between cards

  • πŸ“± Before cleaning, select the desired card in the Maps section in the application.
  • πŸ”‹ Make sure that the robot is on the same floor as the map you selected.
  • 🚫 Do not start cleaning if the robot and the map do not match in level, this will lead to chaotic movement.

A critical feature: Xiaomi robots don’t automatically determine floor pressure (unlike some Roborock models).If you move the robot to another floor without changing the map, it will try to navigate the old map and get lost.

For convenience, you can use automation in Mi Home:

  1. Create a scenario: If a robot is based on floor 1 β†’ select a map "1 floor".
  2. Add a time or geolocation trigger (if you use a smartphone to determine the floor).
How to get around the limit on the number of cards?
Xiaomi's standard software allows you to save up to 5 cards. If you need more, use alternative firmware like Valetudo (requires root rights and technical skills). Valetudo increases the limit of cards to 10, plus support for automatic switching over the maps. GPS-coordinates (if the robot is used in a large house).

5. Typical card problems and their solutions

Even after a successful scan, the map may not work properly, and here are the most common problems and ways to fix them:

Problem.Possible causeDecision
Map "teared" or incompleteThe robot lost contact with the base or got stuck.Rescan the room, making sure that the stable Wi-Fi
Robot doesn't find baseThe base is shifted or new obstacles have appeared around it.Return the base to its original location or update the map
Map gets knocked down after rebootFailure of the software or low battery charge during storageUpdate the robot firmware and repeat the scan
Virtual Walls Are Not WorkingToo many walls (limit exceeded) or synchronization failureRemove unnecessary walls or restart the application

If the robot is constantly lost on a large map (over 100 m2), try:

  • πŸ“‘ Break the room into several smaller maps (for example, by room).
  • πŸ”‹ Make sure the robot battery is at least 80% charged before scanning.
  • πŸ“Ά Move the Wi-Fi router closer to the center of the apartment (weak signal interferes with synchronization).

⚠️ Warning: If the robot has stopped recognizing the old card after updating the firmware, don't try to "fix" it manually. You'd better create a new map from scratch - it will take less time than fighting artifacts from the old one.

6.Alternative firmware: Valetudo for advanced users

The standard Mi Home software limits the functionality of Xiaomi robots, for example:

  • πŸ“ Keep more than 5 cards.
  • πŸ”„ Automatically switch between floors.
  • πŸ› οΈ Set up complex cleaning schedules.

The solution is an alternative firmware from Valetudo, which is installed on the robot through the help of a robot. SSH It gives you complete control of the device, including:

  • πŸ—ΊοΈ Unlimited number of cards.
  • πŸ€– Support for voice assistants (not just Mi) AI, But Alice, Google Assistant).
  • πŸ“Š Detailed cleaning statistics (area, time, battery costs).

How to install Valetudo:

  1. Get root access to the robot through the exploit (instructions are on the official website).
  2. Connect to the SSH (Use Putty or Termux).
  3. Run the command: wget -O - https://install.valetudo.cloud | bash
  4. Wait for the installation to be completed and restart the robot.

After installation:

  • 🌐 The Valetudo web interface will be available on IP-robot address on the local network.
  • πŸ”§ All map settings and cleaning are transferred there from Mi Home.

⚠️ Note: Valetudo installation is warranty-free and can lead to unstable operation if something is done wrong.Recommended only for power users!

πŸ’‘

Alternative firmware offers new possibilities, but requires technical skills, and for most users, standard Mi Home features are sufficient.

7 Cleaning Optimization: How to Use Maps with Maximum Efficiency

The map is not only a reference point for the robot, but also a tool for optimizing cleaning, and here are some of the techniques that will save time and battery life:

Zoning by type of coating

  • 🧽 In the kitchen and hallway, set up wet cleaning with maximum intensity.
  • πŸ›‹οΈ In the bedroom and living room dry cleaning with average power is enough.

Schedule by map

  • πŸ•˜ Start cleaning the kitchen and bathroom in the morning (when there is least passability).
  • πŸ•’ Clean the bedroom and living room in the evening, before bedtime.

3. Elimination of β€œuseless” zones

  • πŸšͺ Under the sofa or bed, where the robot does not reach, you can create a forbidden zone.
  • πŸͺ‘ Corners with wires or fragile objects are also better to exclude.

4. Use of β€œintensive cleaning zones” for:

  • πŸ• Places under the animal bowl.
  • πŸ‘Ÿ The doormat.
  • 🍳 The areas in front of the stove in the kitchen.

Example of an optimized schedule:

Time.ZoneCleaning modeNote
08:00Kitchen. + hallwayWet, high power.After breakfast.
12:00SanuzelWet, medium power.When nobody's home
20:00Bedroom. + living-roomDry, quiet regime.Before bedtime

πŸ’‘

If the robot is constantly skipping corners, check the height of the furniture legs. If the gap under the cabinet is less than 10 cm, the robot will not physically be able to enter there, the solution is to use a nozzle for hard-to-reach places or manually remove dust there once a week.

FAQ: Frequent questions about maps for Xiaomi robot vacuum cleaners

❓ Why the robot doesn’t save the card after scanning?
There are several reasons: πŸ”Œ The robot has not returned to base (the map is saved only after the cycle is completed). πŸ“Ά Wi-Fi issues (data not synced with Xiaomi server). πŸ”‹ Low battery (less than 20%) during scanning Solution: Restart the robot, make sure the internet is stable and repeat the scan.
❓ Can you transfer the map from one Xiaomi robot to another?
No, it's impossible. The maps are tied to each robot's unique ID and its sensors. Even if the models are identical, the location errors are different. LDS-Sensors will make the card inaccurate for another device.
❓ How to update the map if I have moved furniture?
There are two options: Partial Update: Run the robot in Map mode - it will update only the changed areas. Full Rescan: Remove the old map in the application and create a new one (recommended for major layout changes).
❓ Why the robot can't see virtual walls?
Check it out: πŸ“± Mi Home version (update to the latest version). πŸ”„ Synchronization of the map (sometimes helps to reboot the robot). πŸ“ The number of walls is a limit of 5 pieces per map. If the walls still don't work, try removing them and repainting them in the map editor.
❓ Can I use a single card for several floors?
Technically possible, but highly discouraged, the robot will confuse floors because: πŸ“ LDS-The sensor does not distinguish height (for it both floors are one plane). 🏠 Navigation algorithms calculate the route from a flat map, the bottom line is that the robot will either drive randomly or fall down the stairs. Always create a separate map for each floor.