How to add a vacuum cleaner Xiaomi HomeKit: all the ways of 2026

Integrating Xiaomiโ€™s robot vacuum cleaner into the Apple HomeKit ecosystem is a challenge many smart tech owners face. While the brand doesnโ€™t officially support the HomeKit protocol, there are workarounds to synchronize devices. This article will help you understand which Xiaomi models are compatible with HomeKit, what tools you will need to do this, and how to avoid typical setup errors.

The problem is that Xiaomi uses its own Mi Home protocol (now the Mi Home App), which is not directly compatible with Appleโ€™s HomeKit, but with intermediate solutions like Home Assistant, HomeBridge or cloud services like Athom Homey, you can organize interaction. Itโ€™s important to understand that the process requires minimal technical skills, but the result is worth the effort: voice vacuum control via Siri, scheduling automation and integration with other Apple devices.

Before you start, make sure your vacuum cleaner model is supported. Not all Xiaomi devices can be connected to HomeKit - it depends on the firmware version, regional binding and the availability of Tokopedia chips (for some methods). Below we will discuss all the current methods, their pros and cons, and give recommendations on choosing the best option for your case.

Which Xiaomi Vacuums are Compatible with HomeKit?

Not all Xiaomi robot vacuum cleaners can be integrated into HomeKit. The main criteria are whether you have MiOT protocol support (used in the Mi Home app) or the ability to firmware alternative software. For 2026, the following models are the most compatible:

  • ๐Ÿ”น Xiaomi Mi Robot Vacuum-Mop 2 Pro (including versions with LDS- Lidar)
  • ๐Ÿ”น Xiaomi Mi Robot Vacuum-Mop P (requires firmware update)
  • ๐Ÿ”น Xiaomi Dreame Bot D9 and D10 Plus (via Home Assistant)
  • ๐Ÿ”น Xiaomi Roborock S7/S8 (full support, but additional plugins are needed)
  • ๐Ÿ”น Xiaomi Mi Robot Vacuum E10 (limited functionality)

Models older than 2019 (e.g., Xiaomi Mi Robot Vacuum 1S) may not be supported due to legacy chips or closed APIs. Regional firmware is also worth considering: devices for the Chinese market (CN) often have more customization options than global versions (EU/US).

To check the compatibility of your model, use the table below:

Model vacuum cleanerSupport for HomeKitEssential toolsLimitations
Roborock S7/S8โœ… Complete.Home Assistant + Xiaomi Miio pluginNo control of the cleaning area through HomeKit
Mi Vacuum-Mop 2 Proโœ… PartialHomeBridge + mi-robot-vacuumNo map display in HomeKit
Dreame Bot D9โœ… Complete.Home Assistant + Dreame VacuumManual token addition required
Mi Vacuum E10โš ๏ธ Limited.Homey Cloud ServiceBasic commands only (start/stop)

Important: Firmware vacuum cleaners for the Chinese market (CN) often require a region change in the Mi Home app to Mainland China to get an access token.

Home Assistant is the most flexible solution for integrating Xiaomi devices into HomeKit, which requires a server (you can deploy it on a Raspberry Pi or Docker), but gives you maximum control over the device.

First, install Home Assistant on the chosen platform, and then follow the instructions:

  1. Open the Home Assistant web interface and go to Settings โ†’ Devices and Services.
  2. Click Add Integration and find Xiaomi Miio.
  3. Enter IP- the vacuum cleaner address and access token (how to get it โ€“ see the next section).
  4. Once connected successfully, the device will appear in the integration list, and can now be added to HomeKit via the built-in HomeKit Controller bridge.

Advantages of this method:

  • ๐Ÿ”ง Full access to all vacuum cleaner functions (including cleaning areas, if supported).
  • ๐Ÿ”„ Automation through Home Assistant (e.g., starting cleaning when leaving home).
  • ๐Ÿ›ก๏ธ Local management without depending on the Xiaomi cloud.

โš ๏ธ Warning: If the vacuum cleaner is not detected by IP, check that it is connected to the same network as the Home Assistant server. Also make sure that AP Isolation is turned off in the router settings.

Get a token of access to the vacuum cleaner|Install Home Assistant on the server|Connect the vacuum cleaner to the local network|Shut down. AP Isolation on the router|Update the vacuum cleaner to the latest version-->

How to get access token for Xiaomi vacuum cleaner?

The Mi Home Token is a unique key that allows third-party applications to manage Xiaomi devices, which can be obtained in several ways, but the most reliable is through the official Mi Home app using the MiHome Token Extractor tool.

Instructions for Android:

  1. Download and install the MiHome Token Extractor (requires to enable installation from unknown sources).
  2. Sign in to your Mi Home account through this app.
  3. Go to the Devices section and find your vacuum cleaner. The token will be displayed in the format 64-digit hex_ code.
  4. Copy the token and save it in a secure location (such as a password manager).

For iOS, the process is more complicated because of the system's limitations.

  • ๐Ÿ“ฑ Use an Android emulator on a PC (e.g. BlueStacks).
  • ๐Ÿ”— Connect to the vacuum cleaner via Mi Home on the emulator and extract the token through Token Extractor.
  • ๐Ÿ” If the token is not displayed, try changing the region in Mi Home to Mainland China (in profile settings).

โš ๏ธ Warning: Don't share your token with third-party services!This could compromise your Xiaomi account and lose control of your devices.

What to do if the token does not work?
If the token is not suitable, check the following points: 1. Make sure the vacuum cleaner is connected to the same Mi Home account from which the token was extracted. 2. Update the vacuum cleaner firmware to the latest version (via the Mi Home app). 3. Reboot the vacuum cleaner (hold the power button for 10 seconds). 4. If you use Home Assistant, check the correctness of the entered IP- address (it should be static).

