Set up virtual walls for Xiaomi robots in Mi Home

Cleaning management in modern smart homes has long gone beyond just turning on and off. Owners of robot vacuum cleaners Xiaomi and Roborock often face the need to restrict the device from moving to certain areas where cleaning is undesirable or impossible, which can be places with scattered wires, areas with long-pile carpets, or just rooms where pets are right now.

To address these challenges, developers have implemented virtual walls and no-go zones. Unlike physical barriers, these restrictions are customized software-based through the Mi Home app and operate without installing additional sensors indoors. Understanding how LDS or VSLAM navigation works will allow you to maximize the potential of your gadget, preventing stuck and damaged property.

In this article, we will take a look at all the available methods of creating barriers, we will look at the software settings on the map, the use of magnetic tapes for old models and the subtleties of positioning algorithms, you will learn to create complex cleaning scenarios that will fully correspond to the layout of your apartment and your lifestyle.

Principles of navigation and zoning

The fundamental basis for any constraints is the navigation system installed in the vacuum cleaner. Most modern Xiaomi models use a laser rangefinder LDS, which rotates on the device body. This sensor scans the room, creating a precise geometric plan, which is then imposed virtual constraints. Without a properly constructed map, wall installation is impossible.

Another type of navigation is the visual VSLAM, which uses the camera to navigate in space. Models like the Xiaomi Vacuum-Mop P or Valett also support zoning but require good lighting to work properly. In both cases, the virtual wall is a software ban that the robot controller interprets as an insurmountable obstacle.

When the device approaches a predetermined boundary, it gets a signal from the processor to change its trajectory. The algorithm calculates a new path to bypass the forbidden area. It's important to understand that this is not a physical barrier, and if the gyroscopes fail or the map is lost, the robot can ignore the restriction, so calibrating the sensors is critical.

Why does a robot sometimes ignore walls?
If the robot vacuum cleaner regularly crosses the boundaries you set, it may indicate contamination of the laser rangefinder or offset the map. Try to clean the sensor window with soft dry cloth and recreate the map of the room from scratch, removing the old one in the settings.

Differences between no-go zones and virtual walls

In the Mi Home app, users often confuse the two types of constraints, although functionally they perform different tasks. The No-Go Zone is an area where the robot is strictly forbidden to enter. It will circle the perimeter, keeping distance, and it is ideal for places where things lie that can not be wet or sucked.

The virtual wall (No-Mop Zone or Wall) works differently, and in the context of wet cleaning, it's a zone where floor washing is prohibited, but dry cleaning can continue. If you're talking about a classic wall, the robot perceives it as a physical barrier, and the difference is especially important for hybrid models with a wet cleaning module.

Using the right types of constraints allows you to create flexible scenarios, like you can single out the living room carpet as a wash-free zone, and make the children's room with scattered toys completely off limits, and the combination of these tools makes cleaning more efficient and extends the life of the device.

  • 🚫 The restricted zone completely blocks the robot’s passage through the selected section of the map.
  • 🧹 The area without a wash allows passage and dry cleaning, but blocks the water supply and vibration of the cloth.
  • 🧱 A virtual wall creates a linear constraint that the robot cannot cross in any mode.

πŸ’‘

Use the forbidden areas around the water bowls for animals, and even if the robot is not afraid of moisture, it can pour water with its paws or suck the food, which will lead to a breakdown of the turbine.

Step-by-step: creating restrictions on the map

The setup process only begins after the robot has successfully built a map of the room and saved it. Make sure the device is on the base, and the Mi Home app displays the current diagram of your apartment. If the map is not already saved, start a full cleaning and wait for it to be completed.

To get started, go to the device card and find the card settings icon or the map management icon, which is usually located in the upper right corner or in the three-dot menu, and you'll need to select the editing mode, which is often called Map Management or Editing, and in this mode, drawing tools become available.

Choose the type of restriction you want to set. The app will suggest drawing a rectangle for the no-go zone or a line for the wall. With your finger, draw the desired figure on the screen, positioning it exactly above the desired object on the map. After you finish drawing, be sure to click the Save button, otherwise the changes will be lost after you close the menu.

β˜‘οΈ Checklist before setting up zones

Done: 0 / 4

Note that some models allow you to create restrictions only when the robot is on the base. If the edit buttons are inactive, check the status of the device. Also, you should consider that the maximum number of zones can be limited to the memory of the device, usually 10-20 objects per card.

