How to set the trajectory of the robot vacuum cleaner Xiaomi Mi: from map to virtual walls

Xiaomi Mi vacuum cleaners are no longer just random β€œcleaners” that move around the room chaotically.Modern models β€” from Mi Robot Vacuum-Mop 2 Pro to Xiaomi’s flagship Robot Vacuum-Mop 2 Ultra β€” are equipped with laser rangefinders (LDS), But even the smartest device requires the right trajectory tuning to make cleaning efficient, not frustrating. Without a proper configuration of zones, forbidden areas and routes, the robot will waste time on unnecessary maneuvers or skip contaminated areas.

In this article, we will discuss all the ways to control the trajectory, from basic map configuration in the Mi Home app to advanced features like virtual walls, multi-storey maps and manual route editing, and pay special attention to the typical errors that make the robot β€œstupid”: For example, why he can ignore the specified areas or why the map gets lost after moving to a new apartment. 6.x, Which Xiaomi does not advertise in official documentation.

1.Preparation: What to do before setting the trajectory

Before you start editing routes, make sure that the Xiaomi Mi robot vacuum cleaner is ready to β€œtrain.” Without proper preparation, even the most accurate zone adjustments in the application will not work.

First, check the firmware version of the device. Outdated versions (e.g., below) 3.5.8_003024 Mi Robot Vacuum-Mop P does not support advanced mapping features. Update the software via Mi Home in the Device Profile section β†’ Firmware update. If the update is "hanging", try resetting the robot to the factory settings (Reset button on the case) + retention 5 seconds).

Second, provide optimal conditions for scanning:

  • πŸ”¦ Lighting: the room should have enough light (robots with the lights) LDS They also work in the dark, but the cameras of the auxiliary models like the Mi Robot Vacuum-Mop 2 Lite require lighting at least 50 lux).
  • πŸšͺ Free space: Remove small items (wires, toys, shoes) that may interfere with the initial mapping.
  • πŸ“Ά Stable Wi-Fi: Robot must be connected to 2.4 GHz network (5 GHz not supported!) If signal is weak, use repeater.

⚠️ Warning: If there are mirrors or glass partitions in the house, cover them with a cloth during the first scan. LDS It can mistake reflections for real obstacles, which will distort the map.

Finally, run a test cleaning in Full Cleaning mode (not Zone or Point) and the robot must go around the entire room at least 1 time to create a basic map, which can take anywhere from 20 minutes to 1.5 hours depending on the area. Don't interrupt the cleaning and don't carry the robot manually, it will reset the progress.

πŸ“Š What model of robot vacuum cleaner Xiaomi Mi you use?
Mi Robot Vacuum-Mop 2 Pro
Mi Robot Vacuum-Mop 2 Ultra
Mi Robot Vacuum-Mop 2 Lite
Mi Robot Vacuum-Mop P
Another model

2. Basic map setting in the Mi Home app

Once you've done a successful scan of the space, the Mi Home app will have an interactive map, where you can divide the space into rooms, set the cleaning areas and the no-go areas, and let's take a step-by-step look at how to do that.

Open the app and go to the section of your robot vacuum cleaner. Click on the map icon (usually in the lower right corner). If the map doesn't show up, check:

  • πŸ”„ Connecting the robot to Wi-Fi (the indicator on the body should burn blue, not flash red).
  • πŸ“± Mi Home version (upgrade to the latest in Google Play or App Store).
  • 🌐 Account Region (some features are not available if the region is set as Russia – try changing to Europe or China).

To divide the map into rooms:

  1. Click on the Edit card icon (pencil in the upper right corner).
  2. Select the tool Add room and circle the contour of the room with your finger.
  3. Name the room (e.g., "Living Room", "Kitchen") and save it.

To create cleaning areas or no-go zones:

  1. In editing mode, select Add Zone.
  2. Circle the area you want (for example, around the carpet or under the sofa).
  3. Specify the type of zone: Cleaning: the robot will clean only this area. Forbidden: the robot will not enter this area. Mop: wet cleaning only (for hybrid models).

Save the changes and run a test cleaning to check the trajectory.

⚠️ Warning: If the robot ignores the zones after saving them, check the cleaning type settings in the scheduler. For example, if you select the option "Only vacuum cleaner", the zones with the type "Mop" will not work.

β˜‘οΈ Checking card accuracy

Done: 0 / 4

3. Advanced features: virtual walls and multi-storey maps

