Voice control of the smart home has long ceased to be a fantasy β today even Xiaomi budget devices support integration with Alice from Yandex. Why do some gadgets connect in two clicks, while others require dancing with a diamond through third-party services? Home/Mi Home Automations, which is not always friends with Russian voice assistants.
In this article, we will examine all the current ways of connecting β from official integration through Yandex.Station to workarounds for devices that Xiaomi did not want to certify for working with Alice. Youβll learn which models are supported out of the box, how to configure scripts through Yandex Smart Home, and what to do if Alice stubbornly doesnβt see your Xiaomi Gateways or Aqara sensors. And also β reveal a secret method of connecting uncertified devices through Home Assistant, which works even after blocking official devices. API.
If you use Xiaomi devices with Chinese firmware (for example, those purchased on AliExpress without official localization), the process can be complicated.
1.What Xiaomi devices officially support Alice?
Not all Xiaomi gadgets can work directly with Alice. Official support is only those models that have been certified in the Yandex.Smart Home ecosystem.
- πΉ Gateway: Xiaomi Gateway 3 (model) ZNDMWG03LM), Aqara Hub M2 (ZHWG13LM)
- π‘ Lighting: Xiaomi Yeelight (series) YLDP, YLDD), Mi LED Desk Lamp (MJTD01YL)
- π Sockets and switches: Xiaomi Mi Smart Plug (ZNCZ04LM), Aqara Wall Switch (series) QBKG)
- π‘οΈ Aqara Temperature and Humidity Sensor (WSDCGQ11LM), Xiaomi Mi Motion Sensor 2 (RTCGQ11LM)
- πͺ Smart locks: Xiaomi Mi Smart Door Lock (ZNMS17JM β only models for Russia)
The full list of certified devices can be checked in the Yandex app along the way: Smart Home β Devices β Add the device β Xiaomi.
Even if your device is on the list, it must be connected to the Mi Home from a Russian region (not a Chinese or European server).
2. Connection through official integration of Yandex + Mi Home
This is the easiest way to do this, and it works for most certified devices, and here's a step-by-step guide.
- Step 1. Make sure your Xiaomi device is already added to the Mi Home app and is on the same Wi-Fi network as Yandex.Station or smartphone with Yandex app.
- Step 2. Open the Yandex app on your smartphone and go to the Smart Home section β Devices β Add the device.
- Step 3. In the list of brands, select Xiaomi and log in under the same account as in Mi Home.
- Step 4: Allow access to devices and wait for sync (may take up to 5 minutes).
If the device does not appear on the list, check:
- π Region in Mi Home (should be Russia, not China or Europe).
- πΆ Internet connection stability (both devices must be online).
- π§ Firmware updates (in Mi Home, check for updates for the device).
The device was added to Mi Home with the Russian region|
Mi and Yandex accounts do not have two-factor authorization (can block integration)|
Device and Yandex.Station in the same Wi-Fi network|
The device firmware is updated to the latest version-->
Limitation: With formal integration, you can connect no more than 50 Xiaomi devices to one Yandex account, and if the limit is exhausted, you will have to use alternative methods.
What to do if Yandex asks to "confirm the device" through SMS, But the code doesn't come?
3. Configure voice commands and scripts
Once the device is successfully connected, you need to configure how Alice will control it.
Method 1: Standard commands
Alice understands basic phrases like:
- π‘ "Alice, turn on the light in the living room" (if the lamp is called "Living room")
- π "Alice, turn off the socket on the balcony"
- π‘οΈ "Alice, what's the temperature in the nursery)
Method 2: Castomy scenarios
To create complex automation (e.g., Alice, Mode Mode" = Turn off the lights, turn on the TV and close the curtains, do the following:
- In the Yandex app, go to Smart Home β Scenarios β Create a script.
- Select the trigger "Voice Team" and write a phrase (for example, "mode movie").
- Add actions: turn on/off Xiaomi devices, run other scenarios.
- Save and test the team.
An example of a complex scenario:
| Trigger. | Action. | Xiaomi device |
|---|---|---|
| Voice: "Alice, I'm leaving." | Turn off all lamps. | Yeelight Ceiling Light |
| Enable "Vacation" mode at the lock | Xiaomi Gateway 3 | |
| Send notification to Telegram | Through Home Assistant |
π‘
If Alice doesn't recognize the device's name, rename it Mi Home in Russian without special symbols "Lamp_1" Use the living room lamp".
4.The solution to the problems: why does Alice not see the Xiaomi device?
Even with officially supported devices, failures can occur, and here are the most common causes and ways to fix them:
β οΈ If you are using Xiaomi Gateway 2 (model) ZNDMWG02LM), It's not supported by Yandex because of outdated firmware, and the only way out is to flash it on Aqara or use Home Assistant.
- π΄ Error "Device not responding" Check if the Xiaomi gateway is on blue light (if flashing orange, no Wi-Fi connection).Reset the gateway by turning off power for 30 seconds.
- π΄ "Unable to add device" Remove device from Mi Home and add again. If it doesn't work, change the region in Mi Home to "Russia" (even if it already stands).
- π΄ Alice sees the device but doesnβt control it In Mi Home, check that the device is not locked for third-party services: Profile β Settings β Accessible applications.
- π΄ Sensors (motions, openings) do not update status This is a known problem with latency synchronization. The solution is to configure a state survey via Home Assistant (see section 5).
If nothing helps, try an alternative method. IFTTT (It is slower and requires a setup in English).
π‘
Before resetting the Xiaomi Gateway, be sure to remove it from Mi Home and Yandex.Smart Home. Otherwise, when reconnecting, βghostβ devices may appear that are not removed from the system.
5 Connecting Uncertified Devices via Home Assistant
If your Xiaomi device is not supported by Yandex (e.g., Xiaomi Vacuum, Mi Air Purifier or Chinese versions of sensors), the only reliable way to use Home Assistant as an intermediary, which works even for devices with Chinese firmware.
What you need:
- π₯οΈ Computer or Raspberry Pi to install Home Assistant.
- π§ Xiaomi Mi Home Integration plugin (installed via HACS).
- π Mi Home account with the option βAllow access from other countriesβ enabled (in security settings).
Step-by-step:
- Install Home Assistant (instructions on the official website).
- In the configuration file configuration.yaml add: mi_home: username: your email@mi.com password: your country password: cn # or ru for Russian servers
- Reboot Home Assistant and check that the devices are in the interface.
- Connect Home Assistant to Yandex through official integration (in the Yandex smart home settings, select Home Assistant Cloud).
Advantages of the method:
- β It works with any Xiaomi device, even uncertified ones.
- β You can create complex automations with time triggers, sensors, etc.
- β There is no limit on the number of devices (unlike direct integration with Yandex).
β οΈ When using Home Assistant with Chinese Xiaomi devices, there may be delays in management (up to the end of the day). 2-3 This is due to the features of the cloud servers Mi Home.
Alternative methods: IFTTT and local scenarios
If Home Assistant seems too complicated, you can try half-measures.
Method 1: IFTTT (basic-management)
Service IFTTT It allows you to link Mi Home and Yandex.Alice via applets. 5-10 seconds and limit 3 free-to-play applet.
- π Create an account on IFTTT.
- π Connect Mi Home and Yandex Smart Home.
- π Set the applet to the template: If (if) β Yandex Smart Home (voice command) Then (voice command) β Mi Home (on/off device).
Method 2: Local Scenarios with Mi Home Automations
If Alice is not needed for voice control, but only for automation, set up scenarios right in Mi Home:
- Open Mi Home β Automation β Add β Script.
- Select a trigger (for example, "When you open the door").
- Add an action (e.g., "Switch on the lamp").
- Save and activate the script.
These scenarios will work locally (without the cloud), which speeds up the response of devices.
7.Security: How to protect a smart home from hacking?
The integration of Xiaomi and Yandex.Alice raises the issue of security: if a hacker gains access to your account, he can control all devices.
- π Two-factor authentication: Enable 2FA Mi and Yandex accounts (even if it interferes with integration, security is more important).
- π Local area network: If possible, use devices that run without the cloud (e.g., Xiaomi Zigbee devices via a gateway).
- π Regular updates: Check firmware in Mi Home once a month β Xiaomi often closes vulnerabilities.
- π« Access Restriction: In Mi Home, disable Shared Access for unnecessary devices.
What to do if the device is hacked?
Signs of break-in:
- The devices are turned on/off by themselves.
- In the logs of Mi Home appear strangers IP-address.
- Alice says "the device is busy."
Action:
- Disconnect the device immediately from Wi-Fi/feed-in.
- Change the passwords from Mi and Yandex accounts.
- Remove the device from all integrations and add again.