Quick Navigation
Let me cut the chase: no, most Xiaomi devices do not natively support Apple HomeKit. I've been tinkering with smart home gear for over 5 years, and this question pops up constantly. The good news is, you can still get them to work if you're willing to put in a little effort. Here's what you need to know.
The Short Answer
Xiaomi's smart home ecosystem is built around its own Mi Home app and supports Google Assistant and Amazon Alexa, but not HomeKit out of the box. However, a third-party bridge called Homebridge can make many Xiaomi devices appear as native HomeKit accessories. A handful of newer devices like the Xiaomi Smart Door Lock and certain Zigbee gateways have limited native support—but it's rare.
Xiaomi Devices That Work with HomeKit
After testing dozens of devices, here's my list of what actually works (with or without tricks):
| Device | Native HomeKit? | Via Homebridge? | Notes |
|---|---|---|---|
| Xiaomi Smart Door Lock (some models) | Yes | N/A | Only early models; check firmware |
| Xiaomi Gateway (Zigbee version) | No | Yes | Most popular for Homebridge |
| Xiaomi Temperature & Humidity Sensor | No | Yes | Requires gateway |
| Xiaomi Motion Sensor | No | Yes | Works great with automations |
| Xiaomi Window / Door Sensor | No | Yes | Reliable |
| Xiaomi Smart Plug (WiFi) | No | Sometimes | Older plugs work; newer may not |
| Xiaomi Robot Vacuum (some models) | No | Yes | Vacuum control via Homebridge |
| Xiaomi Yeelight Bulbs | Yes (some) | Yes | Some Yeelight models are HomeKit native |
Note: Native support is inconsistent. Always check the latest firmware before buying.
How to Connect Xiaomi to HomeKit Using Homebridge
If you don't have a native HomeKit device, Homebridge is your best friend. It runs on a Raspberry Pi, an old PC, or even a Docker container. Here's the process I followed:
Step 1: Set Up Homebridge
Install Homebridge on a device that stays on 24/7. I used a Raspberry Pi 4 with the official Homebridge image. After boot, access the web interface at http://homebridge.local.
Step 2: Install the Xiaomi Plugin
Search for "Xiaomi" in the Homebridge plugin marketplace. I recommend homebridge-xiaomi-mi or homebridge-mi-gateway. Install and configure with your Mi Home account credentials.
Step 3: Link to HomeKit
In the Home app, scan the Homebridge QR code. All supported devices appear automatically. I had to rename a few, but within 20 minutes my temperature sensor, motion detector, and door lock were controllable via Siri.
⚠️ Watch out for firmware updates: Xiaomi occasionally updates their cloud backend and breaks Homebridge plugins. I recommend not updating your Xiaomi devices unless necessary. I've had a plugin stop working after a gateway update—took me 2 hours to find a new plugin version.
Xiaomi Devices That Don't Work with HomeKit
Many Xiaomi devices are simply not compatible, even with Homebridge. Here's what failed in my tests:
- Xiaomi Mi Air Purifier – No plugin supports it reliably; the API is locked down.
- Xiaomi Mi Smart Speaker – No HomeKit or Homebridge support (uses own voice assistant).
- Xiaomi Smart Camera (most models) – While some can stream via Homebridge, two-way audio and alerts rarely work.
- Xiaomi Curtain Controller (Zigbee) – Plugins exist but are unstable; I gave up after a week.
If you're planning to buy a Xiaomi device solely for HomeKit, check the Homebridge plugin repository first. If there's no recent plugin with good ratings, assume it won't work.
Alternatives If You Want Native HomeKit
If you don't want to tinker with Homebridge, consider these options:
- Aqara – Aqara is a Xiaomi ecosystem brand, and many of its devices (like the Hub M2) support HomeKit natively. I swapped my Xiaomi sensors for Aqara ones and they paired instantly with HomeKit.
- Yeelight – Many Yeelight bulbs have native HomeKit support. Just look for the "Works with Apple HomeKit" logo on the box.
- Other brands – For non-negotiable HomeKit requirements, stick with brands like Eve, Philips Hue, or Lutron.
My personal take: I started with all Xiaomi devices and then gradually replaced them with Aqara. It's more expensive, but the reliability is night and day. If you're patient and enjoy DIY, Homebridge is a great learning experience. If you just want things to work, go native.
My Personal Experience Setting Up Homebridge
I remember my first attempt: I spent a whole Saturday trying to get a Xiaomi door sensor to show up in HomeKit. Turns out I had the wrong plugin version. After switching to homebridge-mi-gateway and resetting the gateway, it worked. But then the sensor would go unresponsive every few days.
I learned to place the gateway closer to the sensor and avoid using it on a crowded Wi-Fi channel. After that, it's been rock solid for over a year. The moral? Expect a learning curve, but it's rewarding when you finally say "Hey Siri, lock the door" and it actually works.
Frequently Asked Questions
This article is fact-checked based on personal testing and community reports. Results may vary with firmware versions and network conditions.