Creating and configuring a cleaning map for Xiaomi robot vacuum cleaner

The Xiaomi and Roborock series of modern robot vacuum cleaners have impressive functionality, but their maximum efficiency is revealed only after the correct initial setup. The key step here is to build an accurate digital copy of your home, without which smart navigation turns into chaotic wandering. It is the correct map of the room that allows the device to optimally distribute routes and not miss a single inch of floor.

The process of creating a map seems simple, but users often encounter errors during the first run, which leads to incorrect navigation algorithms. The device can get lost in space, do not return to the base or ignore entire rooms. In this article, we will discuss in detail how to make your Xiaomi Vacuum gadget build the perfect apartment plan the first time.

A high-quality digital model of the apartment is the foundation for all advanced features, including virtual walls and zoning. If you have just unpacked a brand new Roborock or Mijia, take your time to start a full cleaning immediately.

Preparation of the room for the first scan

Before you press the launch button in an application, it is critical to prepare a physical space: a laser rangefinder (Lidar) or optical navigation should have unimpeded access to objects for correct distance calculation. Remove from the floor wires, toys, socks and other small objects that can be perceived by the robot as obstacles or, worse, wound on a brush.

Provide good lighting and open all the doors to the rooms that should be included in the final map. If the doors are closed during the first construction, the robot will perceive them as blank walls, and subsequently you will have to manually edit the plan or perform the procedure again. Also make sure that the charging station is standing against the wall and there is free space around it with a radius of at least 50 cm.

⚠️ Warning: Do not move the robot vacuum cleaner and base manually during the map-building process. If the device is stuck, it is better to release it, but then return it to the point where it stopped, or restart the mission, otherwise the geometry of the room will distort.

Check the sensors' cleanliness. Wash the impact sensor windows and the Cliff sensors (fall sensors) at the bottom of the case with soft cloth, and contamination can cause false positives and interrupt the digital plan mission, and the purity of the optics directly affects positioning accuracy.

πŸ’‘

Before the first run, wipe the top lidar β€œclumps” with a dry wipe – even a thin layer of dust can worsen the scanning quality by 20%.

Step-by-step process of building a map in the Mi Home application

To control the device, you use the Mi Home app (or Roborock, depending on the region). Make sure the robot is fully charged and connected to a 2.4GHz Wi-Fi network. Launch the application, select your vacuum cleaner from the list of devices and go to the main control screen. Here we will need a mode that is often hidden in the optional menu of the map settings.

Click on the three-dot icon in the top right to enter the settings, and find "Maps settings" or "Maps management." Most modern models with LiDAR navigation have the option "Create a map" or "Build a map." Select it. The robot will exit the base, start rotating in place, scanning the room, and then move around the perimeter.

  • 🏠 The robot will tour all available rooms, building the contour of the walls.
  • πŸ”„ The device can return to the base several times for recharging, if the area is large, and continue from the stop place.
  • πŸ’Ύ After the rounds are completed, the robot will return to base and offer to save the result.

It's important to keep this process going. If you see the robot moving randomly or twitching, it may have lost its orientation, so you better interrupt the mission, return it manually, and start building again, removing new obstacles, and you can save the map only after you have successfully completed the cycle and returned to the dock.

β˜‘οΈ Checklist before scanning start

Done: 0 / 4

Editing and dividing into rooms

Once a draft card is saved, it is rarely perfect. Algorithms can misrepresent the space by combining the kitchen and living room into one huge area, or vice versa, by dividing one room into two parts because of the carpet. Editing is available in the map management menu, where you can use the "Divide" and "Combine" tools.

To divide a room, select the appropriate tool and draw a line along the place where the virtual threshold should pass. The line should cross the entire separation area. To join, on the contrary, you need to erase the boundary between two adjacent zones. This is critical for the proper operation of the Room Cleaning function, when you want to clean only the kitchen without touching the hall.

⚠️ Note: When dividing rooms, make sure that the gap line does not pass through narrow passages (less than 40 cm), otherwise the robot may consider this area inaccessible and ignore it when planning the route.

Once you've been geometrically edited, you have to give each zone the right name and type of room, and it's not just a cosmetic function: the type of room (Kitchen, Bedroom, Carpet Floor) is what the cleaning strategy is, for example, in the kitchen, the robot will automatically increase the suction power, and in the bedroom, it will go into quiet mode.

πŸ“Š How often do you edit the map after scanning?
Never, everything's perfect the first time.
Once a month when changing furniture
After each repair
Only if the robot starts to be dumb.

Configuring virtual walls and forbidden areas

One of the most powerful features of Xiaomi’s ecosystem is the ability to create invisible barriers: Virtual walls and no-go zones allow you to limit the robot’s access to certain areas without installing physical magnetic tapes, especially for protecting wires, animal water bowls or areas with often scattered toys.

