Installation of applications for the robot vacuum cleaner Xiaomi: all the ways and nuances

Why the standard Mi Home app may not be enough

Xiaomi’s robot vacuum cleaners are some of the most popular smart home devices, but their functionality is directly dependent on software. The standard Mi Home app (or Xiaomi Home in newer versions) covers basic needs: starting a cleanup, setting up a schedule, zoning spaces. However, many users face limitations: no detailed maps, no ability to fine-tune cleaning algorithms or integrate with other smart home systems.

In this situation, third-party applications and alternative firmware come to the rescue, which allow you to expand the capabilities of the robot vacuum cleaner by adding support for Alice's Yandex, Google Assistant, custom cleaning maps, voice control in Russian, and even manual control of the vacuum cleaner drone as a toy. But how to install them if the manufacturer did not provide such a possibility? In this guide, we will analyze all available methods, from official to advanced, requiring technical skills.

It is important to understand that not all applications are compatible with all models. For example, the Xiaomi Mi Robot Vacuum-Mop 2 Lite supports a limited set of features compared to the flagship Xiaomi Robot Vacuum-Mop 2 Pro.

πŸ“Š What model of Xiaomi robot vacuum cleaner you use?
Mi Robot Vacuum-Mop 2 Lite
Mi Robot Vacuum-Mop 2 Pro
Mi Robot Vacuum-Mop P
Another model
I haven't bought it yet.

Installation via Mi Home/Xiaomi Home

The easiest and safest method is to use the branded Mi Home app (or its newest version, Xiaomi Home), which is available for Android and iOS and allows you to manage all the devices in the Xiaomi ecosystem, including robot vacuum cleaners.

  1. Download the application from the official store: πŸ“± Google Play for Android 🍎 App Store for iOS

Register an account

Mi Account

Add the robot vacuum cleaner.

  • Press + β†’ Add the device.
  • Select the category of vacuum cleaners and your model.
  • Follow the instructions on the screen (usually you need to connect the vacuum cleaner to Wi-Fi via 2.4 GHz).

After connecting in the application, basic functions will be available:

  • πŸ—ΊοΈ View the cleaning map (for models with LDS-lidar).
  • ⏰ Set up a cleaning schedule.
  • πŸ”„ Selection of modes (quiet, standard, intensive cleaning).
  • πŸ”’ Zoning and no-go zones.

⚠️ Note: When connecting a robot vacuum cleaner to Wi-Fi, only use the 2.4 GHz network. 5 GHz networks are not supported by most Xiaomi models, and the device will not be able to connect.

Make sure that Wi-Fi is 2.4GHz |

Charge the vacuum cleaner to 50% or more |

Install the latest version of Mi Home|

Prepare data from Wi-Fi (network name and password)|

Place the vacuum cleaner next to the router (no further than 2 meters)

-->

Alternative applications: Valetudo, Home Assistant and others

If Mi Home isn't enough, you can use third-party apps with advanced functionality, the most popular ones being:

AnnexPlusesConsCompatibility
ValetudoπŸ†“ Totally free. πŸ—ΊοΈ Detailed maps with editing πŸ”§ Open source codeβš™οΈ Requires manual installation πŸ“Ά No cloud managementMost models with Rockrobo firmware
Home Assistant🏠 Integration with other smart home devices πŸ€– Automation by scenarioπŸ’» We need to deploy the server. πŸ“š It's hard to set up a beginner.All models supported by Mi Home
DreameHome🎯 Optimized for Dreame vacuum cleaners (a subsidiary of Xiaomi brand) πŸ“Š Extended cleaning statistics🚫 Not all Xiaomi models are supportedDreame D9, Z10 Pro and more.

