Xiaomi's robot vacuum cleaners are some of the smartest home assistants, but their key feature, a stored map of the room, often becomes a headache for users. You spent hours training the vacuum cleaner, it perfectly remembered the location of the furniture and cleaning areas - and suddenly after resetting the settings or updating the firmware everything disappeared.
In this article, we will discuss all the ways to save the map in Xiaomi vacuum cleaners (including the Mi Robot Vacuum-Mop 2 Pro, Dreame D9, Viomi V3 and others), and also explain how to avoid data loss. Importantly, the methods differ depending on the version of the Mi Home application and the vacuum cleaner firmware - we have taken into account all the nuances.
If your vacuum cleaner suddenly forgot the card, or you plan to sell it, you'll find a solution, and you'll learn to export the card to a file and restore it to a new device.
Why Xiaomi vacuum cleaner doesnβt save the map: 4 main reasons
Before we try to save the map, we'll figure out why it might be missing.
- π Resetting settings - even a "soft" reset via Settings β Reset in Mi Home app erases map.
- π± Reinstall the app β if you delete Mi Home without backing up, the card data is tied to the account, but not always synced correctly.
- π€ Firmware Update β Some versions of the software (for example, for Mi Robot Vacuum-Mop P) reset the card when you upgrade.
- π Change of layout β if the vacuum cleaner detects new obstacles (for example, rearranged furniture), it can rebuild the map from scratch.
LiDAR scanner models (such as Xiaomi Mi Robot Vacuum-Mop 2 Ultra) are particularly vulnerable: they store the map in the cloud, but when synchronization fails, data is lost, while budget vacuum cleaners with a gyroscope (such as Mi Robot Vacuum 1C) do not save the map at all β they have to build it again every time they turn on.
β οΈ Note: If your vacuum cleaner does not support saving the card (check the specifications of the model), all further instructions are useless.
Method 1: Save the card through the Mi Home app (official method)
The most reliable way is to use the built-in backup feature in the Mi Home, which works for most LiDAR models, but not for all regions.
- Open the Mi Home app and select your vacuum cleaner.
- Go to Settings β Map β Save the card (or a backup of the card in new versions).
- Click Save to the Cloud β the data will be linked to your Mi Account.
- To restore: Settings β Map β Restore the map.
Important: The feature is only available if the vacuum cleaner is connected to the same Mi Account as before, and if you change owners, you will have to build the map again.
Make sure the vacuum cleaner is connected to Wi-Fi|Check out the Mi Home app version (current 6.5.4)+)|Charging the vacuum cleaner battery > 20%|The map is fully built (no grey areas)
-->
If there is no Save Card button, your model does not support this function, in which case manual export of the card will help (see Method 3).
Method 2: Backup through Xiaomi account (cloud)
All Xiaomi map-enabled vacuum cleaners automatically sync data to the Mi Cloud, but this process is not always obvious.
- π² Come on in to Mi Home. β Profile β Settings β Mi Cloud.
- π Make sure that autosynchronization is enabled.
- π₯ Check the list of devices in the cloud β your vacuum cleaner model should be displayed there marked βMap savedΒ».
If the synchronization is not working:
- Reconnect the vacuum cleaner to Wi-Fi.
- Update the device firmware through Settings β Software update.
- Restart your router β sometimes vacuum cleaners donβt have enough internet speed to upload the map to the cloud.
β οΈ Warning: Mi Cloud cloud storage has a limit - if you haven't used a vacuum cleaner for more than 6 months, the card can be deleted automatically. To avoid this, turn on the device at least once a month and update the map.
π‘
If the vacuum cleaner is not synced to the cloud, try changing the region in Mi Home to Mainland China, either by creating a new VPN account or using third-party firmware like Valetudo (see Method 5).
Method 3: Export the card to the file (for advanced users)
If the official methods don't work, you can manually extract the card from the vacuum cleaner memory, which is suitable for LiDAR models and requires access to the device's token.
You'll need:
- π» Computer with Python 3.8 installed+.
- π‘ Vacuum Token (can be obtained through Mi Home or Miio-cli utility).
- π Script for export (e.g. dustreports or valetudo-mapper).
Instructions:
- Install miio-cli via command: npm install -g miio-cli
- Get the device token: miio discover --handshake (if it doesn't work, use Packet Capture in Mi Home).
- Download the map with a script: python3 dustreports.py --ip [IP_vacuumer] --token [VACH-TOKEN] --output map.png
The result is a map.png file with map visualization, which can be printed out or used for manual zoning after reset, the only way to save the map for a vacuum cleaner with unofficial firmware or after blocking the Xiaomi cloud.
What to do if the token cannot be extracted?
Method 4: Save the card through third-party firmware (Valetudo, OpenMiHome)
If you're ready to experiment, custom firmware like Valetudo or OpenMiHome gives you complete control of the map.
- πΊοΈ Export the card in.svg or.png format.
- π§ Edit cleaning areas manually.
- π« Disable cloud sync (good for privacy).
Cons: The firmware requires unlocking the bootloader and may be insecure.
| Model vacuum cleaner | Valetudo support | Support for OpenMiHome |
|---|---|---|
| Xiaomi Mi Robot Vacuum-Mop 2 Pro | β Yes. | β Yes. |
| Dreame D9 | β Yes. | β No. |
| Viomi V3 | β No. | β Yes. |
| Mi Robot Vacuum 1S | β Yes (limitedly) | β Yes. |
Instructions for installation of Valetudo:
- Download the firmware from the official website.
- Connect to the vacuum cleaner by SSH (instructions are in the documentation).
- Download the firmware via the command: curl -L https://github.com/Hypfer/Valetudo/releases/latest/download/valetudo -o /tmp/valetudo && chmod +x /tmp/valetudo
- Launch a web interface and export the map through Map Management.
β οΈ Warning: Inept firmware can build a vacuum cleaner. If you're not sure about your skills, it's best to use Method 1 or 3.
π‘
Third-party firmware allows you to save the card even after resetting to factory settings, but requires technical knowledge. For most users, formal methods are sufficient (Method 1-2).
Method 5: Manual zoning as an alternative to a saved map
If none of these things work (or your vacuum cleaner doesn't support saving the map), you're left with manual zoning, which is less convenient, but better than nothing.
How to set up:
- In Mi Home, go to the Map β Add Zone.
- Draw room boundaries and obstacles manually (use real measurements).
- Save the pattern as "Favorites" - so you do not have to draw again.
Tips for accuracy:
- π Use Roulette to Measure Rooms.
- π― Mark on the map stationary objects (batteries, cabinets).
- π Renew the zones once every 1-2 months β the vacuum cleaner can βforgetβ the location of the furniture.
This method wonβt replace an automatic card, but it will save time to prepare for cleaning, especially for models without LiDAR (e.g. Mi Robot Vacuum 1C).
Frequent Mistakes and How to Avoid Them
Even if you save the map correctly, users are facing problems.
| Mistake. | Reason. | Decision |
|---|---|---|
| The card is not restored after resetting | Synchronization with the cloud is disabled | Check Mi Cloud in your account settings |
| Map 'downgraded' after update | Incompatibility of the software version | Roll back the firmware or wait for the patch |
| Exported card blank | Incorrect device token | Get the token back through miio-cli |
| A vacuum cleaner doesn't build a map from scratch | Contaminated LiDAR sensor | Clean the sensor with a dry napkin. |
If the card is missing for no apparent reason, try:
- Reboot the vacuum cleaner (hold the power button for 10 seconds).
- Remove and re-add the device to Mi Home.
- Contact Xiaomi Support (Please include screenshots of the error).
π‘
If the vacuum cleaner doesnβt see the old card after the upgrade, try temporarily turning off Wi-Fi for 5 minutes, then reconnect.