Voice-controlled smart devices via Alice from Yandex have become an integral part of the modern smart home. However, the connection of Xiaomi devices β especially the Mijia 2 model (for example, temperature, motion or light sensors) β often raises questions among users. The problem lies in the differences in ecosystems: Mi Home and Yandex Smart Home work on different protocols, and direct integration is not always obvious.
In this article, we will discuss three official ways of connecting (via Mi Home, Yandex.Station and third-party services), and also consider the typical errors that make Alice βcannot seeβ the device. Particular attention will be paid to the updated algorithm of 2026, which takes into account changes in Xiaomiβs policy on working with third platforms. If you have already tried to sync Mijia 2 and received an error like βDevice is not supportedβ or βfailed to add to the Smart Homeβ, here you will find a solution.
1.What you need to connect Xiaomi Mijia 2 to Alice
Before you start setting up, make sure you have:
- π± Smartphone with installed Mi Home apps (version 6.0)+) Yandex (with support for a smart home).
- π Xiaomi Mijia 2 (e.g. Mijia Temperature & Humidity Sensor 2 or Mijia Motion Sensor 2) with battery power >20%.
- πΆ Stable Wi-Fi connection (2.4GHz - a must!) Alice and Mi Home don't work over mobile internet.
- π Xiaomi account (linked to China Mainland or Russia) and Yandex account.
Important: if your Mijia 2 device was purchased outside of Russia, you may need to change the region in Mi Home to China Mainland (otherwise some sensors will not appear in the list available). FAQ.
β οΈ Note: Xiaomi devices with firmware for the European market (EU) You may not be able to integrate with Alice through Mi Home, but you may need an alternative method (Section 4).
2. Method 1: Connect via Mi Home and Yandex Smart Home (official method)
This is the most reliable way, but it only works for devices that are directly supported by Yandex.
- Add the device to Mi Home: Open Mi Home β Press + β Select Add Device. Follow the on-screen instructions (usually you need to press the button on the device before the indicator flashes). After adding, check that the device appears in the main menu with Online status.
- Connect Mi Home to Yandex: Open the Yandex app β go to Smart Home β Add a device. Select Xiaomi from the list of brands. Enter the username / password from your Mi Home account (requires confirmation via SMS).
Set up voice control:
- Once synchronized, the device will appear in the list. Click on it β Settings β Voice control.
- Activate the option to Control via Alice and specify the name for the device (for example, "Sensor in the hallway").
If the device did not appear in Yandex Smart Home after synchronization, check:
- π Update the Mi Home app to the latest version.
- π Xiaomi account region (should be China Mainland or Russia).
- π΅ The device must be on the same Wi-Fi network as the smartphone.
The device was added to the Mi Home|Xiaomi account tied to China Mainland region|Wi-Fi operates at 2.4 GHz frequency|Yandex app updated to the latest version-->
3. Method 2: Connect via Yandex.Station (for incompatible devices)
If your Mijia 2 device is not officially supported (e.g. Mijia Door/Window Sensor 2), you can use Yandex.Station as a hub, which requires a smart home speaker (e.g. Yandex Mini Station 2).
Algorithm:
- Connect Yandex.Station to the same Wi-Fi network as the Xiaomi device.
- In the Yandex app, go to Smart Home β Add Device β Another Device.
- Select Connect via Wi-Fi and follow the instructions on the screen (you will need to enter data from the network).
- After adding, assign the device a room and voice name (for example, βWindow Sensor in the kitchenβ).
Method limitation: Not all Mijia 2 devices support direct connection to Yandex.Station. If you don't find a device during the search phase, try an alternative method (Section 4).
Via Mi Home and Yandex Smart Home | Via Yandex.Station | Via Home Assistant | In another way | I haven't connected-->
Method 3: Use of Home Assistant (for advanced users)
If the first two methods didnβt work, the Home Assistant, an open smart home platform, requires technical skills but allows you to connect any Xiaomi device to Alice, including unofficially supported models.
Instructions:
- Install Home Assistant: Download an image for Raspberry Pi or install it on your PC/server via Docker. Register your account and complete the initial setup.
- Connect Mi Home: In the control panel, go to Settings β Integration β Add Integration. Select Xiaomi Mi Home and enter data from your account. Confirm access to devices (all Mijia 2 sensors should be displayed).
Get Alice on the phone:
- In Home Assistant, go to Settings β Voice Assistants.
- Select Yandex Smart Home and follow the authorization instructions.
- After synchronization, the devices will be available in Yandex Smart Home.
The advantage of the method is that it has the flexibility and support of all Xiaomi devices, including older models, and the disadvantage is that it needs to maintain a working Home Assistant server.
How to avoid the βCanβt Add Deviceβ error in Home Assistant
5. Typical errors and their solutions
Even when following the instructions, users face problems.
| Mistake. | Reason. | Decision |
|---|---|---|
| "Device not supported" in Yandex Smart Home | The device is not on the official list of compatible devices. | Use Home Assistant or Yandex.Station as a hub |
| "I couldn't add to a smart home." | Unstable connection to Xiaomi or Yandex servers | Check the internet, restart the router, try again in 10 minutes |
| The device is displayed in Mi Home, but not in Yandex Smart Home | Xiaomi account region does not match China Mainland | Change the region in Mi Home (instructions in FAQ) |
| Alice doesn't respond to voice commands | No voice name of the device is given | Open the device in Yandex Smart Home β Settings β Settings β Select a name |
β οΈ Warning: If the Mijia 2 device falls off Alice periodically after a successful connection, check the power saving settings on your smartphone. Some manufacturers (e.g. Xiaomi, Samsung) block the background work of the Mi Home, which leads to a disconnection of communication. Add the app to battery optimization exceptions.
6.Voice commands to control Xiaomi Mijia 2 via Alice
After a successful connection, you can use the following commands (examples for Mijia Temperature & Humidity Sensor 2):
- π "Alice, what is the temperature in the nursery? β will sound the readings of the sensor.
- π§ "Alice, what is the humidity in the kitchen? β will tell the humidity level.
- πͺ "Alice, is the window open in the hall? β Opening sensor status (Mijia) Door/Window Sensor 2).
- π¦ "Alice, turn on the lights in the hallway for Mijia Smart LED Bulb.
To ensure that the teams work correctly:
- Make sure that the device is given a unique name (e.g., not Sensor 1 but Bedroom Sensor).
- Check that the device is in the same room in Yandex Smart Home as Yandex.Station (if used).
- For motion sensors (Mijia Motion Sensor 2), set up scenarios in Mi Home (e.g. turning on the lights when driving).
π‘
If Alice confuses devices with similar names (such as Sensor 1 and Sensor 2), rename them with location: "Guide door sensor", "Sensor in the bathroom", which will simplify voice control.
7. Alternative integration services (if nothing works)
If none of the above methods worked, consider the following options:
- π IFTTT (If This Then That: Create an applet that will send data from Mi Home to Yandex Smart Home via webhooks. Minus: delay in execution of commands (up to 10 seconds).
- π Node-RED: A platform for visually programming smart home scripts. Allows you to link Xiaomi and Alice via API, But it requires programming skills.
- π± Smart Home for Xiaomi app (third-party software): An informal Android app that extends Mi Home capabilities.Risk: possible security issues (use at your own risk).
Before using third-party services, please read their privacy policies. Some solutions (such as IFTTT) require access to Xiaomi and Yandex accounts, which may not be secure.
π‘
If your Mijia 2 device isnβt officially supported, the most reliable way to integrate with Alice is the Home Assistant, which takes time to set up, but guarantees stable operation.