How to Program Xiaomi Robot Vacuum Cleaning Rooms Zone-by-Day

Xiaomi’s modern robotic assistants are no longer just randomly running devices that collect dust at random. Today, they are smart gadgets that can build accurate maps of your home, remember layouts, and perform complex cleaning scenarios. The ability to program a Xiaomi robot vacuum cleaner to work in specific rooms opens up a whole new level of comfort and control over cleanliness in the house.

Zoning allows you to not just run your equipment randomly, but create a clear schedule: for example, clean the kitchen immediately after breakfast, and the living room only in the evening after guests arrive. This flexibility not only saves battery power, but also prolongs the life of the main filter element and the turbobrush. In this article, we will discuss in detail how to turn a chaotic cleaner into a compliant performer of your commands.

With map customization skills, you can prevent the robot from entering areas with wires or long-pile carpets that it can mistake for an obstacle. Precision zoning is a key feature of the Mi Home ecosystem that requires proper initial calibration. Let's look at the step-by-step process of tuning to make your assistant work as efficiently as possible.

Preparation of the device and creation of a basic map

Before you start fine-tuning the individual areas, you need your robot vacuum cleaner to know the layout of the room perfectly, and that's the foundation on which all future scenarios are built. If you've just unpacked your device or moved into a new apartment, start a complete cleanup in No Restriction Mode, removing small items, wires and socks from the floor.

During this first pass, the device will use a lidar or gyroscope to scan walls and furniture. The laser rangefinder on the top rotates and builds a cloud of points that turns into a two-dimensional map. It is important that at this point no one rearranges the furniture or closes the doors to the rooms that are to be accounted for in the plan.

Once the first cycle is complete, the map will be stored in the device's memory and synced to the cloud, and if the map is curved or has breaks, it can be cleared through the service menu and re-engineered, and only with a solid and correct map in hand, does it make sense to move to virtual rooms.

⚠️ Warning: Do not attempt to edit the map or create zones while the robot is running. All changes to the layout are made only when the device is at the charging station and is in standby mode.

The quality of the map depends on the lighting and the cleanness of the sensors, so you can clean the windows of the cliff sensors and the laser module with soft cloth before scanning, and this will ensure maximum accuracy in the construction of the geometry of the room.

Map editing tools in the Mi Home app

The Mi Home (or Xiaomi Home) app interface provides a powerful set of tools for working with space, and to access them, you need to go to the main screen of the device and select the map icon or the "Maps settings" item. Here you will see your apartment on top, divided into conditional areas.

The main tool for sharing space is the Split function, which allows you to draw a virtual line through an existing area, splitting it into two independent parts, and this is especially true for studios or large open spaces where there are no physical walls between the kitchen and the living room.

The second important tool is Merge, where if the robot mistakenly splits one room into two fragments, you can isolate both zones and combine them into one logical unit, which is necessary for the proper display of cleaning statistics and the proper distribution of suction power.

πŸ“Š What type of navigation your robot has?
Laser (LDS)
Chamber (VSLAM)
Gyroscopic
Chaotic

The user also has a tool called Virtual Walls and No-Go Zones, which create an invisible barrier that the robot won't cross, and the other one designates areas where cleaning is prohibited completely (such as places with animal bowls or spilled water), the accuracy of these areas is critical to the safety of the device.

  • πŸ“ Separation: draws a line dividing one room into two separate cleaning areas.
  • πŸ”— Connection: connects several adjacent areas into one logical room.
  • 🚫 Prohibited zone: rectangular area where the robot is strictly forbidden to enter.
  • 🧱 Virtual Wall: Linear Barrier that Prevents Border Crossing.

Using these tools, you can adapt the digital map to real life, where the layout can be non-standard, for example, a long corridor can be artificially divided into segments so that the robot removes them sequentially without losing orientation.

Step-by-step: creation and rooms

The process of programming specific rooms begins with naming them. By default, the app assigns numbers or generic names to zones, which is inconvenient for scripts. Click on map editing, select the desired area, and find "Rename the room."

In the list that opens, select the appropriate destination: Kitchen, Bedroom, Living Room, Bathroom, etc. If you don't have the right option, you can often enter an arbitrary name. Once you assign a name, the room receives a unique identifier that will be used by the task scheduler engine.

β˜‘οΈ Pre-zoning checks

Done: 0 / 1

Now that the rooms are named, you can start setting the settings for each room, go to the settings of a particular room (usually through a long tap or property menu), and you can prioritize cleaning or select the mode of operation for that particular area.

⚠️ Warning: Renaming rooms will reset the accumulated statistics on cleaning frequency for a given area.

For complex layouts where one physical room is an L-shaped room, use a combination of separation and unification. First divide the area into rectangles, remove unnecessary partitions, and then combine the desired parts to create a single zone with the right name.

Once all the rooms have been named, the system will suggest saving the changes, and once saved, the map will become active, and you can use the room names in voice commands and automations.

Set up a cleaning schedule by zone

The most powerful feature that zoning gives is flexible schedules. Standard mode cleans the entire apartment at once, which is not always necessary. In the "Timer" section, click on adding a new task. Unlike the usual time setting, you will see the option to select rooms.

