How to set up the route robot vacuum cleaner Xiaomi: the complete guide

Smart tech owners often face the need to optimize cleaning so that the device doesn’t waste time on already clean areas or get stuck in difficult places.Tunes to the route is a key step in turning chaotic traffic into an efficient system. Xiaomi’s robot vacuum cleaner, equipped with a lidar or gyroscope, is able to build accurate maps, but it requires the right initial calibration to do so.

In this guide, we will discuss how to get Mi Robot Vacuum or Roborock to move according to a given algorithm, bypass obstacles and only remove where it is really necessary. You will learn about the intricacies of the Mi Home application and the hidden navigation features.

Principles of map construction and primary calibration

Before you want the device to follow the perfect route, you need to make sure that you build the map correctly. The lidar sensor on the top panel scans the space, creating a point cloud. If the first run was wrong, the map will contain breaks, which will lead to failures in the logic of the movement.

To successfully calibrate, run the device in Quiet Cleaning or Standard Cleaning mode, opening all the doors in the apartment beforehand. The robot must travel the entire perimeter to fix walls and large objects, at which point you should not interrupt the process or move the base to a new location.

⚠️ Warning: If you move the charging station while you're building the map, the coordinates will be misattached, and the robot will get lost when you get back to base.

After the first cycle, the app will have a black-and-white or color plan of the apartment, and this is the map that will work with the algorithm for laying the path. If the plan shows "holes" or extra rooms (for example, a corridor that is actually part of the living room), the map can be edited manually by combining the zones or separating them with virtual walls.

Configure zones and virtual restrictions

The most efficient way to control a route is to use virtual walls and no-go zones. Unlike the physical magnetic tapes that were used in older models, the modern Xiaomi Vacuum allows you to draw restrictions directly on the smartphone screen. This gives you flexibility: today you forbid entry into the room with toys, and tomorrow you will not enter the area with wires.

To create a limitation, go to map edit mode in the Mi Home app, where you will find tools to draw rectangles (no-go zones) or lines (virtual walls), and the robot will ignore these areas when building a route, even if the collision sensors do not detect an obstacle.

  • 🚫 No-go zone: a square area where the robot will not enter under any circumstances (ideal for bowls of water or heaps of wires).
  • 🧱 Virtual Wall: A line that the device cannot cross but can move along it (suitable for dividing the kitchen and living room).
  • πŸ“ Starting Point: the ability to set a place where cleaning will begin, which is useful for large apartments.

Using these features allows you to create complex scenarios, for example, you can configure the route so that on weekdays the device cleans only the kitchen and the hallway, ignoring the bedrooms, which significantly saves battery power and brush life.

πŸ“Š How often do you use cleaning zoning?
Only on holidays.
Every day for different rooms
Never clean everything up.
Only no-go zones.

Cleaning scenarios: consistency and priorities

Xiaomi's smart algorithms allow you to choose not only the area, but also the sequence of processing of the premises. The standard route is based on the principle of "snakes" or spirals, but the user can intervene in this process. In the map settings, you can number the rooms, giving priority to cleaning.

If you prioritize the kitchen as 1 and the bedroom as 2, the robot will first fully work out the kitchen area, return to base (if you need to recharge or just finish the cycle), and then proceed to the second zone, which is relevant for models with wet cleaning function, where it is important not to blur the dirt throughout the apartment.

⚠️ Warning: When setting up sequential cleaning, make sure the doors between the rooms are open, otherwise the robot will not be able to physically move from Zone 1 to Zone 2 and interrupt (task).

Scheduled cleaning is also available, so you can set different routes for different days of the week, Mondays, full cleaning of all areas, Wednesdays, all the high-traffic areas, and you can create separate scenarios with selected rooms in the app.

β˜‘οΈ Set up a cleaning script

Done: 0 / 5

Solving navigation problems and resetting the map

Sometimes, the robot vacuum cleaner starts to behave inappropriately, spinning around, hitting the legs of chairs or can not find a base, most often this indicates a contamination of the sensors or an error in the memory of the map, the lidar can get stuck, and the wheel can get clogged with hair, which distorts the distance traveled.

The first thing you need to do is check the rotation of the top lidar module, and it should rotate freely, and if there are no mechanical obstacles, but the errors continue, it is recommended that you reset the map, and this will return the device to the factory navigation settings.

The discharge process is as follows:

  1. Open the Mi Home app and select the device.
  2. Go to the settings (three dots in the corner) and find the "Maps settings" item.
  3. Select "Delete the card" or "Reset the card".
  4. Run the device in an open area for re-scanning.

⚠️ Warning: After the map is reset, all the virtual walls and zoning saved will be removed and will have to be reconfigured once the new scan is completed.

Comparison of different models

Not all Xiaomi models build a route the same way. There is a fundamental difference between devices with gyroscopic navigation and those with a laser rangefinder (LDS), understanding this difference will help to properly adjust the expectations of the device.

Models without lidar (often more budget, with a camera on top or without a protruding element) build the map longer and can make more errors when re-entering a room. Laser models scan the room instantly and plot the route mathematically accurately, ignoring changes in lighting.

CharacteristicsGyroscopic navigationLaser navigation (LDS)Visual navigation (VSLAM)
Map accuracyAverage, possible displacementsHigh, up to 1 cm accuracyTall, depending on the light.
Working in the darkYes.Yes.No (light needed)
Building a routeConsistent, zigzagmySpiral from the center or along the perimeterChaotic with photo-linking
CostBudgetaryMedium and highTall.

If you have a gyroscope model, you don't expect to have a perfect repeat of the route every time you run it, it can change trajectory if it thinks it's more efficient to get around a new obstacle, and laser models tend to have perfect geometry.

What if a robot ignores virtual walls?
Sometimes the robot may ignore the exclusion zone if it was established after cleaning started. Virtual restrictions only work if they were active at the time the task was started. If the robot is already out, delete the current task and launch a new one.> Advanced settings through third-party integrations For advanced users who want to gain full control of the route, there is the possibility of integration with smart home systems such as Home Assistant or Yandex Smart Home.This allows you to control the trajectory of the voice or create complex automations that are not available in a standard application. For example, you can configure a scenario: "If the humidity in the room is above 70%, only run the robot into this room from the maximum power of the suction." These functions require a local API key that can be accessed through plugins or special utilities. Using third-party software also allows you to save a month's map history, not just the last one, which allows you to analyze which routes the device thinks are optimal, and adjust them if necessary. Frequently Asked Questions (FAQ) Can you prevent the robot from entering the sofa, but clean it around? Yes, it is possible with the Virtual Wall function. You need to draw a line in front of the sofa legs. However, if the sofa height allows the robot to enter, but it gets stuck there, it is better to use the route directly to the sofa, if the space is built on the sofa? This is due to the diameter of the device and the size of the side brush. If the passage is already 30-40 cm, the robot vacuum cleaner may find it impassable or simply not be able to turn around. In such cases, it is recommended to use the "Edge Cleaning" mode by hand or place the furniture wider. Will the rearrangement of furniture disrupt the built route? A minor rearrangement (chairs, small items) will not knock the route, modern Xiaomi algorithms can bypass dynamic obstacles. However, if you completely change the room layout (removed the cabinet, put a new table), the map is better updated by restarting the full scan of the route, the robot will knock out the built route, and make the vacuum cleaner on the application, only to clean the house? Select the "Select Room" option (or zoning), click on the desired room on the plan and start cleaning. The device will ignore the other areas.