How to draw a map for a robot vacuum cleaner Xiaomi

Modern robotic vacuum cleaners from the Xiaomi brand and its sub-brands like Roborock or Viomi have impressive autonomy. However, to maximize efficiency, they require accurate navigation around your home. A virtual map is not just a beautiful picture in the application, but a complex navigation matrix that the device builds and improves with each cleaning cycle.

Many users mistakenly believe that the map is drawn automatically and instantly, but often face problems: the device confuses rooms, gets stuck in the same places or ignores important areas. Manual adjustment and proper initial calibration allow you to turn chaotic movement into a logical route. In this guide, we will discuss how to properly configure virtual boundaries so that your gadget cleans exactly where it needs to be.

The process of customization can seem complicated only at first glance. In fact, the Mi Home app provides powerful tools for managing space. Virtual walls, room division and no-go zones are all features that are available after basic setup. Let's look at how to make the technique work at maximum efficiency.

Principles of navigation construction laser rangefinder

Most modern models use technology LDS (Laser Distance Sensor: This is a rotating sensor on the top of the device that emits laser beams and scans the room, and then you build a point map of the surroundings from the reflected beams. If you want the robot to draw the map correctly, you need to provide it with the perfect conditions for scanning.

The first run should always be in map-building mode, not full cleaning mode, where the robot vacuum cleaner will go around the perimeter without sucking in dust, saving battery life and allowing you to focus on the geometry of the room. It's important that the house is light and all the doors are open if you plan to scan the entire apartment at once.

⚠️ Warning: Do not try to move the base or the robot itself during the first map construction, this will lead to a misalignment of coordinates and the formation of an incorrect digital cast of the room.

SLAM (Simultaneous Localization and Mapping) technology allows the device to simultaneously determine its location and build a map. However, the algorithm can go wrong in long corridors or rooms with the same furniture, which is why the initial run is critical to forming the correct map skeleton.

πŸ“Š How often do you do a complete cleaning with a robot vacuum cleaner?
Every day.
2-3 times a week
Once a week.
Only on holidays.
I rarely use it.

Preparation of the room for the first scan

The quality of the final circuit depends on the preparation of the space. The laser sensor may not notice black objects (for example, black legs of chairs) or transparent glass partitions. Before starting the process, it is recommended to remove wires, toys and small objects that may get stuck in the brushes.

Make sure that the base charge is at least 80%, It's fully charged, and it can take a lot of time to scan a large apartment. 40-50 If the battery sits in the middle, you'll have to build it again.

  • 🧹 Remove all wires and cables from the floor to avoid getting stuck.
  • πŸšͺ Open all interior doors for end-to-end floor scanning.
  • πŸ’‘ Provide good lighting as optical floor sensors work better in light.
  • πŸͺ‘ Lift chairs or ensure a gap between the legs of furniture at least 10 cm.

If you have mirrors in the floor or very dark furniture, the robot may perceive them as an extension of space or, conversely, as a cliff, in which case you may need to install physical or virtual limiters after you build the basic scheme.

Step-by-step: start of map construction

To get started, open the Mi Home app on your smartphone. Select your device from the list of devices. In the upper right corner, click the three-point button to enter the settings menu. Find the Settings card or Map.

From the map management menu, select the option "Build a map" (or "Scan"). The robot will leave the base and start moving around the perimeter. At that moment, on the phone screen, you will see the gray outlines of the walls being drawn in real time. Don't interrupt this process.

β˜‘οΈ Checklist before scanning starts

Done: 0 / 5

Once the detour is complete, the device will return to base, and the app will suggest you save the diagram you received. Click Save and give the map a name, like "First Floor" or "Apartment." Now you have a basic framework that you can edit.

⚠️ Warning: If the robot lost Wi-Fi connection during the scan, it can complete the construction, but not save the map in the cloud.

Editing: Rooms splitting and virtual walls

Once you've saved the basic circuit, you often have to divide the space into logical zones. Automatic room recognition works well, but sometimes the algorithm combines the kitchen and the living room into one space. Use the "Separation" tool to fix it.

Draw a separation line where you think the boundary should be, like between a kitchen set and a sofa, and once separated, you can name each zone and even choose the type of coating (carpet, tile, wood) that will affect the suction capacity.

FunctionDescriptionImpact on cleaning
Virtual wallThe invisible line that the robot doesn’t crossProhibition of entry to certain areas
The no-go zoneA square area that should be ignoredProtection of pet bowls and wires
Zoned cleaningSelection of specific rooms for cleaningSavings in battery and time
Cleaning procedureRoom numbering (1, 2, 3...)Definition of circumvention sequence

To create virtual walls, go to map editing mode and select the appropriate tool, you can draw lines of any length, which is especially useful for isolating the room where the child sleeps, or areas with scattered toys, where the robot is not allowed to enter.

Configuring forbidden zones and magnetic tapes

No-Go Zones allows you to create square areas where a robot should not go under any circumstances, ideal for protecting floor vases, animal water bowls, or computer tangles of wires.

Unlike lines that a robot can try to traverse, a square zone is an absolute taboo for navigation algorithms. To add one, select the Zone tool from the map menu and stretch the square on the desired area. You can create up to 10 of these zones per map.

Some old models or specific scenarios require physical magnetic tapes, which are glued to the floor, and the robot, feeling the magnetic field, unfolds. Virtual analogs in the application work more reliably, because the tape can be accidentally hit with a foot or moved when washing the floor.

  • 🚫 Use no-go zones to protect water sources and trays.
  • 🧢 Isolate places with lots of wires on the floor.
  • πŸ›‹οΈ Limit access to low furniture where the robot may get stuck.
  • πŸšͺ Create temporary barriers to insulation of rooms.

Keeping several maps and working with floors

Owners of two-story houses or apartments with complex layouts will appreciate the multi-card function. Top models Xiaomi and Roborock allow you to save up to 4 different cards. This means that you can have a separate scheme for the first floor, second floor and even for the cottage if you carry the robot with you.

To add a new floor, simply take the robot to a new level, start building a new map, and save it as Floor 2. When you move the base to a new floor (if the base is one), or when you move the robot, the device automatically recognizes the location if it is already familiar, or suggests you create a new circuit.

It is important to understand that switching between cards requires manual activation in the application, if the robot itself has not determined the location over Wi-Fi. MAC-router address and location of base station.

⚠️ Warning: When moving the robot to another floor, be sure to turn it off before moving and turn it on already in place, which will help the localization system reset the old coordinates and start scanning again.

Each floor can be adjusted to its own schedules and cleaning options, for example, in the kitchen (first floor) you can put maximum power, and in the bedroom (second floor) - quiet mode and only on Fridays.

Solving Common Navigation Problems

Even a perfectly designed map can require correction over time, and if the robot starts to get lost, build a map over an old one, or create a double wall, it's probably a problem with the sensors getting dirty, wipe the bottom cliffs sensors and the side wheel.

A common problem is shifting the base, and if you accidentally hit the base, the robot might think it's not at home, and the app has a Map Recovery feature, or the ability to manually move the base on the circuit to the correct position relative to the walls.

If the robot is constantly trying to jump on a high-pile carpet or gets stuck on the doorstep, use the carpet bypass feature (if you have one in the model) or create a virtual wall in front of the obstacle.

In difficult cases, when the card is completely "got", it is recommended to perform a full reset of the map in the settings and start the construction process again, observing all the rules of preparation of the room.

Can I use a robot vacuum cleaner without saving the map?
Yes, most models have a "no map" or chaotic cleaning mode, in which case the robot moves randomly until it clears the area or the battery dies, but the efficiency of such cleaning is much lower, and the function of the washing wipe will not work.
What if the robot can’t see the room behind the open door?
Make sure the doorway is wider than the robot itself (usually around 40-45 cm). If the doorway is narrow, the robot may hesitate to come in. Also check if there is a high drop on the threshold, which the bumper sensor perceives as an obstacle.
How often do I need to remodel the map?
You only need to remodel the map if you're seriously remodeling, buying new bulky furniture, or changing the arrangement of basic items, and in a routine cleaning, the robot makes micro-corrections to the existing circuit.
Does the card work if the internet is gone?
The cleaning will continue because the map is stored in the robot's memory, but you won't be able to control the device remotely or see the statistics in real time until you reconnect with the server.