Method 2: Using HomeBridge to Integrate with HomeKit

HomeBridge is a lightweight server that emulates the HomeKit bridge and allows you to connect incompatible devices. Unlike Home Assistant, it requires less resources and is easier to set up, but provides less automation.

To set up HomeBridge, follow the following steps:

  1. Install HomeBridge on a Raspberry Pi, NAS or PC with Node.js (instruction: official documentation).
  2. Install the plugin for vacuum cleaners Xiaomi: npm install -g homebridge-mi-robot-vacuum
  3. Edit the configuration file config.json by adding the vacuum cleaner unit: "platforms": [{"platform": "MiRobotVacuum", "name": "MiRobotVacuum", "devices": [{"deviceId": "YOUR_DEVICE_ID", "token": "YOUR_TOKEN", "ip": "PYLESOS_IP", "model": "roborock.vacuum.s5" // or your model ] ] ] ]
  4. Restart HomeBridge and add the device to the Apple Home app through a scan of the QR- code.

The benefits of HomeBridge:

  • ๐Ÿš€ Quick setup (takes 10-15 minutes).
  • ๐ŸŽ Full compatibility with HomeKit (including voice control via Siri)
  • ๐Ÿ”„ Supports most Xiaomi and Roborock models.

Disadvantages:

  • โŒ Limited automation capabilities (compared to Home Assistant)
  • โŒ No visualization of the cleaning card in Apple Home.

Home Assistant|HomeBridge|Cloud service (Homey, Yandex)|I haven't decided yet.|Another option-->

Method 3: Cloud Services (Homey, Yandex Alice, IFTTT)

If deploying a local server (Home Assistant or HomeBridge) seems difficult, you can use cloud solutions, which are less reliable (depending on third-party servers), but easier to set up.

The most popular services for Xiaomi integration with HomeKit:

  • ๐Ÿ  Homey is a smart hub with support for Xiaomi Mi Home and HomeKit. Allows you to control the vacuum cleaner through the Homey app and sync it with Apple Home.
  • ๐Ÿ—ฃ๏ธ Yandex Alice + HomeKit: Through Yandex Station and Yandex IoT service, you can create bridges to control Xiaomi devices with voice, and then link them to HomeKit via Home Assistant.
  • โšก IFTTT: The service allows you to create applets like โ€œIf Xiaomi started cleaning, then send a notification to HomeKitโ€, but does not provide full management.

Example of settings through Homey:

  1. Connect the vacuum cleaner to Homey via the Mi Home app (token required).
  2. In Homey settings, activate integration with HomeKit.
  3. Select a vacuum cleaner from the list of devices and export it to Apple Home.

โš ๏ธ Warning: Cloud services may charge for premium features (e.g., Homey Pro costs ~200โ‚ฌ). Also consider delays in execution of commands due to Internet connection dependency.

๐Ÿ’ก

If you use Homey, set up Geofencing to automatically start the vacuum cleaner when you leave the house.

Solving Typical Errors When Connecting

When integrating Xiaomi vacuum cleaner into HomeKit, users often encounter errors. Letโ€™s consider the most common problems and their solutions:

Mistake.Possible causeDecision
Cannot connect to deviceIncorrect IP or tokenCheck the token through the MiHome Token Extractor and assign a static IP to the vacuum cleaner in the router.
Device not supportedThe device is not compatible with the pluginUpdate the vacuum cleaner firmware or use another plugin (e.g. miio2 instead of miio).
Vacuum cleaner does not respond to commands from HomeKitConflict with the cloud XiaomiTurn off the vacuum cleaner from the Internet in the Mi Home settings and use only local control.
HomeKit code not workingResetting HomeBridge settingsRemove the device from Apple Home and add again by pre-rebooting HomeBridge.

If the vacuum cleaner is connected but not all the features (e.g., cleaning area management) are displayed, this is due to the limitations of HomeKit. In this case, use Home Assistant to create Scripts that will run the desired commands through the Mi Home API.

โš ๏ธ Warning: If the vacuum cleaner has stopped working with HomeKit after updating the firmware, roll back to the previous version of the software. To do this, download the firmware from the XDA Developers forum and run it through Mi Home manually.

๐Ÿ’ก

If the vacuum cleaner is not connected to HomeKit, first check the local area network: the device and server (Home Assistant/HomeBridge) must be on the same subnet without VPN or a proxy.

FAQ: Frequent questions about Xiaomiโ€™s integration with HomeKit

Can you connect Xiaomi vacuum cleaner to HomeKit without a server?
No, integration requires either an intermediate server (Home Assistant, HomeBridge) or a cloud service (Homey), and Xiaomi does not have a direct connection to HomeKit due to different protocols.
Why does the vacuum cleaner disconnect from HomeKit after the router restarts?
The vacuum cleaner is likely to have a dynamic IP- address. Set up a MAC- link to a static IP or a DHCP reservation in the router.
How to manage cleaning areas through HomeKit?
HomeKit does not support zone management directly. Solution: Create a Home Assistant Script for each zone. Add scripts as separate buttons in Apple Home. Example of a kitchen cleaning script: service: vacuum.send_command data: command: app_zoned_clean params: [[23000, 25000,26000,28000,1]
Is it safe to use Xiaomi token in Home Assistant?
Yes, if the Home Assistant server is on your local network and does not have access to the Internet, avoid transferring the token to third-party cloud services.
Can I connect Xiaomi vacuum cleaner with AliExpress to HomeKit?
Yes, but note: ๐Ÿ“ฆ Devices with AliExpress often have Chinese firmware (CN), which may require a region change to Mi Home. ๐Ÿ”ง Manual firmware updates may be required for compatibility.