Why Xiaomi and Alice are the perfect smart home duo
Voice assistant Alice from Yandex and the Xiaomi ecosystem have long been synonymous with affordable and functional smart homes. But many users face problems when they first try to combine them: the device does not appear in the list, the command does not execute, the voice assistant persistently โdoes not seeโ the new smart lamp. This article will help to understand how to properly connect any Xiaomi device to Alice โ from a robot vacuum cleaner to a door opening sensor โ avoiding typical errors.
Itโs important to understand that not all Xiaomi gadgets support direct integration with Yandex.Station or Aliceโs mobile app. For example, older models of smart sockets (the first generation of Mi Smart Plug) may require workarounds through the Internet. IFTTT And new devices on the Mijia platform (with the Mi Home logo on the package) usually get plugged in in a couple of clicks. We'll take a look at both the simple and the complex scenarios.
Another nuance: Xiaomi has been actively migrating devices to Matter since 2023, making it easier to integrate with Alice without additional crutches. If your gadget is released later than 2022, the chances of seamless connectivity are higher, but there are solutions for older models too, as described in the corresponding section.
What Xiaomi devices are compatible with Alice: the full list
Before you try to connect the gadget, check its compatibility. Yandex officially supports the following categories of Xiaomi devices:
- ๐ก Smart lamps and lights: Yeelight, Mi LED Desk Lamp, Mi LED Ceiling Light
- ๐ Sockets and switches: Mi Smart Plug (models from 2020), Aqara Wall Switch
- ๐ค Robot vacuum cleaners: Mi Robot Vacuum (all models), Dreame (a sub-brand of Xiaomi)
- ๐ก๏ธ Sensors and climate: Mi Temperature and Humidity Sensor, Aqara Door/Window Sensor, Mi Air Purifier
- ๐ Smart locks: Mi Smart Door Lock (limited support, basic commands only)
A full up-to-date list of compatible devices can be found in Yandexโs developer documentation. Please note that even if your model is there, it may require a firmware update to the latest version to connect it.
Hereโs what you canโt connect directly:
- โ Redmi-branded devices (e.g. Redmi Watch smartwatches)
- โ Old fitness bracelets Mi Band (up to the 5th version)
- โ Some Chinese versions of gadgets (with suffix) CN model)
Preparation for connection: 3 mandatory steps
Before you tie Xiaomi and Alice, do these steps โ they will save you hours of searching for โwhy doesnโt it workโ solutions:
- Update your device firmware. Go to the Mi Home app, select your gadget and check for updates in the Settings section. โ About the device โ Software Update. For robot vacuum cleaners, the path may be different: Settings โ General. โ Firmware update.
- Link the device to your Mi Account. Make sure the gadget is added to your Mi Home profile and appears in the device list. If not, perform the initial setup (usually requiring you to press a button on the device body).
- Install the latest versions of applications: ๐ฑ Mi Home (version no lower than 6.0) ๐ค Yandex (with Alice) or Yandex.Station
Pay special attention to the Mi region of your account. If you have registered through Mainland China, some devices may not appear in the international version of Mi Home.
โ ๏ธ Note: You can only change your account region once every 30 days, and remove all devices from the app before you change, or they will stop working!
Updated the firmware of the Xiaomi device
Added the device to Mi Home and tied to the account
Install the latest versions of Mi Home and Yandex
Checked the region of the Mi Account (must be Russia or Global)
-->
Method 1: Connect via Yandex application (the easiest)
If your Xiaomi device is on the compatible list, use this method.It works for most modern gadgets and takes no more than 5 minutes.
- Open the Yandex app (with Alice) on your smartphone.
- Go to the Devices section โ Add the device.
- In the list of brands, choose Xiaomi (or Yeelight if you plug in the lamp of this brand).
- Enter the username and password from your Mi Account (the same as in Mi Home).
- Allow Yandex to access your devices in Mi Home (a request will appear in the application).
- Select from the list of devices you want to connect to Alice and confirm synchronization.
๐ก
If Alice "does not hear" the name of the device (for example, says "I do not know such a lamp"), rename it in Mi Home to a simple word without spaces and special symbols, for example "LampaZal".
Method 2: Connecting through Mi Home + Yandex.Station (for older devices)
If your Xiaomi gadget isnโt directly supported (like the first-generation Mi Smart Plug or Aqara sensors older than 2020), you can use a workaround through Yandex.Station (column or mini).
- Add the device to the Mi Home if you havenโt already done so.
- Open the Yandex app and go to Devices โ Add Device โ Xiaomi.
- Select "Connect via Yandex.Station" (option will appear if you have a column).
- Download and install the application "Yandex for a smart home" on your smartphone (if it is not already there).
- Follow the instructions: the system will prompt you to log in to your Mi Account and allow access to your devices.
- Confirm the synchronization and wait for the gadget to appear in the list.
This method works even for devices not listed on the official compatibility list, but there are nuances:
- โณ Synchronization can take up to 10 minutes.
- ๐ Some teams will be available only through Yandex.Station, not through Aliceโs mobile app.
- ๐ Smart sockets may not support energy consumption control through Alice.
If the device does not respond to commands after connecting, try:
โ ๏ธ Warning: Reboot Yandex.Station (turn off power for 30 seconds) and reconnect the device in the application. Often this solves problems with "hang" synchronization.
What if Yandex.Station does not see the Xiaomi device?
Solving common connection errors
Even with the right setup, users often face typical problems, and we've collected the most common errors and ways to fix them:
| Mistake. | Possible cause | Decision |
|---|---|---|
| "Device not supported" | Old model or incorrect region of the Mi Account | Try to connect via Yandex.Station or change the region to Russia in Mi Home |
| โI couldnโt get in touch with Xiaomi.โ | Two-factor authentication in your Mi Account | Temporarily shut down. 2FA in the Mi Account settings or use the app password |
| The device is connected, but does not respond to commands | Synchronization problems between Mi Home and Yandex | Reboot Yandex.Station and reconnect the device |
| "Incorrect login or password" | Chinese Mi Account (linked to the number) +86) | Create a new Mi Account through the region of Russia or Global |
If your problem is not on the list, try resetting the device to factory settings and reconnecting. For most Xiaomi gadgets, the reset is done by holding the button on the case for a long time (5-10 seconds) until the indicator flashes.
For robot vacuum cleaners Mi Robot Vacuum has a separate nuance:
โ ๏ธ Attention: After the vacuum cleaner is discharged, it must be re-associated with the Mi Account via Mi Home, otherwise Alice will not be able to manage it.
Managing Xiaomi devices via Alice: voice commands and scripts
Once connected successfully, you can not only turn devices on/off, but also create complex automation scenarios.
- ๐ "Alice, morning mode" - will turn on the lights by 50%, start the coffee maker (through a smart socket) and tell the weather forecast.
- ๐ "Alice, I'm leaving" - turns off all the lamps, activates the security mode on the motion sensors and launches a robot vacuum cleaner.
- ๐ฌ "Alice, the cinema will dim the lights, turn on the TV (if supported) and launch a playlist in Yandex.Music.
To create this scenario:
- Open the Yandex app and go to Devices โ Scripts.
- Click โCreate a scriptโ and select a condition (voice command, time, or event from the sensor).
- Add actions for Xiaomi devices (e.g., turn on the Yeelight lamp by 30%).
- Save the script and test it with a voice command.
For robot vacuum cleaners Xiaomi available additional commands:
- ๐งน "Alice, start cleaning the room (if virtual walls are set up)
- ๐ "Alice, send the vacuum cleaner to charge"
- ๐ "Alice, find the vacuum cleaner)
Note: vacuum cleaner commands only work if it is connected to the same Wi-Fi network as Yandex.Station. If you have multiple networks (e.g., 2.4 GHz and 5 GHz), make sure that both devices are connected to the same.
๐ก
For scripts to work smoothly, all Xiaomi devices must be on the same Wi-Fi (2.4GHz) network. If you have a dual-band router, turn off the network separation in its settings or link the gadgets to the 2.4GHz network manually.
Alternative ways to connect (if nothing works)
If the standard methods didnโt work, try one of these options. Theyโre more complicated but cover 99% of Xiaomi devices:
1. via Home Assistant (for advanced users)
Home Assistant is an open platform for smart homes that can serve as a bridge between Xiaomi and Alice.
- Install Home Assistant on the Raspberry Pi or other always-on computer.
- Add Xiaomi Mi Home integration through HACS (You will need a token from your Mi Account).
- Set up integration with Yandex.Smart Home through the Yandex Smart Home component.
- Sync your devices and control them through Alice.
This technique requires technical skills, but gives you complete control over devices, including those that are not officially supported.
2. Through IFTTT (easier, but with limitations)
IFTTT (If This Then That allows you to create chains of action between services, for example, you can configure it:
- "If Alice gets a "light on the lamp," send a signal to Mi Home."
For this:
- Create an account on IFTTT.com.
- Connect to Yandex Alice and Xiaomi Mi Home.
- Create an Applet with a trigger (Alice voice command) and action (Device management in Mi Home).
The disadvantage of this method is the delay in execution of commands (up to 5-10 seconds) and the limitation on the number of free Applet (3 pieces).
3. via Mi Home Cloud (for developers)
If you know me, API, You can write a simple Python script that will take commands from Alice (via Yandex Dialogs) and send them to Mi Home:
from miio import ChuangmiPlug
plug = ChuangmiPlug(ip="192.168.1.100", token="YOUR_DEVICE_TOKEN")
plug.on() # Enable the socketThe work will require:
- Get token devices via Mi Home (use this tool).
- Set up a webhook in Yandex Dialogs to receive voice commands.
- Deploy the script on a server or local computer.
This is the most flexible way, but it requires programming knowledge. If you're not a developer, you'd better go to the first two.