How to connect Xiaomi temperature sensor to Alice: all ways 2026

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.

πŸ“Š What kind of sensor Xiaomi is using?
Aqara Temperature and Humidity Sensor
Mijia Bluetooth Temperature Sensor
Xiaomi Smart Temperature and Humidity Sensor 2
Other sensor
I haven't bought it yet.

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:

  1. 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).
  2. 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).
  3. Step 3. Click Add Account and log in via Yandex. Allow access to device data.
  4. 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:

  1. Connect the hub to the Aqara Home app (not Mi Home!).
  2. Add a temperature sensor to the hub via Add the device β†’ Sensors β†’ Temperature/Humidity.
  3. In the Yandex app, go to Devices β†’ Add β†’ Aqara and log in.
  4. 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 methodDelay in updatingEquipment requiredDifficulty setting up
Mi Home + Yandex IoT Cloud5-10 minutesOnly the sensor⭐ (simple)
Aqara Local Hub1-2 minutesAqara Hub + sensor⭐⭐ (middle-of-the-road)
Home Assistant + Integration10–30 secondsRaspberry Pi/server⭐⭐⭐⭐ (difficult)
Plugin of Mi Home Bind2-5 minutesSmart 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:

  1. Install Home Assistant on the Raspberry Pi, NAS or Virtual Machine (instructions on the official website).
  2. 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).
  3. 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.
  4. In the Yandex app, add Home Assistant as a device through a Smart Home β†’ Add β†’ Other.
How to Get a Xiaomi Miio Token
1. Install the Mi Home app on Android. 2. Download Packet Capture or HTTP Toolkit to intercept traffic. 3. Log in Mi Home and find a request to api.io.mi.com in the logs - the token will be in the ssecurity parameter. 4. Alternatively use the script miio-cli: npm install -g miio-cli miio --handshake discover

⚠️ 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:

  1. Install Mi Home Bind on your smartphone (available on 4PDA).
  2. Log in to your Mi Home account and select a temperature sensor.
  3. Generate Device ID and Mi Key (they will be needed for Alice).
  4. 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).

FAQ: Frequent questions

Can I connect the Xiaomi sensor to Alice without a hub?
Yes, but only through the Mi Home cloud (method 1) or Mi Home Bind (method 4). Without the hub, you won't get real-time data - the delay will be at least 5 minutes.
Why does Alice show the temperature with a delay?
This is a cloud synchronization limitation between Xiaomi and Yandex. With cloud connectivity (method 1), the data is updated every 5-10 minutes. To reduce latency: - Use a local hub (Aqara or Mi Home Gateway). - Set up Home Assistant with Zigbee2MQTT integration.
My sensor doesn't show up in Alice after the hub is tied.
Check: 1. Hub-sensor compatibility (e.g., Aqara Hub doesn't work with Mijia Bluetooth sensors). 2. Hub firmware version (update via Mi Home or Aqara Home). 3. Account region (should match the hub region). If the problem persists, reset the hub to factory settings and reconfigure.
Can I connect the Xiaomi sensor to Alice via Bluetooth?
Officially, no. Mijia Bluetooth sensors (e.g., LYWSD03MMC) are not directly supported by Yandex. Alternatives: - Use Mi Home Bind (method 4). - Connect the sensor to Home Assistant via Bluetooth Proxy (requires a Bluetooth adapter permanently enabled, for example, on a Raspberry Pi).
How to reset the Xiaomi sensor if it is not connected?
To reset: β€” Zigbee sensors (Aqara): Hold the button on the sensor for 10-15 seconds until the indicator blinks 3 times. β€” Bluetooth sensors (Mijia): Remove the battery for 30 seconds, then insert back and hold the button for 5 seconds. After reset, add the sensor again to Mi Home or Aqara Home.