Xiaomiβs robot vacuum cleaners have become an integral part of smart homes, but few people know that they keep detailed statistics of their work β including total mileage. This information is useful not only for assessing wear and tear of the device, but also for analyzing the efficiency of cleaning. For example, if your Mi Robot Vacuum traveled only 50 km in a year, it may not be used enough or stuck in the same areas.
The problem is that the manufacturer doesn't always put this data in a prominent place, and depending on the model and the firmware version, the path to statistics can be drastically different, and in this article we'll look at all the available ways, from the obvious (via the Mi Home app) to the hidden (via the API or engineering menu), and you'll learn how to reset the mileage counter if necessary, and what to do if the Suddenly data disappears after the update.
Important: Some methods require root access or ADB, so beginners are encouraged to start with the official methods. If your vacuum cleaner is a Dreame brand (for example, DreameBot D9), some of the instructions will also be relevant, but adjusted for proprietary software.
1.Official method: Mi Home app / Xiaomi Home
The easiest method is to use a proprietary app, but there are nuances: not all models display mileage in the basic statistics, and in some regions this feature may be hidden due to differences in firmware.
To check:
- π± Open the Mi Home app (or Xiaomi Home for new devices).
- π Find your robot vacuum cleaner in the list of devices and tap it.
- π Go to the Statistical tab (or History in English version).
- π Scroll down to the General Information block β here you can see the Run (or Total Distance) bar).
If the mileage is not in this section, try:
- Update the application to the latest version.
- Reconnect the vacuum cleaner to the account (sometimes statistics are reset when you change the region of the server).
- Check the language settings β in the Chinese version of the application, the data can be displayed more fully.
π‘
If you have a DreameBot, use the Dreamehome app β it usually contains mileage statistics on the home page of the device.
β οΈ Warning: After resetting the vacuum cleaner settings to the factory or linking to a new Xiaomi account, the mileage statistics may be reset. The only way to save the data is to export the cleaning history manually through the use of the new Xiaomi account. API (below).
2. Alternative method: Mi Home web interface
Few people know, but Xiaomi has a web version of the device control panel, which sometimes displays data that is not available in the mobile app, which works for most models, including the Mi Robot Vacuum-Mop 2 Pro and Mi Robot Vacuum-Mop P.
Instructions:
- Go to home.mi.com and log in under the same account that the vacuum cleaner is attached to.
- In the list of devices, select your robot vacuum cleaner.
- Open the tab Statistics or Analytics.
- Look for the Total Distance Cleaned unit (which may be called Total Distance Cleaned).
If there is no data, try:
- π Change your account region to China (in profile settings).
- π Update the page in the browser, having previously cleared the cache.
- π₯οΈ Use your browser in incognito or other browser (e.g. Firefox instead of Chrome).
Why can there be more data in the web version?
| Model vacuum cleaner | mileage in the mobile app | Run in the web version | Notes |
|---|---|---|---|
| Mi Robot Vacuum 1S | β Yes. | β Yes. | It is displayed in both interfaces. |
| Mi Robot Vacuum-Mop 2 Lite | β No. | β Yes (only in China) | Requires a change in the region of the account |
| DreameBot D9 | β Yes, at Dreamehome) | β No. | Use the branded software |
| Mi Robot Vacuum-Mop P | β Yes (with firmware 3.5.8)+) | β Yes. | Update the firmware for correct display |
3. Hidden settings: engineering menu
For advanced users, there is a way to access the engineering menu, which stores all the technical data of the device, including mileage.This method works on most Xiaomi models, but requires caution β wrong actions can lead to failure.
How to open the engineering menu:
- Make sure the vacuum cleaner is connected to Wi-Fi and is in standby mode.
- Press and hold the Home button (or Spot Cleaning, depending on the model) for 10 seconds until you hear the beep.
- After the signal, immediately press the power button 3 times in a row.
- The vacuum cleaner will pronounce Engineering Mode (on some models - Test Mode).
Next:
- π’ On the display (if any) or through voice prompts, select System Info.
- π Find the Total Distance section β here will be the mileage in meters.
- π To exit, press and hold the power button for 5 seconds.
Do not change the parameters if you do not know their value.|
Don't interrupt the process by leaving the menu|
Write down the current settings before the changes |
After leaving, check the efficiency of the vacuum cleaner-->
β οΈ Note: On models with firmware 4.0.0 and above, the engineering menu may be blocked. ADB (Also, it is not recommended to use this method on Dreame vacuum cleaners - they have a different menu structure.
4. Advanced method: Access via APIs and Tokens
If the official methods did not work, you can get the data directly through the API Xiaomi.This will require a device token and basic knowledge of working with HTTP-This is a universal method that works even for older models.
Steps:
- Get your vacuum cleaner Token (instructions are available on 4PDA forums or through the Mi Home Token Extractor app).
- Use any one. HTTP-client (e.g. Postman or curl) to send a request:
GET https://{server}.mi.io/miot/spec/prop/get
Headers:
Authorization: Bearer YOUR_TOKEN_HERE
Body (JSON):
{
"id": 1,
"method": "get_prop",
"params": [
"total_clean_time",
"total_clean_area",
"total_clean_distance"
]
}Where:
- {server} is the region of your account (e.g., cn, ru, de).
- YOUR_TOKEN_HERE β token of your device.
In the answer, you will get JSON with fields:
- total_clean_distance β total mileage in centimeters (divided by 100 metre).
- total_clean_time β tidy-time.
- total_clean_area β total harvested area in mΒ².
Through the mobile app |
Through the web interface |
Through the engineering menu|
Through APIs and tokens |
Didn't check the mileage.-->
β οΈ Note: Xiaomi periodically updates the structure API, So the query parameters can change. If the query returns an error {"error":{"code":-1}}, Check the relevance of documentation on miot-spec.org.
5. How to reset the mileage counter (and whether to do it)
Some users want to zero out before selling a vacuum cleaner or after replacing the wheels.
- π§ Reset via engineering menu: System Info may have a Reset Stats option, but it is often blocked on new firmware.
- π± Reset via app: When you delete the device from the account and re-assign the statistics are zeroed, but it will also reset all card and schedule settings.
- π» Dumping through API: You can send a zero request, but it requires knowing the specific commands for your model.
Before discharge, consider:
- π Zeroing the mileage may raise suspicions among the buyer if other indicators (for example, working time) remain high.
- β οΈ On some models (Mi Robot Vacuum 2 and later), the reset of statistics leads to a lock warranty.
- π After discharge, the vacuum cleaner may require recalibration of the sensors.
π‘
Resetting mileage does not affect the actual wear of mechanical parts (wheels, brushes, engine) If the goal is to extend the life of the device, you should invest in replacing consumables rather than manipulating statistics.
Frequent problems and their solutions
Sometimes the mileage data is lost or not displayed correctly.
Problem 1: The mileage zeroed after the firmware update.
- π Restart the vacuum cleaner (hold the power button for 10 seconds).
- π₯ Check if the statistics backup is in the cloud (in Xiaomi account settings).
- π§ Write in support of Xiaomi asking for data recovery β sometimes it is possible if the device is tied to an account.
Problem 2: The mileage has not been updated for several weeks.
- π Make sure the vacuum cleaner is connected to Wi-Fi and synced with servers.
- π Check the date and time on the vacuum cleaner (in settings) β incorrect values can block the recording of statistics.
- π Reinstall the Mi Home app and re-attach the device.
Problem 3: In the engineering menu, mileage is different from the data in the application.
This is normal β the engineering menu shows raw data from the sensors, and the application can round out values or only take into account successful cleaning (no stuck). API.
- Wheel condition (worn wheels scroll, overstating the data).
Calibration of sensors (in the engineering menu there is an option Wheel Calibration).
- Obstacles that cause the vacuum cleaner to constantly change trajectory.-->