You can create a kitchen and hallway task at 8:00 a.m. while you're still asleep or drinking coffee, and a living room task at 14:00 when everyone's gone on business. You can set a customized suction power and operating mode (quiet, standard, turbo) for each task.

The secret to quiet work
If you are putting a bedroom cleaner at night, be sure to set the Silent mode and turn off voice support in the robot settings so as not to wake up the household.

Customizing repeated events allows you to create a fully autonomous cycle, for example, wet cleaning in the bathroom can be started every three days, and vacuuming the carpet in the living room daily, and the flexibility of the scheduler allows you to take into account the rhythm of your family life.

ZoneLaunch timeRegime.Power
Kitchen.08:30Just a mob.Medium
Living room12:00Vacuum + Mopturbo
Bedroom.15:00Vacuum cleanerQuiet
BathroomSaturday 10:00Just a mob.Maximum

When creating a schedule, make sure the battery is sufficiently charged to complete the task. If the robot goes off to charge in the process, it can resume cleaning, but this will increase the overall execution time of the script.

Use of virtual walls and forbidden areas

Programming a robot is not just about telling where to clean, it's also about where not to remove. Virtual constraints act as a software barrier. Unlike the physical magnetic tapes that were used in the old models, here the boundaries are drawn with your finger on your smartphone screen.

No-Go Zones are usually overlaid on places where there might be wires, legs of chairs with sharp edges, or animal trays, and the robot will circle around that square or circle, even if the map is perfectly constructed, which saves the device from getting stuck.

πŸ’‘

Tip: Place forbidden areas with a small margin (10-15 cm more than the real object), as the robot's inertia when turning can lead to the touch of the obstacle.

Virtual Walls are lines that a robot can't cross, and it's convenient for separating zones when the door to a room is open, but you don't want a robot to go in. The line works like an invisible wall a few meters high.

If you move a sofa or flower, be sure to move the virtual barrier in the app, otherwise the robot may start ignoring real obstacles by relying on an outdated ban map.

  • πŸ”΄ Red Zone: Absolute ban on entry and cleaning.
  • 🟣 Purple Line: Ban on Border Crossing.
  • πŸ”„ Linking: Zones move with the map when it is updated.
  • πŸ“± Editing: available at any time, even during cleaning.

These features are especially relevant for pet homes, and you can secure a bowl of water or toys by creating a buffer zone around them.

Script automation and voice control

The smart home ecosystem allows you to go beyond the standard schedule. Integration with Google Assistant, Amazon Alexa or Alice Yandex allows you to start cleaning specific rooms in voice. The phrase "Alice, turn on the robot in the kitchen" will trigger a pre-created script.

In the Mi Home app, you can create complex If-That scenarios, like, "If a smart lock opens and everyone leaves the house, start cleaning the living room." Or, "If the air quality sensor shows dust, turn the robot on in turbo mode in the hallway."

⚠️ Warning: Complex scenarios require a stable Internet connection and a running Xiaomi cloud server.

You can also set the robot up so that after the main cleaning is completed, it automatically enters a certain area (for example, under the table) if there is a virtual point of interest.

πŸ’‘

Voice control and automation scenarios turn a regular vacuum cleaner into a full-fledged participant in a smart home, responding to events in real time.

By combining zoning, schedules and external triggers, you get a fully autonomous cleanliness system that requires minimal human intervention.

Solving Frequent Problems with Cartography

Sometimes the robot can get lost or build an error map, making it impossible to properly zoning, often due to poor lidar visibility or too dark/black objects that absorb the laser beam.

If the map is constantly being dropped or the rooms are floating, try resetting the map and rebuilding it again, providing good lighting, also checking if the dust sensor or the wheels are taped, and the purity of the sensors is the key to accurate navigation.

In some cases, limiting the scanning area helps: Close the doors to unnecessary rooms while you build the map so that the robot focuses on the main living area, then gradually open up new spaces, allowing the map to expand.

If the robot ignores the restricted areas, make sure you keep the changes after drawing, sometimes requiring a reboot of the application or the device itself to apply the new coordinates of the barriers.

Why can't a robot see a room after splitting?
This can happen if the separation line is drawn too close to the wall or obstacle. The laser beam has a minimum detection distance. Try to push the separation line 10-15 cm from the wall and repeat the operation. Also make sure that there is no high threshold or elevation difference at the separation site.
Can I save several cards for different floors?
Most modern Xiaomi models (with LDS) support saving up to 5 cards. To do this, you need to manually save the current card in the settings, then clear the memory and build a new one for another floor. Switching between floors occurs automatically when you move the base, but it is better to do it manually through the application.
What if the application does not save zone settings?
Check the firmware version of the robot and the Mi Home app. Outdated software often contains card synchronization bugs, and try changing the region in your account settings (for example, from Russia to China or vice versa), as servers can work unstable.
How often should I update the map?
If you haven't changed the furniture, you don't need to update the map. The robot uses the accumulated data to navigate. However, if you notice that it's getting stuck or hitting furniture more often, you should remodel the map to update the coordinates of the obstacles.