Why do you want to link Xiaomi and Alice?
Xiaomi Mi Smart Plug is no longer exotic โ it allows you to remotely control household appliances, adjust schedules and even monitor energy consumption. But the real magic begins when the outlet integrates with the voice assistant Alice from Yandex. Imagine: instead of looking for a smartphone, you just say, "Alice, turn on the heater in the bedroom" โ and after a second the room begins to heat up.
But many users have difficulty connecting these devices, ranging from the lack of current firmware to the trivial bugs in the Mi Home app settings. In this article, weโll look at all the ways you connect, from the standard app to the detours of older socket models, and youโll also learn which Xiaomi models are officially supported by Alice, and what to do if your socket is โnot seenโ by the system.
Important: synchronization takes no more than 5-7 minutes, but requires preliminary preparation. If you have never set up a smart device before, don't worry, we will analyze each step with illustrations and explanations. And for experienced users, we have prepared a unique life hack for integrating informal models through third-party services.
What Xiaomi smart outlets are compatible with Alice?
Not all Xiaomi outlets can work with voice assistant. Officially, Yandex supports only those models that are certified for the Russian market and have passed compatibility tests.
- ๐ Xiaomi Mi Smart Plug Wi-Fi (model) ZNCZ04LM) โ The most popular version with energy monitoring.
- ๐ Xiaomi Mi Smart Plug ZigBee (model) QBCZ11LM) โ Xiaomi Mi Gateway Hub Requires to Work.
- ๐ Aqara Smart Plug (model) SP-EUC01) โ Compatible but configured via Aqara Home.
- ๐ Xiaomi Mi Smart Plug (EU) (model ZNCZ12LM) โ European version, works with Alice after linking to a Russian server.
If your model isn't on the list, it doesn't mean you can't plug it in. There are workarounds through IFTTT or Home Assistant, but they require additional customization, and we'll talk about this in the informal methods section.
โ ๏ธ Note: Sockets purchased on AliExpress without official localization (for example, Chinese versions) ZNCZ02LM), You can't support Russian in the Mi Home app, which will make it harder to set up, but it won't make it impossible.
Preparing for the connection: what to do before the start
Before you start setting up, make sure all the preconditions are met, which will save you time and eliminate errors like โDevice not foundโ or โDisabled to connect to the serverโ.
Install the Mi Home app (version 6.0.100 and higher)
Update the socket firmware to the latest version
Connect the socket to the 2.4 GHz network (5 GHz is not supported!)
Register a Xiaomi account with reference to Russia
Make sure your smartphone has Bluetooth and Wi-Fi enabled-->
Pay special attention to the frequency of Wi-Fi. Xiaomi smart sockets work only with networks 2.4 If your router broadcasts both frequencies under the same name (e.g, MyWiFi_2G/5G), Separate them in the router settings, otherwise the socket will simply โnot seeโ your network.
Also check the region of your account in Mi Home:
- Open the app and go to Profile โ Settings โ Country/Region.
- Choose Russia (if China or another country is the same, change it).
- Restart the app.
โ ๏ธ Note: If you have previously used the Chinese version of Mi Home (with cn servers), you will have to create a new account or transfer the devices to a Russian server.
Step-by-step: how to connect the socket to Alice
Now, the most important thing is to connect the socket to the voice assistant, and you can divide the process into 3 steps: adding the socket to the Mi Home, linking the account to Yandex, and setting up voice commands, and we'll go through each step in detail.
Step 1: Adding a socket to the Mi Home app
If the socket is not already connected to your Xiaomi account, do so:
- Turn the socket on the network (the indicator should flash orange).
- In Mi Home, click + โ Add the device โ Rosetta.
- Select your model from the list (if not, try another device).
- Connect to the Wi-Fi outlet (the network will be called) MiPlug_XXXX).
- Return to Mi Home and wait for the setup to be completed.
Once added successfully, the socket will appear in the appโs main menu, make sure itโs online (the cloud icon should be green).
Stage 2: Linking Xiaomi account to Yandex
Now you need to give Alice access to your devices:
- Open the Yandex app with Alice.
- Go to Devices โ Add the device โ Xiaomi.
- Enter the username and password from your Mi Home account.
- Allow access to devices (checks for all items).
The system will automatically scan your devices. If the outlet doesn't show up, check:
- ๐ Update the page in the Yandex app.
- ๐ถ Make sure the outlet is online at Mi Home.
- ๐ง Reset the socket (take out and paste back into the network).
Stage 3: Set up voice commands
Once the synchronization is successful, the socket will appear on Alice's device list, and you can now assign her a room and set up voice commands:
- In the Yandex app, go to Devices โ [Your socket] โ Settings.
- Choose a room (such as a bedroom or kitchen).
- Please specify the name of the device (preferably short, such as the heater).
You can test it now.
- "Put the heater on."
- "Switch off the socket in the kitchen."
- "Is the rosette in the bedroom on?"
๐ก
If Alice doesnโt recognize the name of the outlet, try renaming it in the Yandex app using simple words (for example, โLampโ instead of โXiaomi Plug 1โ).
Common mistakes and their solution
Even with the right instructions, sometimes there are failures, and we've collected the most common problems and ways to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| โThe device was not foundโ in Yandex | The socket is tied to a Chinese server | Change your account region to Russia in Mi Home |
| The rosette flashes but doesn't connect | The wrong Wi-Fi network (5 GHz) | Switch router to 2.4 GHz or split networks |
| Alice says "The device is unavailable" | The outlet is offline at Mi Home | Reset the socket and check the internet |
| You can't change the name of the device. | Yandex Restriction on Special Symbols | Use only letters and numbers. |
โ ๏ธ Note: If after all the manipulations the socket has not appeared in Yandex, try untie and re-add it to Mi Home. Sometimes this helps to "reset" synchronization errors.
What if the socket is connected, but Alice canโt see it?
How to connect unofficial models of outlets?
If your outlet is not on the official list (for example, Xiaomi Mi Smart Plug ZNCZ02LM or Chuangmi Plug), it can still be integrated with Alice, but additional services will be required.
Method 1: Through IFTTT (for advanced users)
IFTTT (If This Then That) is a service that automates interactions between devices, and connects the outlet to Alice.
- Create an account at iftt.com.
- Connect the Mi Home service (you will need a username / password from Xiaomi).
- Create an applet with the Google Assistant trigger (or Yandex Alice if available) and the Mi Home action.
The disadvantage of the method: Alice will not see the status of the socket (on/off), but will be able to control it on command.
Method 2: Home Assistant (for enthusiasts)
Home Assistant is an open smart home platform that supports almost all Xiaomi devices.
- Install Home Assistant on Raspberry Pi or PC.
- Add Xiaomi Mi Home integration (a device token will be required).
- Configure a bundle with Yandex Smart Home through the component yandex_smart_home.
This method is more complex, but gives full control over the devices, including power monitoring and history of inclusions.
๐ก
To get a Home Assistant device token, use the Mi Home Token Extractor app (available on GitHub).Do not share the token with outsiders - this gives you full access to your devices!
Security: How to protect a smart outlet from hacking
Smart devices are a potential loophole for hackers, especially if they're connected to voice assistants.
- ๐ Use a complex password for your Xiaomi account (at least 12 characters with numbers and special signs).
- ๐ก๏ธ Enable two-factor authentication in your Mi Account settings.
- ๐ Do not connect the socket to public Wi-Fi networks (cafes, hotels).
- ๐ Regularly update the firmware of the socket (in Mi Home will be a notification).
โ ๏ธ Warning: If you use Home Assistant or other third-party services, never open your router ports outwards (for example, for remote access) making your network vulnerable to attacks. VPN or Cloudflare Tunnel.
You should also disable remote control in the socket settings if you do not plan to turn it on from another country, which will reduce the risk of unauthorized access:
- At Mi Home, select a socket.
- Go to Settings. โ Public access.
- Turn off the Remote Access option.