Connecting Xiaomi smart socket to Yandex: full instructions with pictures and tips

Why Xiaomi smart outlets are not always friends with Yandex – and how to fix it

Xiaomi smart outlets have long been the standard for home automation: they are cheap, reliable and easy to manage through the Mi Home. But when it comes to integrating with Yandex, problems begin. Users face synchronization errors, β€œinvisible” devices in the Yandex Smart Home application or sudden communication breaks. All because Xiaomi uses its own Mi Home protocol, which does not always correctly interact with the Yandex cloud through standard devices. API.

In this article, we're going to take a step-by-step guide with all the nuances, from choosing the right model of the outlet to setting up end-to-end synchronization via Mi Home and Yandex.Station. We're going to break down common bugs (like code 40403 or "Device Not Supported"), alternative ways to connect through Home Assistant, and even show you how to get the outlet to work with Alice without official support. If you've tried to connect and got a rejection, here's the solution.

Spoiler: Not all Xiaomi models are compatible with Yandex out of the box. For example, the Mi Smart Plug series (without the Wi-Fi in the title) often refuses to sync. But the Xiaomi Mi Smart Wi-Fi Socket or Aqara Smart Plug (although it is another brand of the ecosystem) connects without any problems. But more on that later.

What smart outlets Xiaomi supports Yandex: compatibility table

Before you try to plug in a plug, check out the model. Yandex doesn't officially support all Xiaomi devices, even if they work through the Mi Home. Below is a table with the latest data for 2026 (information is taken from official sources and user tests).

Model socketSupport for YandexNotesIs a hub required?
Xiaomi Mi Smart Wi-Fi Socket (ZNCZ04KM)βœ… Yes.Connect directly to Mi Home β†’ Yandex❌ No.
Xiaomi Mi Smart Plug (without Wi-Fi, ZNCZ02LM)❌ No.It only works through a Zigbee hub (e.g. Mi Gateway)βœ… Yes.
Aqara Smart Plug (SP-EUC01)βœ… Yes.Aqara Hub Requires, but Works with Aliceβœ… Yes.
Xiaomi Mi Smart Power Strip (extension)⚠️ Partially.Sometimes displayed as an "Unknown Device"❌ No.
Xiaomi Mi Smart Socket 2 (EU-version)βœ… Yes.Best option for Europe, supports energy monitoring❌ No.

If your model is not in the table, it does not mean that it can not be connected. For example, some users successfully integrate Xiaomi Mi Smart Plug (ZNCZ02LM) It's a Home Assistant with the Mi Home Integration plugin, but it requires more customization, as we'll talk about in the alternatives section.

⚠️ Attention: Yandex periodically updates the list of supported devices. If your socket used to work, and now disappeared from the application, check the updates Mi Home and Yandex Smart Home".

πŸ“Š What kind of Xiaomi smart outlet you use?
Mi Smart Wi-Fi Socket
Mi Smart Plug (Zigbee)
Aqara Smart Plug
Another model
I haven't bought it yet.

Preparing for connection: what to do before setting up

Before you connect the socket to Yandex, follow the necessary preparatory steps, ignoring them is the main cause of errors such as 40403 ("Device not found") or 50001 ("Sync error").

Install the latest version of Mi Home (not lower than 6.0.100)

Create a Xiaomi account and link it to the Mainland China or Russia region

Connect the outlet to a 2.4 GHz Wi-Fi network (5 GHz not supported!)

Disable VPN and proxy on your phone

Make sure the socket is on and flashes the indicator-->

Pay special attention to the region of your Mi Home account, if you registered through Singapore or India, Yandex may not see the device.

  1. Open Mi Home β†’ Profile β†’ Settings.
  2. Click on the country at the top of the screen and select Russia or Mainland China.
  3. Leave the account and log in again.
  4. Remove the socket from the app and add it again.

Another critical point is Wi-Fi. Xiaomi's smart outlets only work on frequency. 2.4 If your router is broadcasting two networks (for example, MyWiFi_2.4 and MyWiFi_5), If you have one network, but it's dual-band, divide it in your router settings.

πŸ’‘

If the outlet doesn't blink when you connect to the network, reset it to factory settings. To do this, hold the button on the case for 10-15 seconds until the indicator starts to blink quickly.

Step-by-step: how to connect Xiaomi socket to Yandex through Mi Home

Now, to the main process, we'll look at the official way through the Mi Home app, which works for most supported models, and if your outlet doesn't lend itself, read the next section on alternative methods.

Step 1: Adding a socket to Mi Home

