How to create a smart map in Mi Home for a robot vacuum cleaner Xiaomi

Todayโ€™s Xiaomi and Subor robot vacuum cleaners, which operate in the Mijia ecosystem, have impressive navigation functionality that is fully revealed only after a competent initial calibration. Owners often face a situation where the device moves randomly around the apartment or can not find a base because the smart card is either not created or was lost after being reset. The process of building a digital twin of your home is the foundation for all advanced functions, including virtual walls and zoning.

Unlike older gyro models, modern laser rangefinder (LDS) or camera (VSLAM) devices require free space to scan the geometry of a room. If you've just unpacked your gadget or moved into a new home, you're going to have to go through the initial mapping phase, and that's when the logic of movement is laid, and how well the robot vacuum cleans your apartment in the future depends on how efficiently it's done.

Itโ€™s worth noting that the Mi Home app periodically updates the interfaces, but the basic principles of working with maps remain unchanged for most models, whether itโ€™s Roborock S50, Xiaomi Vacuum Mop 2 Pro or newer versions. A properly configured map allows the device to build optimal routes without skipping sections and not getting stuck in the same places. In this article, we will analyze the entire path from preparing the room to fine-tuning multi-storey plans.

Preparation of the room and device for scanning

Before you start the process of creating a map, you need to provide the perfect conditions for the sensors to work. The laser module or camera should have unobstructed view, so it is recommended to remove from the floor scattered wires, socks, toys and other small objects that can be mistaken for obstacles or cause a stuck. It is also worth raising the curtains and opening the doors to all the rooms that you plan to include in the final scheme, so that the navigation algorithm can freely explore the space.

Make sure the battery is at least 80% battery power and ideally 100%. The initial scanning process can take 15 to 40 minutes depending on the area of the room, and if the charge falls below the critical level during the map construction, the device will interrupt the mission and return to base, retaining only fragmentary data. Also, check that the sensors on the housing and bumper are clean, wipe them with dry soft cloth, as the dust can distort the sensors.

โš ๏ธ Note: Do not attempt to create a map in complete darkness unless your robot vacuum cleaner has a laser rangefinder (LDS). Camera models (VSLAM) or gyroscope requires good lighting for correct object recognition and orientation in space.

An important aspect is the position of the charging station, which should be facing the wall, with free space on the sides (minimum 0.5 meters) and in the front (minimum 1.5 meters). If the base is moved after creating the map, the robot will have to re-search it or build the route again, which can lead to positioning errors, so choose a permanent docking station location in advance.

โ˜‘๏ธ Preparation for map construction

Done: 0 / 5

Starting the initial construction of the map in the application

Once the physical preparation is complete, open the Mi Home app on your smartphone and go to the management interface of your device. You need to find the map management menu, which is usually hidden in additional settings or accessible through a long tap on the device icon in the main list. Depending on the firmware version, the path can look like Settings โ†’ Map Management or through the menu button in the upper right corner of the screen.

To start the process, select the option "New map" or "Build a map." The robot will come out of the dock and slowly move around the perimeter of the room, scanning the walls and furniture. At this point, the smartphone screen will display the outline under construction in real time. Do not interfere with the device: do not pick it up, push it or block the path, otherwise the navigation system will trip and the map will have to be remade.

If the robot is stuck or entangled in wires during the scanning process, carefully release it and return it to the place where it was stuck to continue building from the same point. Once the cycle is complete, the device will return to base, and the app will notice that the new map is saved. Now you can rename it, for example, "First floor" or "Apartment" to distinguish it from other saved plans.

๐Ÿ“Š How long did it take to build your map?
Less than 10 minutes.
15-25 minutes.
More than 30 minutes.
The map didn't build.

Map Editing: Rooms Separation and Zoning

Once you have created the basic outline, you often need to edit it, because automatic room recognition isn't always perfect. The app allows you to manually adjust the boundaries, merge or divide the rooms. To do this, go to map editing mode (usually a pencil icon or an edit button) and select the "Divide the room" tool. Draw the line where the virtual threshold should pass, and the system will divide the single space into two separate zones.

The reverse operation, which is combining rooms, is useful if you have a studio or a large room that the robot has mistakenly broken into several small sectors. Choose the "Combine" tool and connect adjacent areas. You can also assign names to rooms (Kitchen, Bedroom, Living Room), which makes it easier to manage voice assistants and adjust the cleaning schedule for specific rooms. This makes the smart home truly adaptable to your needs.

You can draw red lines where the robot is not allowed to enter (for example, around a flower tray or near a pet bowl), or select areas for general cleaning, which are stored in the device's memory and are valid for each subsequent cleaning, even if you run it remotely.

