Xiaomiβs smart temperature sensors (Aqara or Mijia series) have long been the standard for home automation, but their full integration with Yandexβs Alice voice assistant often raises questions. Unlike Redmond or Rubetek devices, which are supported by Alice out of the box, Xiaomi equipment requires additional manipulations, both official and bypass. In this article, we will analyze all current ways of connecting (including methods from 2026), compare their reliability and speed, and also explain how to avoid typical errors that may not show up in the Alice application or stop sending data.
Itβs important to understand that Xiaomi and Yandex are competing ecosystems, so thereβs no direct compatibility. However, there are at least 4 working integration options: 1) through the Mi Home cloud using third-party services (e.g. Yandex IoT), 2) through the local Aqara or Mi Home Gateway hub, 3) through Home Assistant (for advanced users), 4) through informal plugins like Mi Home Bind. Each method has its pros and cons β from ease of setting up to delays in updating readings. We will take a detailed look at each one so you can choose the best one for your case.
1.Official method: Connection via Mi Home and Yandex IoT
The most reliable (but not the fastest) method is to link Mi Home and Yandex accounts via Yandex IoT, which works for most Aqara and Mijia sensors connected to the Xiaomi cloud, the main condition being that the device must be tied to a Chinese or European server (the Russian server is not supported).
Algorithm of action:
- Step 1. Make sure the sensor is added to the Mi Home app and displays current data. If the device is new, perform the initial setup via Bluetooth or Zigbee (depending on the model).
- Step 2. Go to Profile β Settings β Yandex IoT in the Mi Home app. If there is no item, upgrade the application to the latest version (at least 6.5.400).
- Step 3. Click Add Account and log in via Yandex. Allow access to device data.
- Step 4. Open the Yandex (or Alice) app and go to Devices β Add Device β Xiaomi. Select the sensor from the list.
β οΈ Note: Once accounts are linked, sensor data can be updated with a delay of up to 5-10 minutes. This is a cloud sync limitation that cannot be fixed. If you want real-time data, consider alternative methods (see sections below).
The sensor is connected to Mi Home and shows data|Mi Home app updated to latest version|Mi Home Account Linked to Chinese/European Server|Mi Home Settings Enables Access for Third-Party Services-->
2. Local connection via Aqara hub or Mi Home Gateway
If you have an Aqara Hub (like the Aqara M2 or Mi Home Gateway 3), you can set up direct data transfers without the Xiaomi cloud, which reduces latency by 1-2 minutes and is more stable for Internet problems.
- πΉ Aqara Hub (supports Zigbee devices, including Aqara temperature sensors).
- πΉ Mi Home Gateway (works with Mijia sensors via Zigbee or Bluetooth protocol) LE).
- πΉ Yandex Station (any model) or smartphone with Yandex app.
Instructions for Aqara Hub:
- Connect the hub to the Aqara Home app (not Mi Home!).
- Add a temperature sensor to the hub via Add the device β Sensors β Temperature/Humidity.
- In the Yandex app, go to Devices β Add β Aqara and log in.
- Select the hub from the list β sensors connected to it will be displayed automatically.
β οΈ Note: If the sensor does not appear in Alice after the hub is tied, check: 1) Hub firmware version (must be at least 1.4.6 for Aqara M2). 2) Aqara account region (should match the hub region). 3) The hub has Internet access (even local work requires periodic cloud synchronization).
| Connection method | Delay in updating | Equipment required | Difficulty setting up |
|---|---|---|---|
| Mi Home + Yandex IoT Cloud | 5-10 minutes | Only the sensor | β (simple) |
| Aqara Local Hub | 1-2 minutes | Aqara Hub + sensor | ββ (middle-of-the-road) |
| Home Assistant + Integration | 10β30 seconds | Raspberry Pi/server | ββββ (difficult) |
| Plugin of Mi Home Bind | 2-5 minutes | Smart Column with AliGenie | βββ (middle-of-the-road) |
3. Advanced Method: Home Assistant for Minimum Delays
If you need real-time sensor data (for example, for heating automation), the best option is to use Home Assistant.This open-source smart home server lets you connect Xiaomi sensors via the Zigbee2MQTT protocol or the official Mi Home integration, and then transfer them to Alice via Yandex Smart Home.
Step-by-step:
- Install Home Assistant on the Raspberry Pi, NAS or Virtual Machine (instructions on the official website).
- Add Xiaomi Miio integration: 1. Go to Settings β Devices and services β Add integration. 2. Select Xiaomi Miio. 3. Enter IP-Hub address (e.g. 192.168.1.100) and device token (how to get it β see spoiler below).
- Set up Yandex Smart Home: 1. Install the Yandex Smart Home expansion through HACS. 2. In the configuration.yaml file add: yandex_smart_home: filter: include_entities: - sensor.temperature_158d000xxxxxx exclude_domains: - automation 3. Reboot the Home Assistant.
- In the Yandex app, add Home Assistant as a device through a Smart Home β Add β Other.
How to Get a Xiaomi Miio Token
β οΈ Note: When setting up Home Assistant, avoid a common mistake: Do not use the Chinese Mi Home server to receive a token if your hub is tied to a European region, which will lead to an Invalid token error. Also make sure that the routerβs settings turn off client isolation for the local network β otherwise Home Assistant will not be able to βseeβ the hub.
1. Correctness of indication entity_id Configuration.yaml (must match the sensor name).
2. the presence of the tick "Enable cloud access" in the Yandex Smart Home integration settings.
3. version of the supplement (update through HACS, If a new version is available).-->
4. Alternative methods: Mi Home Bind and AliGenie
If official methods donβt work (for example, due to regional restrictions), you can use informal plugins, one of which is Mi Home Bind, which emulates AliGenie devices (Chinaβs equivalent of Alice) and allows you to manage them through Yandex.
Instructions for Mi Home Bind:
- Install Mi Home Bind on your smartphone (available on 4PDA).
- Log in to your Mi Home account and select a temperature sensor.
- Generate Device ID and Mi Key (they will be needed for Alice).
- In the Yandex app, add the device through Smart Home β Add β Other β Enter manually using the data obtained.
Advantages of the method:
β It works with sensors that are not officially supported (for example, Mijia Bluetooth).
β Update delay: 2-5 minutes (better than cloud-based method).
Disadvantages:
β Requires constant operation of the smartphone running Mi Home Bind (or installation on the always-on device, for example, Android TV-box).
β There may be a problem when updating the Mi Home app.
π‘
Mi Home Bind is the only working way for Mijia Bluetooth sensors that are not supported through Zigbee hubs, but you will need a dedicated device (like an old smartphone) with constant Internet access to work.
5. Typical errors and their solutions
Even if you set it up properly, the sensor may not be displayed in Alice or transmitting incorrect data, and let's look at some of the most common problems and how to fix them:
- π΄ "Device not found" in Yandex: - Check that the sensor is added to the Mi Home/Aqara Make sure your Mi Home account is linked to a Chinese or European server (not supported in Russia) β Reboot the hub (if used) and repeat the search.
- π΄ Data is not updated: β For cloud method: wait up to 10 minutes (this is a normal delay). β For local hub: check the Internet connection (even for local work, periodic synchronization is required). β Home Assistant: Update the Miio token (it can be reset when you change the password in Mi Home).
- π΄ Alice says "Device not available": - Check if access to the device is blocked API Xiaomi is on your network (some providers block traffic to api.io.mi.com). VPN Proxies or Proxies β They may interfere with synchronization.
β οΈ Note: If you are using Home Assistant and you encounter a Failed to connect error when adding Xiaomi Miio, check: 1 If port 54321 is open on the router for local access to the hub. 2) Does the hub and Mi Home account match (for example, if the hub is bought in China and the account is European, you will have to change the region or flash the hub).
1. Untie and re-link accounts in Yandex IoT.
2. Remove the device from Alice and add it again.
3. Reboot the hub (if used) β sometimes helps even with a cloud connection.-->
6. Comparison of methods: which one to choose?
The choice of connection method depends on your tasks:
- π For simplicity: The Mi Home Cloud + Yandex IoT (minimum settings, but big delays).
- β‘ For speed: Aqara Local Hub (delay 1-2 minutes, but need a hub).
- π οΈ For geeks: Home Assistant (real time, full control, but complex setup).
- π For unofficial sensors: Mi Home Bind (works with Bluetooth models, but unstable).
Critical information: If you use a sensor to automate heating or air conditioning, avoid the cloud method due to delays. The best option is a Home Assistant with a local hub. Yandex IoT is enough for simple scenarios (such as voice temperature requests).