If the socket is not already added to Mi Home, do this:

  1. Open Mi Home and press + β†’ Add the device.
  2. Select the category of Rosettes and find your model.
  3. Follow the instructions on the screen: connect the socket to the network, wait for the indicator to blink and confirm the addition.

After successful connection, the outlet will appear on the Mi Home home screen with the possibility of remote control.

Step 2: Synchronization of Mi Home with Yandex

Now we will connect the Xiaomi account with Yandex:

  1. Open the Yandex (or Yandex Smart Home) application.
  2. Go to the Devices section β†’ Add the device β†’ Xiaomi.
  3. Enter the username and password from your Mi Home account (should be linked to Russia or China).
  4. Confirm access to the data and wait for the synchronization to be completed.

Step 3: Set up management through Alice

To control the voice, do:

  1. In Yandex Smart Home, find your outlet in the list of devices.
  2. Press it. β†’ Settings β†’ Name for Alice.
  3. Select a convenient name, such as "Kettle in the kitchen" or "Rosette at the TV".
  4. Save the changes and check the command: "Alice, turn on the kettle in the kitchen."

⚠️ Note: If after synchronization the socket is displayed in Yandex Smart Home as β€œUnknown device”, try it:

  • πŸ”„ Reset the socket (remove/insert the plug).
  • πŸ“± Update Mi Home to the latest version.
  • πŸ”— Untie and re-link Xiaomi account in Yandex settings.

πŸ’‘

If the socket does not appear in Yandex even after re-synchronization, check whether access to the system is blocked. API Xiaomi for your region, in which case, changing the account region or using Home Assistant will help.

Alternative ways to connect: if the official method does not work

What if your outlet is not directly supported by Yandex? There are three workarounds:

Method 1: Connecting with Home Assistant

Home Assistant is an open platform for smart homes that can act as a bridge between Mi Home and Yandex.

  1. Install Home Assistant on a Raspberry Pi or other server.
  2. Add Mi Home integration through HACS (supplementary).
  3. Enter the data from your Xiaomi account and wait for the devices to be discovered.
  4. Set up integration with Yandex Smart Home via Yandex Smart Home or Alice.

The advantage of this method is that it supports all Xiaomi models, including those that do not work through the official Xiaomi model. API. Disadvantages – requires technical skills.

Method 2: Using a Zigbee Hub (for Aqara or Mi Smart Plug Zigbee)

If you have a socket on the Zigbee protocol (for example, Aqara) SP-EUC01 Mi Smart Plug Zigbee, it can be connected via the hub:

  • πŸ“‘ Buy Mi Gateway or Aqara Hub (they are compatible with each other).
  • πŸ”Œ Connect the hub to the network and add it to Mi Home.
  • πŸ”„ Add a socket to the hub via the app.
  • πŸ€– Synchronize the hub with Yandex (it will appear as the Xiaomi Gateway").

After that, the outlet will be controlled through the hub, not directly.

Method 3: Cloud service IFTTT (for advanced users)

IFTTT (If This Then That allows you to create chains of automation between services, for example, you can configure a rule:

If) β†’ The socket is included in Mi Home, That (That) β†’ Send a team to Yandex Smart Home.

For this:

  1. Register for IFTTT.
  2. Connect Mi Home and Yandex Smart Home services.
  3. Create an applet with a trigger according to the state of the socket.

The disadvantage of the method is the delay in executing commands (up to 5-10 seconds).

How do you know which protocol your plug is using?
Open the box or the device instruction manual. If it says "Wi-Fi," it runs through the Xiaomi cloud. If you mention "Zigbee" or "Zigbee 3.0," you need a hub. You can also look at the model on the outlet itself, ZNCZ04KM β€” It's Wi-Fi. ZNCZ02LM β€” Zigbee.

Typical Errors and Their Solutions: Code and Problem Analysis

When you connect Xiaomi smart outlets to Yandex, users experience repeated errors, and we have collected the most common ones and ways to fix them.

Error code/problemReason.Decision
40403The device is not found in the cloud XiaomiCheck the region of your Mi Home account (should be) Russia/China). Reconnect the socket to Mi Home. Update the socket firmware (if available).
50001Synchronization error between Mi Home and YandexUntie and re-connect Xiaomi account in Yandex. Check the Internet connection (the socket must be online). Reboot the router.
"Device not supported"The model of the socket is not included in the list of compatibleUse a Home Assistant or IFTTT. Check out Yandex updates (sometimes add new models).
The socket is displayed as an "Unknown device"Identity Conflict in the CloudRemove the device from Yandex and sync it again. Reset the socket to the factory settings.
Alice doesn't see the socket after setting upNo voice name or synchronization errorCheck the name of the device in Yandex Smart Home.Reboot Yandex.Station or column.

