Modern robot vacuum cleaners are no longer just randomly running devices. Smart models from Xiaomi and Roborock are able to build an accurate navigation map of the room, remember the location of furniture and even distinguish floors in the house. However, it often happens that automatic scanning is not correct, or the user wants to prevent the gadget from entering certain areas in advance.
How to draw a map for a Xiaomi robot vacuum cleaner is a topical question when you move, change layouts, or buy a used device. The Mi Home app provides powerful tools for manually editing a map, creating virtual walls, and zoning rooms. Understanding these processes allows you to turn simple cleaning into a fully automated process that does not require your intervention.
In this article, we will discuss in detail why the robot may not see the map, how to calibrate the sensors correctly and what nuances exist when working with a laser rangefinder (LDS).
Why a Robot Vacuum Can't See a Map or Is Building It Wrong
Before you start drawing manually, you need to understand the cause of the failure of automatic construction. Often the problem is not the software, but the physical conditions of operation. The laser rangefinder installed on the top of the device should have a seamless view of 360 degrees. If the tower gets stuck, contaminated or closed by a foreign object, navigation becomes impossible.
Another common cause is insufficient lighting or, conversely, glare from mirrors and glass surfaces. LDS-They rely on laser light to reflect the light, and black glossy surfaces can absorb the signal, and mirrors can create false reflections, which distort or not save the map.
It's also worth checking the software settings, and sometimes Mi Home resets access rights or de-synchronizes between the server and the device, and in such cases, simply restarting the module or reinstalling the application helps.
⚠️ Warning: Never lift a working robot vacuum cleaner behind the top cover with a rotating laser.This can damage the sensitive motor of the rangefinder tower, and the device will stop building a map forever.
If the automatic scan was successful, but the map "got" or shifted, perhaps the robot did not have enough space to turn.
Preparation of premises and devices for the construction of the map
To create a map successfully, you need to get the environment right, and it's not just a recommendation, it's a technical requirement for SLAM (Simultaneous Localization and Mapping) algorithms to work, and remove all the small objects, wires, socks and toys from the floor, and the fewer obstacles, the more accurate the final layout of the room will be.
Provide good lighting. Although the laser rangefinder works in the dark, optical sensors (if you have them in your model, such as the Xiaomi Vacuum-Mop) need light to correctly detect elevation differences. Open the curtains and turn on the lights in all rooms where cleaning is planned.
Charge the battery to 100%. The mapping process can take anywhere from 20 minutes to an hour, depending on the area of the home. If the battery sits down in the process, the map will have to be rebuilt. Make sure the dock is mounted against the wall and there is a free space of one and a half meters in each direction around it.
☑️ Preparation for map construction
Before you start, make sure to wipe your sensors. Use dry microfiber to clean the windows of elevation sensors and side impact sensors. Dust on the sensors can lead to false positives and errors in the geometry of the map.
Step-by-step: how to save and edit the map
The manual map editing process is only available once the robot has successfully cleaned and saved the layout of the room at least once, go to the Mi Home app, select your device and go to map view mode, usually a map icon or the map settings item in the upper right corner.
To edit, click on the Edit button (often looks like a pencil or three dots on the menu). Here you can combine rooms, divide them, assign names and types of rooms. This is critical for zoned cleaning, when you only need to clean the kitchen or living room.
To draw a no-go zone or a virtual wall, select a tool that you can draw a rectangle (no-go zone) or a line (virtual wall), and the robot will perceive these drawn boundaries as real physical obstacles.
Once you make changes, be sure to click Save. If you just close the app, all changes will be lost. Some models require confirmation of actions, especially if the changes are related to the global map structure.
Configuring virtual walls and forbidden areas
The virtual wall feature is one of the most useful features of Xiaomi’s ecosystem, which allows you to limit the robot’s access to certain areas without installing physical magnetic tapes, especially for protecting long-pile carpets, areas with scattered toys or places where there is a bowl of water for animals.
The virtual wall acts as an invisible barrier, and the robot sees it with its sensors and turns around before it reaches the line that's drawn, and the forbidden zone (square) causes the device to ignore the area inside the perimeter, even if it's in the middle of the room.
To set up, go to the map menu and select the drawing tool. You can create up to 10 virtual walls and 10 no-go zones on a single map. This is usually enough for a standard apartment. The drawing accuracy is high, but try to step back from the real objects in 5-10 cm so that the robot doesn't get stuck.
Difference Between Wall and Zone
If you move the sofa or change the arrangement of furniture, you may need to redraw the restrictions. Regularly check the relevance of the settings after the general cleaning of the house.
Multi-storey map management and data retention
The flagship models Xiaomi and Roborock (S5 Max, S6, S7, S8 and later) allow you to save up to 4 different maps, which eliminates the need to scan the floor again each time.
To save the second floor map, simply take the robot vacuum cleaner to the next level, put it on the base (or turn it on manually) and start building the map. Once you finish cleaning, the system will suggest saving the new circuit as Map 2.
But there's a caveat: if the robot moves to another floor (e.g., rolls into an elevator or carries it in its arms), it can lose orientation, so when changing floors, it's better to manually select the desired map in the application before launching.
| Function | Description | Limits |
|---|---|---|
| Virtual wall | Linear restriction of movement | Up to 10 pcs per card. |
| The no-go zone | Rectangular area of disregard | Up to 10 pcs per card. |
| Preservation of maps | Number of floors | Up to 4 cards (depending on model) |
| Zoning | Room division | No restrictions. |
When working with multiple cards, it is important to keep an eye on firmware updates, and older versions of the software may not handle transitions between cards correctly, leading to a reset of cleaning settings.
Solution: the map has disappeared or shifted
The situation where a map suddenly disappears or shifts 90 degrees is familiar to many users, often because the robot has been raised and moved while it's running, and the gyroscope and accelerometer get confused, and the device loses its reference point.
If the card is missing, try resetting the card completely in your device settings and start building again. Make sure the room hasn't changed since the last successful cleanup. Sometimes cleaning the Mi Home app cache helps.
💡
If the robot loses the card, don't try to reconfigure it right away. Send it to base, wait for full charging, and then start Map mode or quick cleaning for re-scanning.
In some cases, the problem lies in the regional settings of the server. If you are using the Chinese version of the device with a European region in the application, the card functions may not work stable.
⚠️ NOTE: Do not use a robot vacuum cleaner on high-pile surfaces (more than 2 cm) or on black glossy floors without prior testing.This may cause the device to fall or navigation errors.
The stability of the card depends on the technical condition of the wheels and sensors, regularly check whether the hair on the axle of the wheels is wound, and clean the main brush shaft.