Valetudo installation requires unlocking root access to the robot vacuum cleaner and flashing custom firmware, a risky procedure that can take away warranty.

  1. Check the compatibility of your model on the official website of Valetudo.
  2. Download firmware and firmware utility (e.g. ssh or adb).
  3. Connect to the robot vacuum cleaner via Wi-Fi (it creates its own network when you first turn on).
  4. Download the firmware via SCP or FTP.
  5. Run a firmware command (example for Mi Robot Vacuum 1S): ssh root@192.168.x.x cd /tmp tar -xzf valetudo.tar.gz./install.sh

⚠️ Attention: Custom firmware may cause warranty loss and unstable operation of the device.Before the procedure, back up the original firmware!

What if the robot vacuum cleaner stopped turning on after firmware?
If after installing Valetudo or other firmware, the device does not respond to the buttons, try: 1. Hard reset: hold the power button for 10-15 seconds. 2. Restore via USB: some models support firmware from the flash drive (see instructions on the 4PDA or XDA Developers forums). 3. Contact the service: if the warranty is still valid, do not mention custom firmware - this can be the reason for the refusal to repair.

Install applications via ADB (for advanced users)

If your robot vacuum cleaner is running Android (such as some Xiaomi Mi Robot Vacuum-Mop 2 Pro models), you can install apps via ADB (Android Debug Bridge), a method that is suitable for installing.apk files not available in official stores.

This will require:

  • πŸ–₯️ Computer installed ADB and Fastboot.
  • πŸ“± Developer mode on robot vacuum cleaner (if supported).
  • πŸ”Œ USB-cable for connection (or Wi-Fi access).

Step-by-step:

  1. Connect the robot vacuum cleaner to the computer through USB (Connect via Wi-Fi via Adb Connect IP_address).
  2. Check the connection command: Adb devices should appear in the list of your device.
  3. Install.apk file with the command: adb install path/to/file.apk
  4. Reboot the device: adb reboot

Example of useful applications for installation via ADB:

  • πŸ“‘ Tasker – to automate sensor cleaning (e.g., in the absence of a home).
  • πŸ—£οΈ AutoVoice – for voice control via Google Assistant.
  • πŸ“Š MacroDroid – to create complex scenarios (e.g., cleaning on schedule) + notice-off).

⚠️ Note: Installation of applications through ADB It may conflict with the original firmware. Before experimenting, check compatibility on forums (for example, a topic on the site). 4PDA).

πŸ’‘

If the robot vacuum cleaner is not determined by ADB, Try connecting to Wi-Fi. Find it. IP-The address on the router (usually begins with the 192.168.x.x) and execute the command adb connect 192.168.x.x:5555.

Integration with smart home systems: Yandex, Google, Apple HomeKit

One of the main advantages of Xiaomi’s robot vacuum cleaners is the ability to integrate with popular smart home ecosystems, which allows you to manage cleaning by voice or through a centralized application (for example, Yandex Smart Home or Google Home).

Methods of integration:

1.Through Mi Home + Yandex Alice

The easiest way to connect your Mi Home account with Yandex is to:

  1. Open the Yandex app β†’ Smart home.
  2. Click + β†’ Add the device β†’ Xiaomi.
  3. Enter the username and password from Mi Account.
  4. Allow access to the devices.

After that, you can control the vacuum cleaner voice:

  • 🎀 Β«Alice, turn on the vacuum cleaner - start cleaning.
  • 🎀 Β«Alice, bring the vacuum cleaner back to base – return to the dock.

2. via Home Assistant (advanced setting)

If you use Home Assistant, add Xiaomi Miio integration:

  1. In configuration.yaml, add vacuum: - platform: xiaomi_miio host: IP_address: YOUR_TOKEN
  2. Get token through the Miio utility.
  3. Reboot Home Assistant.

The vacuum cleaner will now be available in the HA interface and can participate in automation.

πŸ’‘

Voice control via Yandex Alice only works with models that support Xiaomi’s cloud API. Vacuum cleaners with custom firmware (like Valetudo) require alternative integration methods like MQTT.

Solving problems with installing applications

Even when following instructions, users often encounter errors, and consider the most common problems and solutions:

Problem.Possible causeDecision
The vacuum cleaner does not connect to Wi-FiπŸ“Ά The router only works 5 GHz. πŸ”’ Wrong password. πŸ”„ Firmware failure.Switch the router to 2.4GHz. Reset the vacuum cleaner settings (hold the power button 10 seconds). Update the firmware through Mi Home.
Mi Home doesn't see vacuum cleanerπŸ“± An outdated version of the app. 🌍 Region in Mi Home does not match region of purchase.Update Mi Home in the app store. Change region to China or Russia in your account settings.
The Valetudo firmware errorπŸ”§ The incompatible model. πŸ“ Damaged firmware archive.Check the model on Valetudo's website. Download the firmware again.

If none of these methods helped, please refer to the forums:

  • πŸ’¬ 4PDA β€” Xiaomi-themed vacuum cleaner.
  • πŸ’¬ Reddit - Community Roborock/Xiaomi.

πŸ’‘

If the vacuum cleaner stopped responding to commands after the Mi Home update, try removing it from the app and adding it again, often solving synchronization problems.

Security and Guarantee: What to Know Before Installing Third Party Software

Installing alternative applications and firmware is always a tradeoff between enhanced functionality and risk.

1. Loss of guarantee

Any interference with the firmware (root, custom software) automatically voids the warranty. The manufacturer can refuse repairs even if the breakdown is not related to your actions. If the vacuum cleaner is warranty, weigh the pros and cons before the firmware.

Security vulnerabilities

Firmware side (such as Valetudo) may contain vulnerabilities, especially if downloaded from unofficial sources. MD5-hashes of files and download software only from official sites.

3. Unstable work

Castom firmware may be slower or mismanage sensors, for example, after installing Valetudo, some users complain about:

  • πŸ—ΊοΈ Improper cleaning cards.
  • πŸ”‹ Fast battery discharge.
  • πŸ€– Freezes when returning to base.

Updates and compatibility

Official updates from Xiaomi can β€œwipe” custom firmware. If you install Valetudo, turn off automatic updates in Mi Home, otherwise after the update the vacuum cleaner may stop working.

⚠️ Note: If you sell a custom-built robot vacuum cleaner, be sure to return the original software. The new owner may encounter problems connecting to the Mi Home, and warranty service will be impossible.

FAQ: Frequent questions about installing apps on Xiaomi robot vacuum cleaner

Can I install applications on a vacuum cleaner without root access?
Yes, but the choice is limited. Mi Home allows you to manage basic functions, and Yandex Alice or Google Assistant can manage voice. Third-party.apk installations (like Tasker) usually require ADB, which can run without root, but you need developer rights.
How to return the original firmware after installing Valetudo?
To restore the original firmware: Download the official firmware for your model (look for the 4PDA Or Xiaomi.eu. Connect to the vacuum cleaner SSH. Execute the command: flash_original_firmware.sh Note: Procedure may vary depending on the model!
Why did the Mi Home update stop plugging in?
A common problem is changing the authorization protocol in new versions of the app. Solutions: Reverse to the old version of Mi Home (download.apk from APKCombo); Change the account region to China (in profile settings); Reset the vacuum cleaner to factory settings (hold the power button 10-15 seconds).
Can you control Xiaomi vacuum cleaner through Apple HomeKit?
There is no direct integration with HomeKit, but there are workarounds: Use Home Assistant with the HomeKit Bridge plugin. Install HOOBS (a platform for integrating devices with HomeKit). Set up automation via Shortcuts (requires Mi Home + IFTTT). Note that for this, the vacuum cleaner must be connected to Mi Home.
Where to find a token to connect a vacuum cleaner to Home Assistant?
You can get the token in a number of ways: through the Mi Home Token Extractor app (ADB required); through the miio CLI (command line); on some models, you can find the token in the /miio/miio.conf file (root access required); Important: Don't share the token with outsiders - it gives full access to the device!