How to save the map of the robot vacuum cleaner Xiaomi Mi: expert guide

Owners of modern automatic cleaning systems often face a situation where, after updating the firmware or accidentally moving the base, the Xiaomi robot vacuum cleaner loses orientation in space. This is annoying, since you have to re-construct the map, which takes a considerable time and requires the presence of a person at home. Understanding how to save the map of the Xiaomi Mi robot vacuum cleaner is a critical skill for comfortable operation of the device in the long run.

Modern models, such as Xiaomi Mi Robot Vacuum Mop 2 Pro+ or Xiaomi Vacuum-Mop Essential, use laser rangefinders (LDS) or cameras (VSLAM) for navigation. This data is stored in the internal memory of the device, but its integrity depends on many factors, including the stability of the network connection and the correctness of the manufacturer's servers. In this article, we will discuss in detail the mechanisms of the navigation system and provide proven methods for protecting your data.

Many users mistakenly believe that the map is tied exclusively to the account in the cloud, but the physical location of the base and the cleanliness of the sensors play an equally important role. If you want to avoid situations where a smart home turns into a blind gadget, you need to understand the technical nuances of the mapping algorithms. We will look at both the regular tools of the Mi Home application and advanced methods of backup for enthusiasts.

Principles of navigation and data storage

The mapping process begins with the first robot running in exploration mode. The device scans the room, fixing the distances to the walls and objects, then forms a two-dimensional or three-dimensional layout of the apartment. This information is stored in a special section of internal flash memory, which has a limited overwriting resource. Which is why saving the card often depends on how often the device performs a full memory cleaning or is reset to factory settings.

It is important to understand the difference between a temporary buffer and a permanent storage. During cleaning, data is stored in RAM, and at the end of a loop or when it returns to base, it can be recorded. However, if the robot does not have time to complete the synchronization process with the server due to a communication breakdown, the data can be lost. Models with LiDAR support usually store the card more stable than budget versions with gyroscopic navigation.

⚠️ Warning: Never move the robot vacuum cleaner manually during the cleaning or mapping process.This knocks down odometry algorithms and can result in complete loss of navigation data, requiring re-scanning of the entire apartment.

To ensure maximum reliability of data storage, manufacturers implement automatic backup systems, but they only work if the router is far from the base or the signal is unstable, the robot can physically remove the room, but not send the updated version of the map to the cloud, left with outdated information in memory.

πŸ“Š How often do you lose your robot vacuum map?
Never, everything's stable.
Once a few months
After each firmware update
Always, the map flies regularly.

Multi-card setting and floor separation

One of the most popular features in the Mi Home app is the ability to create multiple maps for different floors or zones. To do this correctly, you first need to build a main map, and then, after moving the base to a new floor, start building a new one. The system will offer to save the current map under a certain name, which allows you to switch between them at any time, this is especially true for owners of two-storey houses or complex apartments.

The process of splitting a single large map into multiple rooms also helps structure data, so you can manually define room boundaries, name them, and set different cleaning modes for each zone, and this detailing not only improves the user experience, but also creates additional points of preservation of the structure of the room in the device's memory, and if one part of the map is damaged, other rooms remain intact.

To manage the maps, use the app's editing menu, where you can combine the cards if the robot mistakenly splits the room into two, or split them if the corridor was mistakenly combined with the living room, and regularly check the relevance of the furniture arrangement on the digital map will avoid situations where the robot tries to enter the sofa or gets entangled in wires.

β˜‘οΈ Checking the multicard settings

Done: 0 / 4

Backup through cloud services and locally

The regular saver mechanism involves synchronization with Xiaomi servers. To make sure that your card is actually saved in the cloud, you need to check the account status. Go to the device profile and make sure that you have a mark on successful sync. However, relying only on the cloud is risky: servers may not be available, or the account may be blocked.

For advanced users who own models with an open API (for example, through the Home Assistant or Valetudo platform), it is possible to unload a card in.png or.json format. This allows you to store an exact copy of the layout of the apartment on a personal server or computer. In the case of a complete reset of the robot, such a card can theoretically be downloaded back, although it is extremely difficult to do this with standard Mi Home tools.

And there's also the Virtual Walls and the No-Go feature, which is part of the map, and it also needs to be saved. If you've created a complex system of no-go zones around animal bowls or wires, it's going to be very painful to lose them, and you're going to have to make sure that after every cleanup, these areas are displayed correctly.

