How to connect Xiaomi smart socket to Yandex Alice

The integration of Mi Home devices with Yandex’s voice assistant opens up new horizons for managing home comfort. A smart outlet is only really useful when it can be controlled by voice or through a single interface without having to open Chinese apps. The setup process can seem confusing due to server features and regional setting requirements, but with the algorithm, everything goes well.

In this article, we will take a look at all the stages of hardware pairing, learn how to properly prepare gadgets, what the nuances of the Zigbee or Wi-Fi protocol have, and how to avoid the typical mistakes that beginners face in the world of Smart Home. We will look at work both through direct account integration and through third-party gateways if direct connection is not available in your region.

To start, make sure you have a stable Internet connection and the apps you need on your smartphone, and voice control is just the tip of the iceberg of the capabilities you'll get when you're done with the setup. Let's get to the hardware and software.

Preparation of equipment and software

Before you start synchronization, you need to make sure that all the components of the system are working. The smart socket must be working, and the smartphone must have access to a 2.4 GHz Wi-Fi network. Many modern routers by default combine the 2.4 and 5 GHz bands into one network, which sometimes causes problems when initially configuring Xiaomi devices, in which case it is recommended to temporarily split the networks in the router settings or use the access point on another phone.

You will need to install two main applications: Mi Home (or Aqara Home if the brand’s outlet) and Yandex with activated skill. It is important to download apps from official App Stores or Google Play, as versions from third-party sources may not work correctly or contain malicious code. Also make sure that the phone is enabled geolocation and Bluetooth, as these modules are used to search for the device up close.

⚠️ Warning: Make sure the Mi Home app selects the "China" region or one that matches your outlet.If your account is tied to Europe and the device is Chinese, they won't see each other.

Check the operating system version of your smartphone. Mi Home and Yandex applications require current versions of Android (usually 8.0 and above) or iOS (13.0 and above) to work smoothly.Oddated software may not support the necessary encryption protocols used to transfer data between cloud servers.

💡

Before you start setting up, update the firmware of the outlet itself through the Mi Home app if it has already been used. This will eliminate possible connection bugs.

Setting up the socket in the Mi Home app

The first and most important step is to add the device to the manufacturer’s native ecosystem. Without this step, integration with Yandex Alice is impossible, since it is through the Xiaomi cloud that commands are transmitted. Open the Mi Home app and click on the plus in the upper right corner to add a new gadget.

The app will automatically start scanning the available devices. If your smart socket is in pairing mode (usually the indicator flashes quickly), it will appear in the list. If the automatic search did not give results, select the device manually from the directory. To do this, you can use the search by model name or scan QR-code on the box or the device itself.

☑️ Checking before connection

Done: 0 / 4

During the connection process, the app will ask you to select a Wi-Fi network and enter a password. Note that, as mentioned earlier, the network must be in the 2.4 GHz range. Once the connection is successful, the outlet will receive a name that will consist of the model name and the last characters by default. MAC-It is recommended to immediately rename the device to understandable ones, for example, "Rosette in the living room" or "Lamp by the bed", so as not to subsequently get confused in the management.

If the connection fails the first time, try resetting the socket to the factory. To do this, press the button on the device body for 5-7 seconds until the indicator starts flashing orange. Then repeat the add procedure in the Settings → Add the device.

Registration and setting up Xiaomi account

The entire ecosystem requires a single Xiaomi Account, which is where you log in to the manufacturer's servers, and if you haven't already created an account, do it on the Mi Home app or official website, and when you sign up, you need to provide the correct phone number and email, because they will receive the confirmation code.

As mentioned, Chinese versions of devices (and most of them are in the market) need to choose China. If you choose Russia or Europe, the app may not find Chinese-made devices, a common mistake that leads users to fail to understand why the outlet is not on the list.

ParameterRecommended valueNote
Region of the accountChina (China)For CN devices version
Wi-Fi frequency2.4 GHz5 GHz is not supported
Type of networkPrivateIn Windows/Router settings
Two-factor authenticationOn.For account security

Once you sign up, be sure to enable two-factor authentication, which will protect your account from unauthorized access, which is especially important when it comes to devices that control power in the house. Sign in on a new device or in third-party applications (like Yandex) may require you to enter code from SMS or email.

What to do if your account is blocked?
If Xiaomi’s security system suspects suspicious activity, the account may be temporarily blocked, and unlocking will require changing your password and verifying your identity through your linked email or phone.

Mi Home integration with Yandex Alice

Now, to the most important thing, which is the two ecosystems, open the Yandex app on your smartphone, go to the Services section or click on the profile icon, then select Smart Home. From the menu that opens, find the Plus or Add Device button.

