How to connect the Xiaomi motion sensor to Alice: full instruction with tips and life hacks

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.

๐Ÿ“Š What kind of motion sensor Xiaomi uses?
Xiaomi Mi Motion Sensor 2
Xiaomi Mi Home Motion Sensor
Aqara FP1
Other
I haven't bought it yet.
Sensor modelProtocolNeed a lock?Direct integration with Alice
Xiaomi Mi Motion Sensor 2ZigbeeYes (Xiaomi Gateway)Through Mi Home.
Xiaomi Mi Home Motion SensorBluetoothNo.Yes.
Aqara FP1Zigbee 3.0Yes (Aqara Hub)Through Home Assistant
Xiaomi Smart Sensor SetZigbeeYes.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:

  1. Physically connected to the hub (if required).
  2. Added to the Mi Home app and displayed in the device list.
  3. 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:

  1. Open Mi Home and press + โ†’ Add the device.
  2. Select the Sensors category โ†’ Motion sensor.
  3. 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:

  1. Your Mi Home account is linked to the region of Russia (not China!). โ†’ Settings โ†’ Region.

To link accounts:

  1. Open the Yandex application and go to the Smart Home section.
  2. Click + โ†’ Add the device โ†’ Xiaomi.
  3. Enter the username and password from Mi Home (if requested).
  4. Allow access to device data.
  1. Get out of Mi Home and re-enter.
  2. Disable VPN (if you use it).
  3. Update both apps to the latest version.

-->

Step 3: Setting up the sensor in Yandex Smart Home

After successful synchronization:

  1. In the application Yandex go to the Smart home โ†’ Devices.
  2. Find your sensor in the list (may be called the Motion Sensor [Room]).
  3. Click on it and select Settings. โ†’ Room to assign a location to the device (e.g., "Corridor" or "Adjoining Roomยป).
  4. 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.

  1. In the Yandex app, go to Smart Home โ†’ Scenarios โ†’ Create a script.
  2. Select the condition: "Motion sensor" โ†’ Traffic detectedยป.
  3. 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:

  1. Create a new account in Mi Home with the region of Russia.
  2. Reconfigure the sensor to your new account.
  3. 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?
Some sensors (e.g. Aqara) FP1) It supports Pet Immunity, and activates it: In Mi Home, select the sensor. Go to Settings. โ†’ Additionally. โ†’ Include the option and adjust the weight of the animal (up to 25 kg).

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?

  1. Install Home Assistant on the Raspberry Pi or NAS.
  2. Add Xiaomi Mi Home integration through HACS (supplementary).
  3. Enter the access token from Mi Home (you can get it through this service).
  4. 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_secret

Automation 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:

  1. Create an account on IFTTT.com.
  2. Connect to Mi Home and Yandex Alice.
  3. 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.

ModelProtocolNeed a lock?Compatibility with AlicePrice (2026)PlusesCons
Xiaomi Mi Motion Sensor 2ZigbeeYes.Through Mi Home.~1 200 โ‚ฝLow price, reliability, small sizeRequires gateway, delays up to 2-3 seconds
Xiaomi Mi Home Motion SensorBluetoothNo.Straight.~1 500 โ‚ฝEasy to connect, no hubSmall range, fast battery discharge
Aqara FP1Zigbee 3.0Yes (Aqara Hub)Through Home Assistant~2 500 โ‚ฝHigh accuracy, Pet Immunity modeDear, complicated setup
Xiaomi Smart Sensor SetZigbeeYes.Through Mi Home.~1 800 โ‚ฝ (kit)Included is a door opening sensorMotion 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/zigbee2mqtt

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).

FAQ: Frequent questions about connecting Xiaomi sensors to Alice

โ“ Can you connect the Xiaomi motion sensor to Alice without a gateway?
Yes, but only if the sensor is Bluetooth (e.g. Xiaomi Mi Home Motion Sensor). FP1) A gateway (Xiaomi Gateway or Aqara Hub) is a must because it cannot directly communicate with the router or phone.
โ“ Why Alice says "Device is not responding" even though the sensor works in Mi Home?
This error occurs due to a disconnection of communication between the Mi Home and Yandex clouds Solutions: Reboot Xiaomi Gateway (if used). โ†’ Settings โ†’ Cloud and press ยซ