Setup of the map of the robot vacuum cleaner Xiaomi: the complete guide

Modern robotic cleaners are no longer just randomly running devices. Models from the Xiaomi brand and their sub-brands like Roborock or Viomi use advanced LDS or VSLAM navigation technologies to build an accurate digital plan for your home. However, in order for the gadget to work effectively, it needs to properly β€œexplain” the geometry of the premises. The initial map setting is the foundation on which all the logic of the smart home in the context of cleaning is built.

The process of creating and editing a map requires the user to be careful and follow a certain sequence of actions. If you miss the preparatory stage or make a zoning error, the robot can start confusing rooms or ignore important areas. Virtual restrictions and floor division allow you to turn a simple cleaner into a full-fledged butler who knows where to clean and where to enter is forbidden.

In this guide, we will take a look at all the steps of mapping in the Mi Home ecosystem, learn how to fix scan errors, how to divide rooms correctly, and why you need invisible walls. Proper calibration of the device will save you time and nerves in the future, ensuring perfect cleanliness without unnecessary noise.

Preparation of the premises for the first launch

Before you start the mapping process, you need to prepare a physical space. The robot's navigation algorithm relies on lidar or camera data that can be distorted by foreign objects. Remove wires, socks, toys and other small objects from the floor that can get stuck in brushes or confuse sensors. The ideal first pass surface is a clean floor with no temporary obstacles.

Provide good lighting in all rooms, especially if you use a model with optical navigation VSLAM. Dim light can lead to the fact that the digital cast of the apartment will be inaccurate, with blurred walls or missing corners, it is also recommended to close the doors to areas where the robot does not need access, or where it should not yet enter.

⚠️ Warning: Do not attempt to build a map if the battery is less than 80% charged, interrupting the process due to discharge will result in the preservation of a fragmented map, which will have to be removed and recreated.

It's important to check the status of the sensors before you start. Wash the drop sensor windows and bumper with soft dry cloth. Even a thin layer of dust can distort the distance to the walls, and artifacts will appear on the map in the form of false obstacles or curved corridors.

β˜‘οΈ Preparation for map construction

Done: 0 / 4

The process of primary scanning of the premises

Starting the initial scan is a critical moment. Place the dock against the wall in free space, observing the recommended distances to obstacles (usually 0.5 meters on the sides and 1.5 meters in the front). In the Mi Home app, select your robot and press the start button. The device will start moving around the perimeter, creating a rough outline of the apartment.

During this process, it is strictly forbidden to move the base or lift the robot in your arms. If the device is stuck, carefully release it and return it to the same place, allowing you to continue working. Any forced movement knocks down the grid, and the robot will lose orientation in space.

Once you've finished cleaning or returned to the base, the map will be stored in memory, and in the app interface you'll see a schematic image of your home, and at this point, the structure may look rough, but it's a normal base model that we'll be editing next.

What to do if the robot gets lost?
If the robot started spinning randomly or went in an unknown direction during the scan, it probably lost position. Press the return button to base. If that didn't work, restart the device and start scanning again, making sure the room is light and quiet.

Editing the map: division and unification of rooms

Automatic room recognition works well in standard layouts, but often requires manual fine-tuning. The map settings menu (usually the map icon or Editing) provides tools for working with space. The separation feature allows you to draw a line where there should be a doorway or arch, splitting one large area into two separate ones.

Sometimes the robot mistakenly combines the hallway and the living room into one room because there are no clear boundaries. Using the "Separate" tool, draw a line from wall to wall. The system will suggest that the action be confirmed, after which the rooms become independent units for targeted cleaning.

The reverse is that the narrow passageway between the rooms can be perceived as a separate micro-room, and the unification tool allows you to erase the boundary between two adjacent zones, making them a single cleaning space, which is useful for studios or large living rooms combined with the kitchen.

πŸ’‘

When dividing rooms, try to draw a line exactly in the middle of the doorway or along an imaginary wall line, which will help the robot position itself more accurately during subsequent cleanings.

