Creating a room map for a robot vacuum cleaner Xiaomi

Modern models of smart cleaning devices from the Xiaomi brand have impressive functionality that becomes available only after the correct initial setup. Many users mistakenly believe that it is enough to just start the gadget, and he will understand the layout of the apartment. However, for the efficient operation of the navigation system LDS-A laser or visual camera requires a full scan of the space, without which the device will operate in a chaotic mode, often getting lost and missing areas of the floor.

The process of building a digital copy of your home takes time, but the result is worth it: you get the ability to specify specific areas for cleaning, set virtual bans, and even divide the map into rooms for more accurate management. In this article, we will detail how to prepare the room, start scanning and edit the resulting scheme in the Mi Home or Xiaomi Home application. Competent settings at the start will save you many problems with getting stuck and inefficient cleaning in the future.

Preparation of the premises before the first launch

The quality of the final map depends on how well you have prepared the space for the scan. The robot must move freely, and its sensors must read the environment without interference. Before starting the procedure, you must remove from the floor all small objects, wires, socks and toys that can get tangled in the brushes. It is also worth lifting curtains and curtains if they hang to the floor, since the robot can mistake them for an obstacle or get stuck in the folds of tissue.

Pay special attention to lighting and floor conditions. Navigation systems, especially visual (VSLAM), require enough light to navigate correctly. Make sure the rooms have curtains open and artificial lights on. Dark corners or glare on glossy tile can confuse algorithms, leading to errors in building the geometry of the room. If you have a model with a laser rangefinder, the light requirements are slightly lower, but total darkness is still undesirable.

⚠️ Warning: Before starting scanning, be sure to wipe the sensors and laser module with dry soft cloth.

It's important to have access to all the areas you want to see on the map. Open all the interior doors, remove the sills if possible, or prepare the device to overcome them. If there are places in the apartment where the robot should not exactly go (such as carpets with a high pile or areas with scattered cables), they are better temporarily isolated physically or be ready to create virtual barriers immediately after scanning. Preparation takes 10-15 minutes, but greatly speeds up the entire process.

Installation of the application and interface of the device

You will need official software to manage the smart assistant. Download the Mi Home or Xiaomi Home app from the official Google Play or App Store. Once installed, register an account or log in to an existing one. Make sure your smartphone is connected to a 2.4GHz Wi-Fi network, as most Xiaomi devices do not support 5GHz, which is a common cause of connection errors.

Turn on the robot vacuum cleaner by holding the power button or button combination (depending on the model) until the Wi-Fi indicator starts flashing. In the app, click the device add button ("+") and select your gadget from the list or wait for automatic detection. Follow the instructions on the screen to enter the Wi-Fi password. Once successfully paired, the device will update its software components, which can take several minutes.

  • πŸ“± Make sure your smartphone has geolocation and Bluetooth enabled for a quick device search.
  • πŸ“Ά Check the stability of the Wi-Fi signal at the robot launch point (base).
  • πŸ”‹ Charge the device to at least 80% before starting the map.

Once connected, be sure to check the firmware version in your device settings. Manufacturers regularly release updates that improve navigation and mapping algorithms. If an update is available, install it before scanning. This is a critical step, as older versions of the software may contain bugs that prevent the correct storage of layout data.

The process of primary scanning and mapping

Now, the most important thing is to start a robot to create a map, put it on a charger where it will stand permanently, move the base after you build the map, can lead to a desynchronization of coordinates, and the robot will have to re-examine the space. Press the "Cleaning" button in the application or on the device body, the robot will go out of the base and start moving around the perimeter of the room, scanning the walls and furniture.

Unlike chaotic cleaning, when you build a map, it moves more slowly and methodically, it spirals around the room or along the walls, fixing the distances to objects. During this time, do not interfere with the process: do not lift the robot in your arms, do not push it, and try not to walk on your trajectory. If the device loses orientation, the process will have to start again.

πŸ“Š How often do you plan to do a wet cleaning?
Every day.
2-3 times a week
Once a week.
Only on holidays.

As you scan, watch the process through the app in real time, you will see your apartment plan drawn online on your phone screen. If you notice that the robot is stuck in digital space (whirling in place or hitting the same angle), you should interrupt the cleaning, eliminate the physical cause (for example, too dark color of the carpet, which sensors mistake for a hole), and start the scan again.

β˜‘οΈ Checklist before starting scan

Done: 0 / 5

Editing the map: division and unification of rooms

Once you've completed the first pass, you'll get a rough version of the map. Often the automation doesn't divide the space quite the way we're used to. For example, a corridor can be combined with a living room, or one large room divided into two because of a tall cabinet. The app allows you to manually edit those zones. Go into the map settings, select the "Separate" or "Combine" tool, and draw a line where the border should be.

The separation feature is particularly useful for creating zoned cleaning. You can separate the kitchen and the hallway to set different suction power modes for each room. The combination helps if the robot mistakenly splits the studio into several small sectors. The accuracy of manual editing is high, but it requires care: try to draw boundaries clearly along walls or tile lines.

Action.Tool in annexThe result
Splitting spaceSplit (Split)Creation of two independent rooms in one zone
Consolidation of zonesMerge (Merge)Confluence of adjacent areas into one room
RenameEdit the nameAssigning a clear name (Kitchen, Bedroom)
Turning the mapOrientationNorth-South adjustment in the diagram