Using magnetic tape for older models

Owners of earlier models, such as the Xiaomi Robot Vacuum 1S or Roborock S5 (in some configurations), may face a lack of software wall function. For such devices, the only physical way to restrict access is to use a special magnetic tape.

The principle of operation is based on magnetic sensors located at the bottom of the robot body, and when the detects device detects the magnetic field of the tape, it perceives it as a wall and unfolds, and you can cut the tape with conventional scissors into segments of any length, adjusting to the geometry of the room.

The main disadvantage of this method is aesthetic. The tape needs to be glued to the floor, and it can be noticeable, especially on light coatings. In addition, over time, the glue can lose its properties, or the tape itself can wear off the wheels of the robot. However, for apartments with complex layouts, this is the only reliable solution.

ParameterSoftware wallMagnetic tape
CompatibilityModels with LDS/VSLAMOld models without screens
InstallationIn the annexPhysically on the floor.
VisibilityInvisible.You can see it on the floor.
FlexibilityHigh (can be changed)Low (must be glued)
πŸ“Š What kind of restriction method are you using?
Program areas in Mi Home
Magnetic tape
Physical partitions
Don't use restrictions.

Set up a schedule for different rooms

Modern smart home systems allow you to not only limit areas, but also tie them to a cleaning schedule. In the Mi Home app, you can create multiple cleaning profiles. For example, the Day Cleaning profile can exclude the bedroom and the nursery, and the Night Cleaning profile can only clean the kitchen and the corridor.

To implement this scenario, go to the Schedule and create a new timer. In the timer settings, select Zone Cleanup, where you can select specific rooms that need to be cleaned and apply restrictions to them, and the rest of the map will be ignored by the robot at that time.

This is especially useful if you have pets that you don't want to disturb at certain times, or if you work from home and don't want noise in the work area, and the system will remember your preferences and automatically apply them when you start on schedule.

⚠️ Attention: If you change zones and schedules frequently, you may de-synchronize the map. If the robot starts acting strangely, reset the map and build it again, removing all time restrictions.

Typical problems and their solution

Despite the advanced algorithms, users may encounter situations where virtual walls don't work, most often the problem lies in the height of obstacles. Laser rangefinder scans space at a certain height (usually 5-10 cm from the floor). If the obstacle is below this level, the robot may "not see" it and ignore the map if it is not stored as a stationary object.

Another common mistake is creating too complex and narrow zones. If the forbidden zone is less than the diameter of the robot itself, the device may get stuck trying to circumvent it by tangential means, it is recommended to make indentations from real objects at least 10-15 cm for maneuver.

Also, the effects of mirrors and dark surfaces should be considered, because a laser can pass through glass or be absorbed by a black carpet, which will distort the map and, as a result, cause the virtual walls to malfunction, in which case it is better to use physical limiters or seal problem areas on a reserved map.

  • πŸ“‰ Robot ignores wall – check if laser sensor is contaminated.
  • πŸ”„ Map shifts – remove unnecessary items and restart the map construction.
  • πŸ”‹ Rapid discharge in zone mode – perhaps the area of the zone is too small for effective maneuvering.

πŸ’‘

The stability of virtual walls depends on the quality of the map that is built, and the more accurately the robot scanned the room initially, the more reliable all subsequent restrictions will work.

Can you use virtual walls without the internet?
Yes, once the card is stored in the robot's memory, it can clean up with limitations even without a Wi-Fi connection, but it won't be possible to change or add new zones without connecting to the application.
How many virtual walls can you install on a single card?
Usually the limit is about 10-20 The exact number depends on the model of the robot and the firmware version. If you exceed the limit, the application will not allow you to save the new zone.
Do magnetic tapes work on carpets?
Technically, yes, but the efficiency is reduced. The pile of the carpet can shield the magnetic field or lift the tape, so that the robot's sensor does not read the signal, and on carpets, it is better to use software constraints.

⚠️ Warning: Do not try to stick magnetic tape over the heating elements of the warm floor.This can lead to damage to the tape and incorrect operation of the robot sensors due to temperature expansion.

In conclusion, virtual wall customization is a powerful tool for personalizing cleaning. Using software zones correctly and understanding the physical limitations of your device will create a fully autonomous clean-up system. Experiment with schedules and zones to find the perfect balance between cleanliness and comfort.