⚠️ If after all the manipulations the socket has not appeared in Yandex, check whether yours is blocked. IP-And that's what happens when you try to connect from different devices too often. IP (For example, reconnect to the mobile Internet or wait a day.

How to control the socket through Yandex: voice commands and automation

Once connected successfully, the outlet can be controlled not only through the app, but also through voice (via Alice) or automation. Here are some useful examples.

Voice control

Alice understands the following commands (replace "kettle" with your socket name):

  • πŸ”Œ "Alice, turn on the kettle" - will supply power to the socket.
  • ⏱️ "Alice, turn off the kettle in 10 minutes.
  • ❓ "Alice, is the kettle on? - Checking the condition.
  • πŸ“Š "Alice, how much electricity does the kettle consume? – if the socket supports energy monitoring.

Automation in Yandex Smart Home

You can create scenarios in the application by time, location or state of other devices, such as:

  1. Timer Disconnection: Condition: Time β†’ Activity: Turn off the heater socket".
  2. Smart heating: Condition: Temperature below 20Β°C (according to Xiaomi sensor). Action: Turn on the socket "Heater".
  3. Power savings: Condition: Power above 2,000 watts (if the outlet supports monitoring) Action: Send a "High consumption" notification.

To create automation:

  1. Open Yandex Smart Home β†’ Scripts.
  2. Press. + β†’ Create a script.
  3. Choose the condition and the action, save.

πŸ’‘

If you have multiple smart outlets, group them into rooms in Yandex, for example, create a group of "Kitchen" and add sockets for the kettle, refrigerator and hood, then you can control all the devices with one command: "Alice, turn everything off in the kitchen."

Energy Efficiency and Safety: What You Need to Know

Smart outlets are not only a convenience, but also a potential risk.

Security

  • πŸ”’ Account protection: Use a complex password for Mi Home and enable two-factor authentication. If an attacker gains access to your account, they can manage all devices.
  • πŸ“Ά Firmware updates: Regularly check out socket updates in Mi Home.Manufacturers close vulnerabilities that could allow hackers to gain control.
  • πŸ”Œ Network congestion: Do not connect devices with power above 2200-2500 W (for example, heaters or stoves) to a smart socket.

Energy efficiency

If your power outlet supports power monitoring (e.g., Xiaomi Mi Smart Wi-Fi Socket), use this data to save:

  • πŸ“Š Monitor "energy vampires": Some devices (such as chargers or standby TVs) consume electricity even when they are off.
  • ⏳ Find peak hours: If the electricity rate depends on the time of day, set the socket to work at cheap hours (for example, at night).
  • πŸ”„ Automatic Shutdown: Set up the rule: if the power is below 5W (device in sleep mode), the socket is turned off after 30 minutes.

⚠️ Warning: If the outlet starts to turn off or overheat arbitrarily, disconnect it immediately from the mains, which may indicate a malfunction of internal components. Xiaomi does not recommend using smart outlets in high humidity areas (bathroom, bath) or for controlling critical appliances (for example, medical equipment).

FAQ: Frequent questions on connecting Xiaomi smart outlets to Yandex

Can you connect Xiaomi socket to Yandex without Mi Home?
No, officially it's not possible. Yandex interacts with Xiaomi devices via the Mi Home cloud, so the app needs to be installed and configured. The alternative is to use Home Assistant or other third-party platforms, but that requires extra effort.
Why does the socket appear in Yandex, then disappear?
This problem is usually associated with unstable Internet connection or conflicts in the cloud Xiaomi. Try: Reboot router, untie and re-link Xiaomi account in Yandex, update the firmware of the outlet (if available). If the problem recurs, check whether your provider blocks access to Xiaomi servers (sometimes this happens in corporate or public networks).
How to reset the Xiaomi smart outlet to factory settings?
To reset, hold the button on the socket body for 10-15 seconds until the indicator flashes quickly (usually orange or blue).The socket will then be ready to reset. In some models (for example, Aqara), the reset is done with a five-fold push of the button.
Can you control Xiaomi’s outlet through Yandex if it is connected to the Aqara hub?
The Aqara Hub should be synchronized with Mi Home and then with Yandex, in which case the outlet will be controlled via the hub, not directly. Make sure that the Mi Home hub and outlet are in the same room.
Why does Alice say "the device is not responding" when the socket is working?
This error occurs when: the socket temporarily lost communication with the Xiaomi cloud (check the Internet); Yandex or Xiaomi servers are overloaded (wait 5-10 minutes); the voice name of the device contains special characters or too long (rename the socket); Also try to reboot Yandex.Station or the column through which you give commands.