Remember to rename the rooms you've created. Names like "Room 1," "Room 2" will quickly confuse you when you set up your schedule. Give them clear names: "Kitchen," "Living Room," "Children's," which will make it easier to use voice control through AliYuan or Google Assistant if you're planning to integrate a vacuum cleaner into your smart home system.

Configuring virtual walls and forbidden areas

One of the most powerful features of Xiaomi’s smart vacuum cleaners is the ability to create virtual constraints. You no longer need to buy physical magnetic tapes. The app has three types of restrictions: invisible walls, no-go zones, and no-cleaning zones (for detergent models). The virtual wall works as a barrier that the robot won’t cross, and the no-go zone is a square where the device is completely denied entry.

Use these tools to protect areas with often scattered things, animal bowls or fragile objects on the floor. For models with wet cleaning function, it is critical to create washing zones around carpets and palaces. You can adjust the map so that the robot will vacuum the carpet, but when you turn on the wet cleaning mode, it will automatically bypass it by the side without wetting the pile.

⚠️ Attention: Virtual walls are tied to map coordinates, and if you move the charging base or large furniture that serves as a reference point, the boundaries of the no-go zones may shift relative to reality.

You can set up by simply drawing rectangles or lines directly on a map in the app, you can create multiple zones for different scenarios, for example, by restricting access to the nursery in the daytime, and opening all areas in the evening, and the flexibility of the settings allows you to adapt the robot to any, even the most complex, apartment plan.

What if a robot ignores virtual walls?
If the device crosses the virtual barrier, check if the robot's inertia is too high at high speed. Try lowering the suction power in the settings or expanding the exclusion zone by 10-15 cm each way. Also make sure the card has not been reset.

Keeping several maps and working with many floors

Owners of two-story homes or apartments with incorrect layout will benefit from the function of saving several cards. flagship models Xiaomi allows you to store in memory up to 4-5 different cards. This means that you can carry the robot to another floor, and it will remember the previously saved circuitry, without starting the scan again. However, to activate this feature often requires manually save the current card after cleaning.

To add a new floor, run the robot on another level of the house, and the device will understand that the surroundings do not match the saved one, and will suggest creating a new map. After cleaning, remember to go to the map settings and select Save by giving it a name, for example, "2nd floor", and then switching between floors will occur automatically when you move the base or manually through the menu.

  • 🏠 For each floor, it is desirable to have a separate charging base so that the robot can independently return to charging.
  • πŸ”„ When you move the device to another floor, let him 1-2 minutes of orientation before launch.
  • πŸ’Ύ Check your saved cards regularly for errors, especially after repositioning the furniture.

Many maps require discipline, and if you forget to keep the second floor map, the robot might try to impose a new layout on the old one, creating chaos. Always control the switching process. This feature is especially convenient for large houses, where cleaning all floors is impossible immediately because of the capacity of the battery.

πŸ’‘

Use Room labels for different floors with a prefix, such as 1-Kitchen and 2-Kitchen, to avoid confusion in the list of rooms when setting up a schedule.

Solving Frequent Problems in Mapping

Even with perfect training, there may be failures. The robot may get lost, start spinning in place, or build a map with tears. Often this is due to mirrored surfaces, black glossy objects, or too high thresholds. The laser rangefinder may not see the transparent glass, and the fall sensors may react to the black color of the carpet as a cliff, in which case the installation of physical limiters or the sealing of problem areas with paint tape helps.

If the card is constantly reset or not saved, check the memory of the device. Overflowing cache can interfere with the recording of new data. Try to reset the card through the application and start the process again, after cleaning the dust collector and wiping the wheels. Also make sure that the charging base legs are tight on the floor and do not stagger, since the base serves as the main reference point.

⚠️ Warning: Do not use a robot vacuum cleaner to build a map in complete darkness unless it has a laser navigator. Visual models in the dark go blind and can damage furniture.

In difficult cases, when standard methods don't work, you can try to train a robot by manually running it around the problem perimeter in spot cleaning mode. Sometimes it takes several cycles for the SLAM algorithm to finally settle down and remember the complex geometry of the room, patience and attentiveness at this stage will pay off with impeccable work in the future.

πŸ’‘

The quality of the map depends on the preparation of the room by 90%: the removed wires and good lighting solve most problems with navigation.

Why doesn’t the robot save the map after cleaning?
This is most often due to interruption of the cleaning process before returning to base, the map is stored only after successful completion of the cycle and docking with the charger, and also check whether the dust collector is full and the wheels are locked, which may prevent return.
Can I edit the map on the computer?
Officially, map editing is only available through Mi Home or Xiaomi Home mobile apps on iOS and Android. The web version or PC programs do not provide such features. For complex edits, use a large-screen tablet.
What to do if the robot gets lost on the map?
Press the back button. If that doesn't work, pick up the device, move it to the base and start it again. The application may need to "Restore the map" or "Edit" to manually specify the current position of the robot.
How often should I update the map of the room?
If you don't change the furniture, you don't need to update the map. The robot has been using the same map for years. The upgrade is only required after a major rearrangement, repair or purchase of new large furniture that changes the geometry of the aisles.