Base areas are often not enough for complex spaces, such as blocking a robot's access to a ladder or restricting its movement between floors, and virtual walls and multi-story maps will help.

Virtual walls create invisible barriers that the robot doesn't cross.

  • 🚫 Blocking of dangerous areas (stairs, balconies).
  • πŸ›οΈ Fences of sleeping places or children's beds.
  • πŸ• Isolation of places where pets sleep.

To add a virtual wall:

  1. Open the map in editing mode.
  2. Select the Virtual Wall tool (Icon with vertical line).
  3. Draw the line with your finger in the right place (maximum length - 10 meters).
  4. Save and check if the robot is crossing the border during cleaning.

Multi-storey homes can use multi-storey maps, so the robot can save individual maps for each level and switch between them automatically, to adjust:

  1. Move the robot to another floor and start cleaning in Full mode.
  2. After scanning, save the new card in the app.
  3. In the robot settings, activate the option Multi-storey mode.
  4. When changing floors, the robot will suggest choosing the current map.
FunctionSupported modelsLimitations
Virtual wallsAll models with LDS (Starting with Mi Robot Vacuum 1S)Maximum 10 walls per map
Multi-storey mapsMi Robot Vacuum-Mop 2 Pro/Ultra, Mi Robot Vacuum-Mop PRequires manual floor switching in the app
Trajectory editingModels with firmware 4.0+It does not work with a weak Wi-Fi signal.

πŸ’‘

If the robot is confusing floors, add a unique landmark to each level, such as a sticker on the wall or a small object (but not on the floor!). LDS-The sensor can β€œsee” where it is.

4. Manual Trajectory Editing: Secrets of Power Users

Few people know, but in the firmware of robot vacuum cleaners Xiaomi Mi (starting with the version). 3.3.9_002018) It's not possible to manually edit the trajectory, so you can set precise routes, like cleaning the boards or walking around the furniture in the right way.

To activate this mode:

  1. Start cleaning manually through the app.
  2. While working, open the map and click on the Route Editor icon (appears only in Active Cleaning mode!).
  3. Use tools to add path points (the robot will move strictly according to specified coordinates).
  4. Save the route under a unique name (e.g., β€œPerimeter Kitchen Cleaning”).

A few tips for optimization:

  • πŸ“ Put the points of the path at an interval of at least 30 cm, otherwise the robot will β€œtwitchΒ».
  • πŸ”„ Use arc-like trajectories for corners – sharp corners can knock navigation down.
  • 🚫 Avoid crossing routes in one place – this will confuse the planning algorithm.

Please note: manual routes are not saved after a firmware update.To avoid data loss, export maps through Settings β†’ Backup to Mi Home. The file with the.map extension can be downloaded back after the update.

How do I get a remote card back?
If you accidentally deleted the card, try: 1. Reboot the robot (hold the power button for 10 seconds). 2. In the Mi Home app, go to Device Settings β†’ Restore the map. 3. If the card is not restored, start the complete cleaning again - the robot will create a new one.

5.Trajectory Optimization: How to Reduce Cleaning Time by 30%

Even with a map that is properly configured, a robot can waste time, such as driving around the same areas repeatedly or getting stuck in dead ends.

Problem 1: Robot moves around the room chaotically

Reason: Systematic cleaning mode is disabled (available in models with LDS). Turn it on in settings: Cleaning modes β†’ Type of trajectory β†’ Systematic.

Problem 2: Long "thinking" of the route before the start

Solution: reduce the number of zones and virtual walls. A map that is too complex overloads the robot's processor. The optimal number of objects on the map is no more than 15 (rooms). + zone + wall-wall).

Problem 3: Robot skips corners

The suction settings are to blame. Increase the vacuum power in the cleaning settings (e.g., Medium to Maximum) to make the robot drive closer to the walls.

Problem.Probable causeDecision
Robot gets stuck in one placeWeak Wi-Fi signal or communication interruptionUse a network repeater or reconnect the robot
Ignoring no-go zonesUnsaved changes or card failureReboot the robot and re-save the zones
Slow cleaningQuiet cleaning mode is onSwitch to Balanced or Turbo

πŸ’‘

The most effective way to speed up cleaning is to use a schedule with fixed routes, so the robot will calculate the optimal path in advance, rather than building it on the go.

6. Frequent mistakes and how to avoid them

Even experienced users make mistakes when setting their trajectory, and here are the most common ones and how to fix them:

Error 1: The card is not saved after editing