After making the changes, remember to save the map. Some models require renaming the rooms to make voice control work properly. Name the zones in plain words: "Kitchen," "Bedroom," "Adjournment," so that teams like "clean up the kitchen" work smoothly.

Configure virtual walls and forbidden areas

One of the most powerful features is creating invisible barriers. Unlike the physical magnetic tapes that were used in older models, virtual walls are customized software-based. You can draw a line that the robot will never cross, even if there is a perfect passageway.

There are two main types of restrictions: walls that block movement across a certain border (such as the entrance to the nursery or the balcony); the second type is forbidden areas (squares) where you can not enter at all; this is ideal for protecting water bowls for animals, fringed carpets or places where wires often lie.

Type of restrictionThe shape on the mapApplicationRobot behavior
Virtual wallLineDoorways, entrances to roomsNot crossing the line, turning around
Prohibited zoneSquare/RightanglePet bowls, carpets, wiresGoes around the perimeter of the zone.
No cleaning areaCircle/ZonePlaces of frequent congestionIgnoring during scheduled cleaning

The restrictions are set in the same map editing menu, and just select the right tool and draw a figure on your smartphone screen with your finger, and the changes take effect immediately after saving, allowing you to flexibly manage the logistics of cleaning in real time.

πŸ“Š What type of navigation your robot has?
LDS (laser turret)
VSLAM (camera)
Gyroscopic navigation
Don't know/Other.

Working with multi-storey apartments

For owners of houses or two-level apartments, the issue of storing several maps is relevant. Modern Xiaomi models allow you to save up to 4-5 different floor plans. However, the robot does not know that it has moved to another floor unless it carries the base with it.

To set up the second floor, you need to physically move the dock and robot to a new location. In the application, you need to select the option β€œSave a new map” or β€œAdd a floor”. The device will perform a full scan of the new space and save it as a separate file. When you return to the first floor, you need to repeat the procedure by selecting the corresponding saved diagram.

⚠️ Warning: The robot cannot autonomously move between floors. Every time you change floor, you have to manually select the appropriate map in the app, otherwise the navigation will go wrong, and the device can start building porridge from two different layouts.

Switching between cards takes a few seconds. Make sure the Wi-Fi signal is stable on all floors, as a permanent connection to the server is required to download and store cloud layout data.

Frequent errors and ways to fix them

Even with perfect preparation, there can be failures, and one of the common problems is that the map is "distracted" when the plan of the room is shifted or deformed over time, which often happens if the room has moved heavy furniture or changed the placement of large objects, in which case a full reset of the map and re-scanning helps.

Another problem is that the robot can't see the room, even though it's open, and this could be because the doorway is too narrow for sensors, or it's too dark in the hallway, so try to open the door wider, or add artificial light, and also check if you've closed the doorway with a leg of a chair that the algorithm perceives as part of a wall.

If the card is constantly floating or the robot loses base, check the dock legs. They should fit tightly to the floor. In some cases, cleaning the charging contacts on the base and vacuum cleaner helps, since poor contact can cause failures in the transmission of data on the completion of the cleaning.

πŸ’‘

The stability of the map depends on the constancy of the surroundings, and try not to change the arrangement of large furniture immediately after the map is built.

Questions and Answers (FAQ)

Can I save my card if I have sold my apartment or have a renovation?
Yes, you can save the current map in the cloud, but for repairs, you better create a new one. With global changes (wall demolition, furniture relocation), the old map will become useless and interfere with navigation.
Why does a robot ignore a virtual wall?
Check if the changes are saved. Sometimes the app shows a restriction but doesn't send a command to the device. Try to start cleaning again after the walls are installed. Also make sure the firmware version is up to date, as there may have been bugs with zone treatment in the older versions.
How many memory cards do you need for several floors?
No separate memory card is required. All cards are stored in the device's internal memory and duplicated in the Mi Cloud cloud account, the limit is usually between 4 and 10 cards depending on the robot model.
What if the card is turned 180 degrees?
This happens if the robot starts scanning on the other side of the room, and the map editing menu has a feature called "Turn the map," and use it to align the plan with the actual orientation of the walls, and then the positioning will be restored.