Editing functionWhat is used forImpact on cleaning
Room separationCorrection of premises boundariesAllows you to clean only the kitchen or bedroom
Virtual wallsBlocking access to zonesProtection of wires, water, toys from getting into the vacuum cleaner
Excessive cleaning areasDouble passage in specific locationsEnhanced cleaning of mats at the entrance or under the table
RenameRoom identificationConvenience of voice control and statistics

Set up maps for several floors

Owners of two-story homes or mezzanine apartments will benefit from the function of saving several maps. Xiaomi vacuum cleaners are able to store up to 4-5 different floor plans. To add a new floor, you do not need anything complicated: just take the charging station and the robot to the next level, make sure that the Wi-Fi signal is strong enough (or use repeaters), and start building a new map through the application menu.

When it first starts on a new floor, the robot may spend some time searching for a base or trying to match the surroundings with the previous map. If it starts to move randomly, it is better to interrupt the mission and manually start the "Maps" or "Scanning" mode. Once built successfully, the system automatically prompts you to save the current map as a new one, giving it a name, for example, "2nd floor".

โš ๏ธ Warning: When moving the base to another floor, make sure the outlet is grounded. Using unearthed outlets or extension cords on different floors can cause floor sensor errors and malfunctions of the laser module.

Switching between floors is automatic if the robot moves itself (which is rare because of stairs) or manually through the app, the main thing is to return the base to the same place where it was when you built the map for the floor, and shifting the base even 20-30 centimeters may require adjustment of the map or partial reconstruction.

What if the robot canโ€™t see the second floor?
If the robot is trying to get attached to the first floor map, try the โ€œClear Mapโ€ option in the map settings before launching to the new level, and make sure youโ€™re on the same Wi-Fi network that the device is attached to, as roaming between networks sometimes causes delays in transferring location data.

Preservation, restoration and backup

One of the most important features is the ability to save and restore cards, which is especially true when moving, cleaning with furniture rearrangement or after resetting the device to factory settings. From the map management menu, select the option โ€œSave the cardโ€ or โ€œBackupโ€ and the data will be uploaded to the Mi Cloud cloud associated with your account.

If you lose a card (for example, after updating your firmware or replacing your motherboard), you can restore it from the cloud. To do this, select Restore from the map menu and specify the desired saving date. The robot will download the geometry of the room and the saved restrictions. However, it is worth remembering that if the furniture in the room has been significantly rearranged, the restored map may require manual adjustment of the virtual walls.

It is recommended to back up your well-configured maps regularly, especially if you frequently change the server region in the Mi Home application (for example, from China to Europe), as when you change the region, local data may not sync automatically.

๐Ÿ’ก

Save the map immediately after successful editing and test cleaning.Don't wait for months, as an accidental reset or app update could result in data loss if it wasn't uploaded to the cloud.

Solving Typical Navigation Problems

Even with all the instructions, there can be situations where the robot is acting strangely, spinning around, can't find a base, or building a porridge instead of a map, most often the problem is contamination of the main sensor. The laser head (LDS) located on the top of the tower must rotate freely. If it is contaminated with hair or hair, it must be cleaned carefully with a cotton swab.

Another common cause of error is dark or black surfaces: Black carpets, glossy black floors, or dark furniture can absorb laser beams or create false reflections, causing the robot to โ€œseeโ€ obstacles or consider the floor to be a cliff, in which case the installation of physical restrictive tapes (if supported by a model) or the creation of wide virtual walls around problem areas helps.

If the robot is constantly losing position and starting to build a map again in every corner, try rebooting the router and the vacuum cleaner itself. Wi-Fi problems can interrupt the real-time scan data transmission. Also check if you have closed access to router ports that can block the connection to Xiaomi servers.

Why can't the robot see the whole apartment on the map?
This is most often due to closed doors during scanning or high obstacles (such as tablecloths) that create blind spots. Open all doors and remove temporary obstacles before you start building the map again.
Can I combine the maps of different apartments into one?
Technically, you can create one big map by connecting the corridors, but that's not recommended. The robot will think that this is one huge room and the cleaning route will become inefficient.
How to reset the map if it is built crooked?
Go to the map settings in the app, select the current map, and click "Delete" or "Clean." Then place the robot on the base and run the full scan again, making sure that no one is in the room.
Does the furniture change the existing map?
Small rearrangements (chairs, toys) are not scary, the robot will go around obstacles, but if you moved the sofa, the closet or changed the layout of the room, it is advisable to update the map, as old virtual walls may be in the wrong place.

๐Ÿ’ก

A quality map is 90% of a cleaning success. Take 30 minutes to perfectly adjust zones and bans now to get a clean floor for years without your intervention.