How to connect Alice with the Xiaomi ecosystem: full instructions with examples

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:

  1. Open the Yandex application on your smartphone and go to the Devices section β†’ Add the device β†’ Xiaomi.
  2. 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.
  3. Confirm Yandex’s access to your Xiaomi devices in the window that appears (a browser must open with permission request).
  4. Wait for the devices to sync. It can take 1 to 5 minutes, depending on the number of gadgets.
  5. After successful synchronization, check if the devices appeared in the Smart Home section of the Yandex application.

β˜‘οΈ Preparing for a bundle of accounts

Done: 0 / 5

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):

CategorySupported modelsNotes
Robot vacuum cleanersMi Robot Vacuum-Mop 2 Pro, Xiaomi Mi Robot Vacuum-Mop P, Dreame Bot Z10 ProSupport for clean up, get back to base, start cleaning the room
Smart lampsYeelight LED Ceiling Light, Mi LED Desk Lamp, Xiaomi Mi LED Smart BulbAdjust 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 SensorOnly reading data (e.g., "What's the temperature in the room?") script management requires Home Assistant
Sockets and switchesXiaomi Mi Smart Plug, Aqara Smart Wall SwitchSupport for "turn on the socket", "turn off the lights in the corridor"
Air conditioners and air purifiersMi Air Purifier 4 Pro, Xiaomi Mi Smart Air Conditioning CompanionControl 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.

πŸ“Š What Xiaomi device do you want to connect to Alice?
Robot vacuum cleaner
Smart lamps
Sensors (movement, door)
Sockets/switches
Air purifier/air conditioner
Other

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:

  1. Direct commands, such as "Alice, turn on the light in the room."
  2. 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:

  1. Open the Yandex app and go to a smart home β†’ Scripts β†’ Create a script.
  2. Select a trigger (voice command, time, event from the sensor).
  3. Add actions for Xiaomi devices (e.g., Enable Mi Smart Plug).
  4. 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).

  1. Install Home Assistant on Raspberry Pi or another server (instruction: official website).
  2. Connect Xiaomi devices via Mi Home or Xiaomi Miio integration (the device token will be required).
  3. Set up integration with Yandex IoT through the component yandex_smart_home.
  4. 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:

  1. Create an account on IFTTT.
  2. Connect to Yandex Alice and Xiaomi Mi Home.
  3. 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 IPChange the region to Russia, turn off VPN, check the login/password
The device is not responding.Wi-Fi or Xiaomi Cloud ProblemsRestart the router, check the device’s connection in Mi Home
Error 404 for the interconnection of accountsXiaomi server is not available or blocked by the providerTry it later or use mobile internet instead of Wi-Fi
Alice doesn't see the device after the ligamentYandex Cash or Version ConflictClear the app cache, restart the phone, repeat the sync
Voice commands are executed with a delayProblems with the cloud of Yandex or XiaomiUse 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?
This is most often due to a change. API Xiaomi.Try: 1. Delete and re-add Mi Account in Yandex. 2. Update the Mi Home app to the latest version. 3. If you use Home Assistant, update the integration of miio through HACS. 4.In extreme cases, roll back the device firmware (if the previous version is available).

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_kettle

8.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

FAQ: Frequent questions about Alice and Xiaomi integration

Can I connect the Chinese version of Xiaomi device (with firmware) CN) Alice?
Yes, but you need to: Change the region in Mi Home to China, add the device to the app, return the region back to Russia, link the account with Yandex (sometimes you need to). VPN Chinese IP). Note that some devices (e.g. Xiaomi Mi Air Purifier) 3H) They may be unstable due to differences in the.
Why doesn’t Alice understand the name of my Xiaomi device?
This is a common problem with: Too long or complicated name (e.g., "Xiaomi Mi Robot Vacuum-Mop 2 Pro"). Using special symbols or Cyrillic in the title. Solution: rename the device in the Yandex app to short and simple (e.g., "Vaccinerator" or "Bedroom Lamp").
How do you make Alice turn on a particular lamp?
If you have multiple identical lamps (for example, two Yeelights in different rooms), you need to: In the Yandex app, rename each lamp uniquely (for example, "Lamp kitchen" and "Lamp hall"). Use the exact names in the commands: "Alice, turn on the lamp kitchen". If Alice is confusing devices, check their order in the Smart Home section. β†’ Devices and if necessary, change places.
Can you run Xiaomi without the internet?
Official integration requires the cloud of Yandex and Xiaomi, so without the Internet will not work: 🏠 Home Assistant with local management (but you need constant server operation). πŸ”Œ Local scripts in Mi Home (work without the Internet, but not voice-controlled). For full autonomy, consider alternatives like Google Home with Local Tuya or HomeKit (for devices with firmware that supports these standards).
How to untie Xiaomi from Alice, if you don’t need it anymore?
To Break the Connection: Open the Yandex app and go to a Smart Home β†’ Settings β†’ Xiaomi devices. Click "Disable Mi Account." Confirm action (may require a password). After that, all Xiaomi devices will disappear from Alice's list, but will remain in Mi Home.