Reason: lack of memory in the robot. Remove old cards (if not in use) via Settings β†’ Also check if the internal drive is full, run the diagnostics in Mi Home.

Mistake 2: Robot gets lost after rearranging furniture

Solution: don't manually edit the map after repositioning, start the full cleaning again. The algorithm will update the location of the obstacles. If furniture moves frequently, use virtual walls instead of physical barriers.

Mistake 3: Cleaning areas are not working properly

Check it out.

  • πŸ“ Zone size – minimum area for cleaning area: 1 mΒ².
  • πŸ”„ Cleaning mode – zones of the type Mop do not work if only a vacuum cleaner is selected in the settings.
  • πŸ“‘ Server communication - sometimes zones are reset due to Xiaomi cloud issues.Reboot app.

⚠️ Note: If the robot after updating the firmware began to ignore all the settings of the trajectory, reset the map through Settings β†’ Reset the map. This will bring back the factory navigation settings, and then you can reconfigure the routes.

7. Alternative methods of trajectory control

In addition to the standard Mi Home app, there are other tools for controlling the Xiaomi Mi robot vacuum cleaner, which will be suitable for those who want more flexibility or face the limitations of official software.

1.Appendix Mi Home (European version)

European version (Mi Home) EU) It often gets updates earlier than the global one:

  • πŸ—ΊοΈ Advanced map editing (e.g., room pooling).
  • ⏱️ Flexible schedule settings (cleaning by week, not by day).
  • πŸ”„ Import/export of cards to the cloud.

To switch to the European version, change your region to Germany or Spain.

2. Firmware from third-party developers

For Xiaomi Mi Robot Vacuum models, there are custom firmwares like Valetudo or Dustcloud.

  • πŸ› οΈ Completely control the trajectory through the web interface.
  • πŸ“Š Get detailed cleaning statistics (including.svg maps).
  • πŸ”§ Configure the parameters of engines and sensors.

Installation of custom firmware requires unlocking the bootloader and may deprive you of warranty. 4PDA or XDA Developers.

3.Voice assistants

If the robot is integrated with Alice, Google Assistant or Amazon Alexa, you can control the trajectory of your voice.

  • β€œAlice, start cleaning the living room” (if the area is called the β€œLiving room”).
  • β€œOK Google, send the vacuum cleaner to the kitchen.”
  • "Alexa, stop cleaning the bedroom."

To do this, activate the voice control option in the robot settings and link it to the assistant account.

πŸ’‘

If voice commands don't work, check if the zone name in the Mi Home app matches the voice assistant settings. For example, if the Mi Home area is called "Kitchen" and Alice you say "Kitchen Zone," the command won't work.

FAQ: Answers to Frequent Questions

Can you set a trajectory without the Mi Home app?
Yes, but with limitations. In models with a Spot Cleaning button, you can manually point the robot to a contaminated area by pressing a button on the case. However, for complex routes, the app is mandatory. The alternative is voice commands via Alice or Google Assistant, but they only work with saved areas.
Why doesn’t the robot save the map after cleaning?
There are several reasons: weak Wi-Fi signal (the robot does not have time to sync data with the server); Robot memory is out (remove old cards); firmware failure (try to update or reset); Save card option is disabled in the settings (includes in Cleanup Settings). β†’ If the problem persists, start cleaning in Full mode and do not interrupt the process until it is completed.
How to transfer the card to the new robot Xiaomi?
Xiaomi does not officially support card transfer between devices, but you can try: Export the card from an old robot through Settings β†’ Backup (.map file) Connect the new robot to the same Mi Home account, start cleaning on the new device and manually edit the map to the new conditions (LDS, The camera map may require serious revision.
What if the robot is constantly β€œlost” in the same room?
This is a typical problem in rooms with lots of glass or mirror surfaces. Solutions: Close the mirrors with a cloth while cleaning. Add landmarks to the room, such as bright stickers on the walls. Split the room into smaller zones (no more than 25 m2 each). Update the robot firmware - new versions improve reflection processing.
Can you set a trajectory to clean only the boards?
Yes, but not in all models. In robots that support manual route editing (for example, Mi Robot Vacuum-Mop 2 Ultra), you can: Create virtual walls along the walls at a distance of 10-15 cm. Start cleaning in the "Along the walls" mode (available in "Cleaning Modes") Use a manual trajectory editor to plot the path strictly along the perimeter. In budget models (for example, Mi Robot Vacuum-Mop 2 Lite), this function is not - the robot will remove the plinth only within the general trajectory.