In the map editing menu, select the "No-go zone" tool (red square) or the "Virtual wall" tool (red line). The red square means no entry to that area. The red line works as a barrier that the robot won't cross. There's also the "No-Whip Zone" (blue square) that allows the vacuum cleaner to enter there, but forbids the water pump to be turned on.

Type of restrictionDesignationThe robot's actionWhere to apply
The no-go zoneRed square.Total squash.Pets bowls, wires, carpet (for washing)
Virtual wallRed lineDon't cross the line.Room boundary, entrance to the nursery
Zone without blinkingBlue square.Dry cleaning allowedCarpets, flooring without water protection
The Invisible WallDashboardZone dividerTemporary division of space

Using these tools extends the life of the device significantly, preventing wires from getting stuck and carpets getting wet. It takes a couple of minutes to set up, but it eliminates the need to constantly save a stuck gadget. Remember, virtual constraints are tied to the coordinates of the map, so if you move the furniture, the zones will need to be adjusted.

What if the robot ignores the forbidden areas?
If the robot comes into the red zone, check if the map has automatically updated with a zoom change, sometimes by resetting the zone or calibrating the gyroscope through a map reset.

Keeping several maps and working with floors

Multi-cards are a good option for owners of complex-shaped apartments or multi-storey homes. Modern Xiaomi Vacuum models (especially the S5 Max, S6, S7, S8 series and their counterparts) allow you to save up to 4 different maps. This means you can use one robot on two or three floors just by moving the base.

To add a new floor, go to the map menu and select Add a new map. The robot will build a new level plan, so you can save it as a separate file. When you move the robot to another floor, you don't have to reconfigure it every time, the device automatically recognizes the environment if it's already stored in memory, or suggests you create a new map.

But the nuances of the gyroscope when moving, if the robot gets lost on a new floor, it can start building the map over the old one or create chaotic lines, in which case it is recommended to force the desired map to be selected from the list of saved before launch.

  • 🏒 Map 1: First floor (living room, kitchen).
  • πŸ›οΈ Map 2: Second floor (bedrooms, bathroom).
  • 🚿 Card 3: Guest house or bathhouse.
  • πŸ”„ Map 4: Backup or seasonal arrangement of furniture.

⚠️ Warning: When moving the robot to another floor, be sure to turn it off before transporting it. Turning it on in a new location will help the device to navigate faster and match the current position with the stored floor map.

Solution: problems with navigation and map

Even with perfect setup, there can be situations where the robot is acting strangely, often due to the nature of the floor covering or lighting, dark floors (especially black gloss) can absorb the signal of the drop sensors, which makes the robot think that there is a cliff ahead and turns around, in which case it helps to glue the sensors with translucent tape, but this is a temporary solution.

Another common problem is to take the map away, and over time, especially after a lot of cleaning, the map can shift relative to the actual position of the walls, and this is treated by the Card Reset or Original Map Recovery function in the settings, and don't be afraid to reset the map completely if you have too many positioning errors.

If the robot is constantly losing Wi-Fi connection while building a map, try moving the router closer or using a repeater. A stable signal is important for transmitting map data to the cloud, although the navigation itself takes place locally on the vacuum cleaner processor. For complex apartments with thick walls, this is a critical moment.

πŸ’‘

If the robot regularly loses the map, check the purity of the lidar and try to start building the map during the day in bright natural light – this helps the sensor to better navigate.

FAQ: Frequently Asked Questions

Can I save the card if I interrupt the cleaning in the middle?
No, the map is only saved after the mission is complete and you return to base, and if you interrupt the process, the scan progress will be lost, and the next time you run, the robot will start building the map again or continue with the wrong data.
How long does it take to build the first map?
Time depends on the size of the room and the complexity of the layout: on average, an apartment of 60-80 square meters takes from 20 to 40 minutes, the robot moves slower than in normal cleaning mode, because its priority is accurate scanning, not collecting dust.
Do I need to remove the water tank when building a map?
For models with wet cleaning function, it is recommended to install a water tank (full or empty - it does not matter if the weight is familiar to the calibration), as this affects the permeability of the thresholds. However, the mop function itself is better to turn off in the application, so as not to wet the floor unnecessarily.
What if the card is turned 180 degrees?
This happens if the robot starts from the base in an unusual direction. The Mi Home app has a map rotation function. Go to the map editing and use the rotating tool to orient the plan correctly with respect to the cardinal points or the entrance to the apartment.
Is the card reset when you update the firmware?
Usually, the card is stored in the device's memory even after the software update. However, in rare cases, with major firmware updates, the data structure may change and the map will have to be rebuilt.