Xiaomi motion sensors have long been an integral part of smart home systems, but their real power is revealed only when integrated with voice assistants. Connecting to Alice allows you to control lighting, alarms or automation scenarios with a simple voice command - without having to open the Mi Home app. However, many users face problems at the stage of synchronizing devices: Alice "does not see" the sensor, scripts do not work, or binding is reset after a firmware update.
In this article, weโll look at all the steps of connecting, from choosing a compatible sensor model to configuring complex automations with the latest Yandex Smart Home and Mi Home updates from 2026, how to get around common bugs (like โDevice Not Supportedโ in Aliceโs app), what communication protocols are used to transfer data, and why some sensors require an additional Xiaomi Gateway hub. And for experienced users, weโve prepared a unique way to connect via Home Assistant for advanced control.
What Xiaomi motion sensors are compatible with Alice?
Not all Xiaomi devices can work directly with Yandex Alice, and the main compatibility criteria are support for the Mi Home protocol (via the Xiaomi cloud) or Zigbee (via the gateway), and for 2026, the following models are officially supported:
- ๐น Xiaomi Mi Motion Sensor 2 (Aqara) RTCGQ11LM) โ The most popular option with Zigbee, requires a gateway Xiaomi Gateway.
- ๐น Xiaomi Mi Home Motion Sensor (model) MJYD02YL) โ It works on Bluetooth, connects directly to Alice without a hub.
- ๐น Aqara FP1 (model FP1) โ Premium sensor with HomeKit support, but requires customization via Home Assistant to integrate with Alice.
- ๐น Xiaomi Smart Sensor Set (set with motion and opening sensor) โ compatible only when using the Xiaomi Mijia Hub gateway.
Important: Wi-Fi-based sensors (such as some Yeelight models) won't work - Alice doesn't support them directly. Also note the region of purchase: devices for the Chinese market (with suffixes) CN In models) may not synchronize with Mi Home servers in Russia.
| Sensor model | Protocol | Need a lock? | Direct integration with Alice |
|---|---|---|---|
| Xiaomi Mi Motion Sensor 2 | Zigbee | Yes (Xiaomi Gateway) | Through Mi Home. |
| Xiaomi Mi Home Motion Sensor | Bluetooth | No. | Yes. |
| Aqara FP1 | Zigbee 3.0 | Yes (Aqara Hub) | Through Home Assistant |
| Xiaomi Smart Sensor Set | Zigbee | Yes. | Through Mi Home. |
If your model is not included in the list, check its compatibility on the official Yandex Smart Home website. IFTTT Home Assistant โ we will talk about this in the following sections.
Preparation: What to do before connecting?
Before you start setting up, make sure all the preconditions are met, which will save you hours of searching for solutions to typical problems.
Install the latest version of the Mi Home app (at least 6.0.100)
Update the motion sensor firmware (in Mi Home) โ Devices โ Settings โ Update)
Connect the sensor to the Mi Home and check its performance
Make sure your Mi Home account is linked to the region of Russia (not China!)
Download the Yandex application with support for Smart Home (version no lower than 23.12)
-->
A critical mistake of many users is to try to connect the sensor to Alice before it is added to the Mi Home.The Yandex system does not see the Xiaomi device directly: it receives data from the Mi Home cloud through the Mi Home cloud. API. The sensor should be first:
- Physically connected to the hub (if required).
- Added to the Mi Home app and displayed in the device list.
- Linked to the same account as Yandex ID (later).
Also check the permissions of the Mi Home app:
- ๐ฑ Access to location (for Bluetooth sensors).
- ๐ Background activity (to make the sensor work when the application is closed).
- ๐ Internet access (for synchronization with the cloud).
โ ๏ธ Note: If you use a sensor with Xiaomi Gateway, make sure the gateway is connected to the same Wi-Fi network as your Yandex Station. Otherwise, Alice will not be able to receive real-time traffic data.
Step-by-step: connect the sensor to Alice
Now, the process itself. The instructions are universal for most models, but we'll be highlighting the nuances for Zigbee and Bluetooth sensors separately.
Step 1: Adding a sensor to Mi Home
If the sensor is not already connected to the Mi Home, do this:
- Open Mi Home and press + โ Add the device.
- Select the Sensors category โ Motion sensor.
- Follow the on-screen instructions: For Zigbee sensors: press the button on the Xiaomi Gateway before the blue LED flashes. For Bluetooth sensors, hold the device to your phone and wait for detection.
"Movement detected"
Step 2: Linking your Mi Home account to Yandex
This is a key milestone that many miss out on: Alice only gets data from Mi Home if:
- Your Mi Home account is linked to the region of Russia (not China!). โ Settings โ Region.
To link accounts:
- Open the Yandex application and go to the Smart Home section.
- Click + โ Add the device โ Xiaomi.
- Enter the username and password from Mi Home (if requested).
- Allow access to device data.
- Get out of Mi Home and re-enter.
- Disable VPN (if you use it).
- Update both apps to the latest version.
-->
Step 3: Setting up the sensor in Yandex Smart Home
After successful synchronization:
- In the application Yandex go to the Smart home โ Devices.
- Find your sensor in the list (may be called the Motion Sensor [Room]).
- Click on it and select Settings. โ Room to assign a location to the device (e.g., "Corridor" or "Adjoining Roomยป).
- Activate the option โParticipate in scriptsโ.
Step 4: Creating automation scenarios
Now you can adjust Alice's response to the movement, like turning on the lights or sending out a notification.
- In the Yandex app, go to Smart Home โ Scenarios โ Create a script.
- Select the condition: "Motion sensor" โ Traffic detectedยป.
- Add an action, for example: ๐ก ยซTurn on the lights (select the smart lamp from the list). ๐ ยซTell Alice (e.g., "Someone went into the hallwayยป). ๐ฑ ยซSend notifications to your phone.
Save the script and test it by passing in front of the sensor.
๐ก
To ensure that scenarios work reliably, set a light-out delay (e.g., 2-3 minutes after the last movement) to prevent lamps from flickering during short-term sensor operation.
Solving Typical Connection Problems
Even if you follow the instructions accurately, you can get errors. TOP-5 Problems and solutions based on user experience and support responses from Xiaomi.
1.Alice doesn't see sensor after account binding
Causes and solutions:
- ๐ Sensor offline: Check power (batteries) and hub communication (for Zigbee) The blue LED on the gateway should flash when motion is detected.
- ๐ Cloud problems: In Mi Home, go to Profile โ Settings โ Cloud and update data.
- ๐ Cash applications: Clear the cache Mi Home and Yandex in the phone settings.
2.Scenarios are delayed (or not triggered)
Delays are related to the cloud synchronization architecture:
- ๐ก For Zigbee sensors, data is sent to Xiaomi Gateway, then to the Mi Home cloud, and then to Yandex Smart Home. Average latency: 1-3 seconds.
- ๐ฑ Bluetooth sensors: delay is less (0.5โ1 s), but range is limited to 10 meters from the phone/hub.
How do you reduce the delay?
- Use Home Assistant for local event processing (no cloud).
- Set up Quick Commands in Alice for critical scenarios (e.g., turning on alarms).
3. The sensor is periodically disconnected
A common problem for battery-powered devices.
- ๐ Replace the batteries with new ones (even if the indicator shows 50% charge).
- ๐ Move the sensor closer to the hub (maximum distance for Zigbee: 10-15m without obstacles).
- ๐ In Mi Home settings, turn off Energy Saving for the sensor.
โ ๏ธ Note: If the Xiaomi Mi Motion Sensor 2 shuts down every 5-10 minutes, check the gateway firmware version (< 1.4.7) there is a bug that breaks the Zigbee connection. Update the firmware through Mi Home!
4. Error "Device is not supported" in Yandex
This error occurs if:
- ๐ท๏ธ The sensor was purchased for the Chinese market (models with a CN titled).
- ๐ Mi Home account linked to another region.
- ๐ซ The device is blocked by the manufacturer (for example, after a region change).
Decision:
- Create a new account in Mi Home with the region of Russia.
- Reconfigure the sensor to your new account.
- Repeat the Yandex binding.
5. The sensor is activated falsely (on pets)
The problem is relevant for cat and dog owners.
- ๐ถ In the sensor settings in Mi Home, reduce โSensitivityโ (if there is such a parameter).
- ๐ Hang the sensor higher (at a height of 2-2.5 m) โ most models ignore the movement below 1.5 m.
- ๐ Use Smart Exceptions in Yandex scenarios (e.g., If traffic and time are from 23:00 to 7:00) โ light outยป).
How to completely disable the reaction to animals?
Extended features: Home Assistant and IFTTT
If Alice's standard features aren't enough, you can use advanced automation tools. Let's look at two popular options.
Connection through Home Assistant
Home Assistant is an open smart home management platform that allows you to:
- ๐ Combine devices from different brands (including Xiaomi and Yandex).
- โก Configure local scenarios (without cloud delays).
- ๐ Create complex conditions (e.g., if movement and temperature are < 20ยฐC โ heaterยป).
How do I connect?
- Install Home Assistant on the Raspberry Pi or NAS.
- Add Xiaomi Mi Home integration through HACS (supplementary).
- Enter the access token from Mi Home (you can get it through this service).
- Set up Yandex Smart Home integration to connect with Alice.
Example of code for configuration.yaml:
# Connection to Xiaomi
xiaomi_aqara:
gateways:
- key: YOUR_GATEWAY_KEY
Integration with Yandex Alice
yandex_smart_home:
client_id: !secret yandex_client_id
client_secret: !secret yandex_client_secretAutomation through IFTTT
IFTTT (If This Then That allows you to link the Xiaomi sensor to other services, such as sending notifications to Telegram or recording events in Google Sheets.
Example of settings:
- Create an account on IFTTT.com.
- Connect to Mi Home and Yandex Alice.
- Create an applet with the โMovement detectedโ trigger and the action โSend a voice message to Aliceโ.
Example of applet to record events in Google Tables:
- ๐ Trigger: Mi Home โ New motion detected.
- ๐ Action: Google Sheets โ Add row to spreadsheet (indicate the time, date and name of the sensor).
โ ๏ธ Attention: Free version IFTTT Restricts the number of applets (3 pieces) for complex automations, it is better to use Home Assistant or Node-RED.
Xiaomi sensor comparison: which one to choose for Alice?
To help with the choice, we compared popular models on key parameters: ease of connection, reliability, price and functionality.
| Model | Protocol | Need a lock? | Compatibility with Alice | Price (2026) | Pluses | Cons |
|---|---|---|---|---|---|---|
| Xiaomi Mi Motion Sensor 2 | Zigbee | Yes. | Through Mi Home. | ~1 200 โฝ | Low price, reliability, small size | Requires gateway, delays up to 2-3 seconds |
| Xiaomi Mi Home Motion Sensor | Bluetooth | No. | Straight. | ~1 500 โฝ | Easy to connect, no hub | Small range, fast battery discharge |
| Aqara FP1 | Zigbee 3.0 | Yes (Aqara Hub) | Through Home Assistant | ~2 500 โฝ | High accuracy, Pet Immunity mode | Dear, complicated setup |
| Xiaomi Smart Sensor Set | Zigbee | Yes. | Through Mi Home. | ~1 800 โฝ (kit) | Included is a door opening sensor | Motion sensor less sensitive |
Selection recommendations:
- ๐ Home > Xiaomi Mi Motion Sensor 2 + Xiaomi Gateway โ the optimal price/quality ratio.
- ๐ก For a country house: Aqara FP1 + Aqara Hub (best accuracy and range).
- ๐ฐ For a minimum budget: Xiaomi Mi Home Motion Sensor (Bluetooth), but be prepared for frequent battery replacements.
Security and Privacy: What You Need to Know
By connecting motion sensors to Alice, you're transferring your location and activity data to third-party services, and we're going to look at the key risks and how to minimize them.
1. Where is the sensor data transmitted?
The data transfer route depends on the protocol:
- ๐ก Zigbee: Sensor โ Xiaomi Gateway โ Mi Home Cloud (China/Singapore) โ Yandex Smart Home (Russia).
- ๐ฑ Bluetooth: Sensor โ Phone/hub โ The Mi Home Cloud โ Yandex.
Problems:
- ๐ Data is stored on Xiaomi and Yandex servers, which theoretically allows them to analyze your activity.
- ๐ต๏ธ In 2022, Xiaomi was caught transferring user data from Europe to servers in China (source: Forbes).
2. How to protect your data?
Ways to improve confidentiality:
- ๐ Use Home Assistant for local data processing (without transferring to the cloud).
- ๐ Change passwords from Mi Home and Yandex regularly ID.
- ๐ซ Disable unnecessary permissions in apps (e.g., access to contacts or SMS).
- ๐ก For Zigbee sensors, use Zigbee2MQTT โ Xiaomi Gateway, which does not send data to China.
Example of settings Zigbee2MQTT:
# Installation via Docker
docker run -d \
--name=zigbee2mqtt \
--restart=unless-stopped \
-v /path/to/data:/app/data \
-e TZ=Europe/Moscow \
--device=/dev/ttyACM0 \
koenkk/zigbee2mqtt3. Legal aspects
The following rules apply in Russia:
- ๐ 152-FZ โOn Personal Dataโ: Xiaomi and Yandex are required to obtain your consent to data processing, but the wording is often blurred.
- ๐ 262-FZ โOn Protection of Consumer Rightsโ: You can request the deletion of your data by contacting the service.
If you are concerned about privacy, ask Xiaomi for a report on your data through your personal account (the โPrivacyโ section).