In the list of available manufacturers, find “Xiaomi Mi Home.” If there is no direct integration (skill lists are updated periodically), search for “Xiaomi.” Click on the company logo and the system will prompt you to log in. You will be prompted to enter the username and password from your Xiaomi Account, which you created in the previous step.

⚠️ Note: When logging in through a pop-up, make sure you go to the official mi.com or mi-oauth domain.

Once you have successfully logged in, Yandex will request permission to access your devices. Confirm the action and the system will start synchronizing. This process can take anywhere from 10 seconds to several minutes depending on the number of gadgets connected.

📊 Have you had problems syncing accounts?
Yeah, I've been looking for a device.
There were authorization errors
It went smoothly.
I haven't tried it yet.

When the sync is complete, you'll see a list of the devices you've found, and the smart socket will show up with the name you gave it in the Mi Home app, and you can now control it directly from the Yandex interface, creating scripts or simply turning the power on/off.

Managing the socket through voice and scripts

Once you've successfully attached it, you can control the socket with your voice. Just say, "Alice, turn on the socket in the living room," or "Alice, turn off the lamp." The voice assistant will send a command to a Xiaomi server, which in turn will transmit a signal to the device, and the latency is usually minimal, and it's 1-2 seconds on good Internet.

But the real power of a smart home is revealed in scenarios. In Yandex, go to Scenarios and create a new one. You can set the power socket to turn on automatically when certain conditions are met, such as, "If I come home, turn on the humidifier" or "Switch off all the lights at 23:00."

💡

Voice control works only when there is active Internet on both devices (column/phone and socket).

There's also a timer and countdown feature available. You can ask Alice to say, "Switch off the socket in 30 minutes." This is useful for charging devices or using heaters that don't have to work all the time. You can activate scenarios not just by time or geolocation, but also by the status of other devices if they're also connected to the system.

For advanced users, settings are available via IFTTT or Home Assistant if standard Yandex functionality is not enough, allowing you to create complex logical chains by linking devices from different manufacturers that are not directly friends with each other.

Solution: the socket is not located or managed

The most common problem is that the device is found in Mi Home, but does not appear in Yandex after synchronization. In this case, try untie your account in the Yandex app and re-assign it, sometimes simply renaming the device to Mi Home to a simpler one, without special symbols and emojis helps.

Another reason is servers being out of sync. Try turning off and re-enable the “Xiaomi Mi Home” skill in the “Smart Home” section of the Yandex app. Also make sure that Xiaomi servers are not running scheduled maintenance work, as is usually reported on the company’s official forum.

  • 🔴 The indicator is lit red – the device is not connected to the network or has a critical error.
  • 🔵 The indicator flashes blue - the process of connecting or updating the firmware is underway.
  • 🟢 The indicator is green (or white) – the device is working normally and ready for commands.
  • ⚪ The indicator does not burn – check the presence of voltage in the network and the contact density of the plug.

If the outlet has stopped responding to commands, check the status of your Wi-Fi router. It may have fallen off the network due to a change in password or security settings, which will require a full reset (clutching the button for 10 seconds) and reconfiguring from scratch.

Why does Alice say "the device is not responding"?
This means that the team reached the Xiaomi cloud, but they couldn't transfer it to a particular device, so check if the outlet is on the network and if it has Internet access.

Frequently Asked Questions (FAQ)

Can you control Xiaomi without the internet?
Locally, through the home Wi-Fi network, some models support control through third-party hubs such as Home Assistant with plugins Xiaomi Gateway 3. However, to work through the application Yandex and voice control access to the global network is mandatory, since the processing of voice commands and communication between servers takes place in the cloud.
Is it safe to leave Xiaomi’s socket on all the time?
Yes, Xiaomi and Aqara smart outlets are designed for round-the-clock operation, and have built-in protection against overheating and overload, but it is not recommended to connect powerful heating appliances (warm floors, powerful heaters) that exceed the declared load (usually 10A or 2.2 kW) to avoid melting the contacts.
What to do if your Wi-Fi password has changed?
If you change your password or your Wi-Fi network name, all smart home devices will lose connection. You'll have to reconfigure each device. In the Mi Home app, remove the socket from the list, reset the button on the case, and add it again, specifying the new network data.
Does the outlet work with Alice if Xiaomi servers crash?
No, because the bundle runs on a chain: Voice → Yandex Server → Xiaomi Server → Rosetta. If the Xiaomi server is not available, the chain breaks and the command will not be executed. Local control in this case may also be unavailable depending on the model of the socket.