Voice assistants have long ceased to be exotic β they have become an integral part of smart homes. Alice from Yandex and Xiaomi devices (especially under the brand Mi Home and Aqara) are two popular solutions that, when properly configured, can turn your home into a real βsmartβ fortress. However, many users face problems when trying to combine them: Mi Home does not see the device, Yandex Station refuses to follow commands, scripts work every time.
In this article, we will look at all the current ways to integrate Alice with Xiaomi for 2026 β from basic connection via Mi Home to advanced automation using Home Assistant and Yandex IoT. You will learn which devices are supported out of the box, how to get around common errors (for example, error 404 in a bunch of accounts), and what alternative methods exist for unofficially supported gadgets.
The integration process may vary depending on your Xiaomi device model (e.g., Xiaomi Mi Robot Vacuum connects differently than the Aqara Temperature Sensor) and the firmware version. If you are using devices older than 2020, you may need to upgrade the software through Mi Home or Xiaomi Home App (for Chinese versions).
1. Official integration: Yandex and Mi Home
The most reliable and recommended way is to use an official bridge between Yandex and Xiaomi, which runs through the cloud services of both companies, a method that is suitable for most devices supported by Mi Home (see below), the main advantage is stability and minimal delays in execution of commands.
First, make sure that:
- π± You have the latest versions of Yandex (with Alice support) and Mi Home (or Xiaomi Home for Chinese devices) installed).
- π Your region in Mi Home is set as Russia (or China if you use Chinese firmware devices). CN).
- π All Xiaomi devices are connected to the same Wi-Fi network (2.4 GHz) and have the latest updates.
- π You have accounts on Yandex. ID Mi Account (preferably linked to a single phone number).
Now let's move on to the step-by-step instructions:
- Open the Yandex application on your smartphone and go to the Devices section β Add the device β Xiaomi.
- Enter your Mi Account login and password. If you use two-factor authentication, temporarily disable it, otherwise the authorization may end in an error. auth_failed.
- Confirm Yandexβs access to your Xiaomi devices in the window that appears (a browser must open with permission request).
- Wait for the devices to sync. It can take 1 to 5 minutes, depending on the number of gadgets.
- After successful synchronization, check if the devices appeared in the Smart Home section of the Yandex application.
βοΈ Preparing for a bundle of accounts
If the devices are not displayed, try:
- π Reboot the router and devices Xiaomi.
- π΅ Temporarily shut down VPN Proxies (they can block access to Xiaomi servers).
- π§ Reconnect the device to Mi Home (remove and add again).
β οΈ Note: If you are using a Chinese version of the device (e.g. Xiaomi Mi Air Purifier) 3C), before bundling with Yandex, you need to change the region in Mi Home to China, and then return it back to Russia.
2.What Xiaomi devices does Alice support?
Not all Xiaomi gadgets are compatible with Alice through official integration, here is the current table of supported devices (as of June 2026):
| Category | Supported models | Notes |
|---|---|---|
| Robot vacuum cleaners | Mi Robot Vacuum-Mop 2 Pro, Xiaomi Mi Robot Vacuum-Mop P, Dreame Bot Z10 Pro | Support for clean up, get back to base, start cleaning the room |
| Smart lamps | Yeelight LED Ceiling Light, Mi LED Desk Lamp, Xiaomi Mi LED Smart Bulb | Adjust brightness and color through the commands "turn on the lights to 50%", "make the lights warm" |
| Sensors. | Aqara Temperature & Humidity Sensor, Mi Motion Sensor, Xiaomi Mi Door/Window Sensor | Only reading data (e.g., "What's the temperature in the room?") script management requires Home Assistant |
| Sockets and switches | Xiaomi Mi Smart Plug, Aqara Smart Wall Switch | Support for "turn on the socket", "turn off the lights in the corridor" |
| Air conditioners and air purifiers | Mi Air Purifier 4 Pro, Xiaomi Mi Smart Air Conditioning Companion | Control modes ("turn on the cleaner at maximum power") |
If your model isn't on the list, it doesn't mean it can't be plugged in. There are alternative methods (which we'll discuss in section 4), but they require additional skills.
Important nuance: devices under the Aqara brand (for example, Aqara Hub) M2) Often require a separate setup via the Aqara Home app, not Mi Home. In this case, add them to Aqara Home first, and then link your account to Yandex through the Smart Home section. β Add the device β Aqara.
3. Configure voice commands and scripts
Once the devices are successfully connected, it's time to set up voice control and automatic scripting, and Alice supports two types of interaction:
- Direct commands, such as "Alice, turn on the light in the room."
- Scenarios: A sequence of actions on a single request (e.g., Alice, I'm going to bed" β Turns off the lights, turns on the air purifier and closes the curtains).
To create a script:
- Open the Yandex app and go to a smart home β Scripts β Create a script.
- Select a trigger (voice command, time, event from the sensor).
- Add actions for Xiaomi devices (e.g., Enable Mi Smart Plug).
- Save the script and test it with your voice.
Examples of useful scenarios:
- π "Good morning" β turn on the light at 70%, start the coffee maker (through a smart socket), tell the weather.
- πͺ "No one's home" β Turn off all lamps, activate the security mode on motion sensors.
- π΄ "Good night" β Turn off the TV (if connected via Mi) IR Remote, turn on the air purifier on quiet mode.
β οΈ Note: If the script doesn't work, check: Internet availability (scene requires cloud synchronization) Correct device names in Yandex (e.g., "Bedroom Lamp" instead of "Mi" LED Bulb): No conflicts with other automations (e.g., Mi Home may have its own script for the same event).
π‘
If Alice doesnβt recognize the deviceβs name, rename it in the Yandex app using simple words without special characters (e.g., βLampβ instead of βXiaomi Yeelightβ). RGB_1").
Alternative methods of connection (for informal devices)
If your Xiaomi device isnβt officially supported, there are three workarounds:
Method 1: Through Home Assistant + Yandex IoT
Home Assistant is an open platform for smart homes that can become a bridge between Alice and any Xiaomi devices (even Chinese ones).
- Install Home Assistant on Raspberry Pi or another server (instruction: official website).
- Connect Xiaomi devices via Mi Home or Xiaomi Miio integration (the device token will be required).
- Set up integration with Yandex IoT through the component yandex_smart_home.
- Connect your Yandex account with Home Assistant in the Settings section β Smart home. β Yandex.
Advantages of the method:
- π§ It works with any Xiaomi device, even unofficial ones.
- π Local management (no matter what the Xiaomi cloud is).
- π Flexible Scenario and Automation.
Disadvantages:
- βοΈ Requires technical skills (working with the YAML, server-setting).
- π» You need constant power for the Home Assistant server.
Method 2: Through the cloud service IFTTT
IFTTT (If This Then That allows you to create chains of action between services:
- Create an account on IFTTT.
- Connect to Yandex Alice and Xiaomi Mi Home.
- Create an applet with a trigger (such as a voice command) and an action (control of a Xiaomi device).
Important: c 2023 year-end IFTTT Limit free applets to the 2 So, for full automation, you will need a paid subscription ($3.99/month).
Method 3: Through a local server in Python (for advanced)
If you have programming skills, you can write your bridge between Alice and Xiaomi using:
- π Python-miio libraries for managing Xiaomi devices.
- π API Yandex Dialogs for integration with Alice.
Example of code for lamp activation:
from miio import ChuangmiPlug
from yandex_smart_home import YandexSmartHome
plug = ChuangmiPlug(ip="192.168.1.100", token="YOUR_DEVICE_TOKEN")
plug.on() # Turn on the socket
Integration with Alice through YandexSmartHome
smart_home = YandexSmartHome()
smart_home.add_device ("socket," "Rosette in the room," ["on," "off"])
smart_home.start()β οΈ Note: Using informal methods (especially with device tokens) may violate Xiaomiβs warranty.In addition, local servers require protection from external attacks β set up a firewall and regularly update the software.
5. Typical errors and their solutions
Even when following instructions, users often face problems.
| Mistake. | Reason. | Decision |
|---|---|---|
| I couldnβt connect my Mi Account. | Wrong region in Mi Home or lock on IP | Change the region to Russia, turn off VPN, check the login/password |
| The device is not responding. | Wi-Fi or Xiaomi Cloud Problems | Restart the router, check the deviceβs connection in Mi Home |
| Error 404 for the interconnection of accounts | Xiaomi server is not available or blocked by the provider | Try it later or use mobile internet instead of Wi-Fi |
| Alice doesn't see the device after the ligament | Yandex Cash or Version Conflict | Clear the app cache, restart the phone, repeat the sync |
| Voice commands are executed with a delay | Problems with the cloud of Yandex or Xiaomi | Use local control via Home Assistant or check internet speed |
If none of these methods worked, try:
- π§ Write in support of Yandex (link) with a description of the problem and screenshots of errors.
- π§ Reset Xiaomi device to factory settings and reconnect.
- π Update the device firmware through Mi Home (Device Settings section) β Update of the PO).
What if Alice stopped seeing Xiaomi devices after the upgrade?
6.Security: How to Protect a Smart Home from Hacking
Integrating Alice with Xiaomi makes life easier, but also opens up potential vulnerabilities for hackers.
- π Use complex passwords for Yandex and Mi accounts (at least 12 characters with letters, numbers and special characters).
- π‘ Enable two-factor authentication (2FA) both accounts (but disable it temporarily when linked, as mentioned earlier).
- π Divide smart devices and basic gadgets (laptops, phones) into different Wi-Fi networks (e.g. main network and guest for IoT).
- π Regularly update the firmware of Xiaomi devices and applications (Mi Home, Yandex).
- π« Donβt use cloud-based services for integration (like little-known Chinese bridges).
Pay special attention to local devices (for example, Xiaomi Gateway):
- π Disable access to them from the external network (close ports 8080, 54321 in the router settings).
- π Update the gateway firmware to the latest version (check the Updates section in Mi Home).
- π Change the standard admin password on the gateway (the default is often 12345678).
Check for vulnerabilities: Use apps like Fing or Nmap to scan your network for open ports, and if you find suspicious devices, change their settings immediately.
π‘
Never share Xiaomi device tokens with third-party services, which give you complete control over your gadgets and can be used for espionage or sabotage.
7. Examples of ready-made automations for the home
To inspire you to create your own scripts, here are some proven examples:
Automation 1: βSmart alarm clockβ
Trigger: Time (7:00 on weekdays) Actions:
- π¦ Smooth lighting (Yeelight) up to 50% brightness in 5 minutes.
- β Turning the kettle on through a smart socket (Mi Smart Plug).
- π» Launch of morning news on Yandex Station.
- π‘ Alice's message: βToday +15Β°, grab a jacket".
Automation 2: Mode of the Movie
Trigger: "Alice, turn on the movie mode" voice command.
- π‘ Turning off the main light, turning on the backlight (Mi) LED Strip blue.
- π Setting the volume of the TV to 60% (via Mi) IR Remote).
- πͺ Closing of the Curtains (Aqara Curtain Motor).
- π΅ Translating phones to silent mode (via Tasker) + Yandex).
Automation 3: "Home Security"
The Mi Motion Sensor is activated in your absence.
- π¨ Siren activation (Aqara Alarm).
- π‘ Blinking all the lamps in the house.
- π± Send push notifications to your phone with a camera photo (Xiaomi Mi Home Camera).
- π Call to a pre-specified number.
To implement such scenarios in Home Assistant, use the following template: YAML:
automation:
- alias: "Smart alarm clock"
trigger:
platform: time
at: "07:00:00"
condition:
condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: light.turn_on
target:
entity_id: light.yeelight_bedroom
data:
brightness_pct: 50
transition: 300
- service: switch.turn_on
target:
entity_id: switch.mi_plug_kettle8.The future of integration: what to expect from Xiaomi and Yandex
In 2026, both companies are actively developing their ecosystems, and the following innovations can be expected:
- π€ Deeper official integration: rumored that Yandex and Xiaomi are working on a joint integration API, which will make it easier to connect devices without workarounds.
- π± Matter support: new Xiaomi devices (such as the Mi Smart Bulb 2) will be compatible with Matter, allowing you to control them through Alice without additional bridges.
- π Local control: in future updates, Yandex promises to reduce cloud dependence for commonly used commands (for example, turning on lights).
- π€ AI scenes: Alice will be able to offer automation based on your habits (e.g., "You always turn on the air purifier at 22:00. Create a script?").
Already in the beta version of the application Yandex is testing the function βSmart hintsβ β Alice will analyze data from Xiaomi sensors (for example, humidity or humidity). COβ) and suggest actions (e.g., "The bedroom is low humidity. Turn on the humidifier?").
If you want to stay up to date, subscribe to the official channels:
- π’ Telegram channel Yandex Alice
- π’ Telegram channel Mi Home Russia