Method of conservationReliabilityDifficultyNetwork dependency
The Mi Home CloudMediumLow.Tall.
Local backup (Home Assistant)Tall.Tall.Low.
Screenshot of the mapLow (visually)Low.No.
Multicards in memoryMediumMediumMedium

Solving the problems of missing the card

If the card is missing, don't panic right away. First, check if it was just hidden in the saved map list. Often users accidentally switch to "floor 2" thinking that the map is erased. Also worth checking is the Mi Home app version: sometimes bugs in new updates hide the functionality that returns after reinstallation or rollback of the version.

A common cause of data loss is sensor contamination. The laser rangefinder (LiDAR) on the top panel needs to be completely clean. Even a thin layer of dust or pet hair can distort the scan data, which causes the robot to stop recognizing the room and start building a new map from scratch instead of using the stored one. Regularly wiping the sensors with soft dry cloth is a mandatory procedure.

What to do if the robot is spinning in place?
If the robot lost the map and started to move randomly, try manually transfer it to the base, wait for the beep, and then start cleaning. If that doesn't help, perform a full reset of the map through the application and start building again, ensuring perfect floor cleanliness.

In some cases, rebooting the router and the robot itself helps. IP-Make sure that the robot is connected to the 2.4 GHz network, as many Xiaomi models do not support 5 GHz frequency, which can cause intermittent connection and loss of data packets with the card.

Impact of firmware and system updates

The firmware update is a two-faced Janus. On the one hand, it fixes bugs and improves navigation algorithms. On the other hand, history has known many cases when the Xiaomi Mi robot vacuum map disappeared or became unreadable after an update due to changes in the file structure. Before installing major updates, always check the forums and reviews of other users of your model.

If you are using a regional version of the application (e.g. server Russia) and the robot is tied to a Chinese server, there may be synchronization conflicts. Make sure that the setting of the application is the correct region corresponding to the account to which the device is attached.

⚠️ Warning: Do not interrupt the firmware update process. If the battery dies or Wi-Fi disappears during the upgrade, the device may get a software failure ("brick"), which will require a complex recovery procedure through engineering contacts, and the card will be lost guaranteed.

For those who are afraid of experimentation, the recommendation is to delay installing updates for 2-3 weeks after they are released, which allows you to identify critical errors that developers may have missed during the testing phase.

Advanced Methods: Home Assistant and Local Management

For users seeking complete independence from the Xiaomi cloud, the ideal solution is to integrate the vacuum cleaner into the Home Assistant smart home system. xiaomi_miio, In this scenario, the card can be stored locally on the user's server, eliminating the risk of losing it due to problems on the manufacturer's side.

This requires a dedicated server (like a Raspberry Pi) and some technical knowledge, but the result is worth it: you get the ability to create complex scripts, save unlimited versions of maps, and manage cleaning even when you don’t have the Internet, which is the ultimate control over your smart home.

πŸ’‘

Use static. IP-This will prevent the device from getting a new address after the network is rebooted and losing communication with the management server, which can interrupt the card saving process.

In addition, local management allows you to use voice assistants such as Yandex Alice or Google Assistant with less latency and greater privacy, you decide what data to send to the cloud and what to process within the local network.

FAQ: Frequently Asked Questions

Can I transfer the map to another robot of the same model?
Unfortunately, the standard Mi Home app means that you can't move a card from one device to another (MAC-However, if you use local solutions like Home Assistant, you can theoretically try to emulate the device, but it requires a deep knowledge of programming.
How many cards can Xiaomi’s robot store in memory?
Most modern models support storage of up to 5-10 cards at a time (multicards). However, for stable operation, it is recommended not to exceed 3-4 cards, so as not to overload the device processor when switching between floors.
What if the map is kept curved (rooms do not match reality)?
You have to reset the map and rebuild it, and before you do that, make sure all the doors are open, and there are no extra items on the floor (boxes, toys) that the robot might perceive as stationary obstacles, and check the cleanliness of the wheels and sensors.
Does replacing the battery affect the safety of the card?
The battery replacement itself should not affect the card, as the data is stored in non-volatile memory. However, if there is a voltage surge or short circuit during the replacement process, this can lead to a reset, it is recommended to replace the device when the device is turned off and use original components.

πŸ’‘

The key to keeping the map is a stable network connection, clean sensors and avoiding the robot from physically moving while working. Regular maintenance and caution with updates will prolong the life of your assistant's navigation system.