How to connect Alice to Xiaomi smart home: step-by-step instructions with error solutions

Xiaomi’s voice-activated smart home via Yandex’s Alice opens up new possibilities for home automation. You can turn on lights, adjust temperature, or run scripts with a simple voice request β€” without having to pull out a smartphone. But the process of integrating the two ecosystems often raises questions among users.

In this article, we will go into detail all the stages of connection, from account preparation to device configuration, and focus on common errors (such as 40403 error in the connection of accounts) and how to fix them.

1.Preparation: What it takes to connect Alice to Xiaomi

Before you start setting up, make sure you have:

  • πŸ“± Smartphone with installed Mi Home apps (version 6.0)+) and Yandex (with Alice).
  • πŸ”Œ Xiaomi smart devices added to Mi Home and running in the same region (e.g. Russia or Mainland China).
  • πŸ”’ Xiaomi and Yandex accounts with confirmed phone numbers (required for security!).
  • 🌐 Sustainable Internet connection (2.4GHz Wi-Fi for most Xiaomi devices).

Important: If your devices are tied to Mainland China, they will have to be moved to Russia or another supported region.

  1. Open Mi Home, go to Profile β†’ Settings β†’ Region.
  2. Change region to Russia (when you change all devices will turn off and require re-addition!).
  3. Add the devices again through Add the device β†’ See also.
πŸ“Š What kind of Xiaomi devices you plan to connect to Alice?
Lamps and lamps
Sensors (movements, openings)
Sockets and switches
Robot vacuum cleaner
Climate engineering

Region Warning: Devices purchased in China (e.g. Xiaomi Mi Air Purifier) 3C), They often only work in the China region, and they'll need to connect to Alice:

  • πŸ”§ Use Mi Home with Mi Home with VPN (server in Hong Kong or Singapore).
  • πŸ“¦ Or purchase a global version of the device (the model name will be Global).

2. Linkage of accounts Xiaomi and Yandex

The main stage is the linking of Xiaomi account to Yandex.Services.

  1. Open the Yandex application on your smartphone and go to the Services β†’ Smart home.
  2. Click Add Add the device β†’ Xiaomi.
  3. Enter your username and password from your Xiaomi account (use the same account that your devices are linked to!).
  4. Confirm access by clicking Allow in the Mi Home window.

If you have a 40403 error (β€œCannot Link Accounts”) at this point, try:

  • πŸ”„ Sign out of Xiaomi account in Mi Home and log in again.
  • πŸ“± Install the latest version of Mi Home (link to Google Play or App Store).
  • 🌍 Make sure that the region of Russia is selected in Mi Home (see Section 1).

Xiaomi account confirmed by SMS|All devices in one region Mi Home|Yandex app updated|Wi-Fi is stable and stable.-->

Important: After successful account bundling, it can take up to 10 minutes before devices appear in Yandex.Services.Do not try again during this period, this can cause a synchronization conflict.

3. Set up devices in Yandex.Services

After the account bundle, your Xiaomi devices should automatically appear in the Yandex Smart Home section.

  1. Go to the Smart Home β†’ Settings β†’ Devices.
  2. Click Update the list (Icon) πŸ”„ top-right).
  3. If the device doesn’t show up, check its status in Mi Home – it should be Online.

For each device, you can configure:

  • 🏠 Room (such as Living Room or Kitchen) – this will help Alice understand the context of the teams.
  • πŸ”€ A pseudonym (e.g., "Candle" instead of "Yeelight") LED Ceiling Light").
  • πŸ”„ Automatic scenarios (e.g. β€œIf the motion sensor is triggered, turn on the lights").

Example of setting up a pseudonym for the Yeelight lamp:

  1. Open the device in Yandex.Services.
  2. Press on. βš™οΈ Settings β†’ Name of device.
  3. Enter a convenient name, such as a table lamp.
  4. Save the changes.
Which Xiaomi devices are not supported by Alice?
Unfortunately, Alice does not work with devices that require Mi Home from the China region (for example, some Xiaomi Mi Robot Vacuum models older than 2020). CN ROM (Chinese version of the software. - Gadgets using proprietary protocols (for example, Xiaomi Mi Band). - Devices connected via Mi Home in Local Network mode (cloud management only).

4.Voice control: What commands does Alice understand

Once you've set up, you can give Alice commands to control the devices.

Type of deviceExamples of teamsNotes
Lights (Yeelight)"Alice, turn on the table lamp 50%." "Alice, make the lights in the living room warm."Supports brightness and color temperature adjustment (if the device allows it).
The sockets (Mi Smart Plug)"Alice, turn off the socket in the bathroom." "Alice, turn on the kettle in 5 minutes."You can use timers and delayed inclusion.
The Robot Vacuum (Mi Robot Vacuum)"Alice, start cleaning the room." "Alice, get the vacuum cleaner back to base."Zone cleaning commands are supported (if the card is saved in Mi Home).
Sensors."Alice, what's the temperature on the balcony?" "Alice, is the bedroom window open?"Only for sensors that transmit data to the cloud (not all models are supported).

Critical feature: Alice does not support local commands (for example, through Mi Home on the local network).All requests go through the Xiaomi cloud, so when you turn off the Internet, voice control will not work.

If Alice doesn't understand the team:

  • πŸ”€ Make sure that the name of the device in Yandex.Services matches what you say.
  • πŸ“‘ Check your device’s internet connection (Mi Home should have green status Online on the device).
  • πŸ”„ Restart the device (turn off power for 10 seconds).

5. Creating scenarios and automation

One of the key benefits of integration is the ability to create automated scripts that work by voice or conditions, such as:

  • πŸŒ… "Morning: when the command "Alice, good morning" lights turn on, the coffee maker starts and the robot vacuum cleaner begins cleaning.
  • πŸŒ™ "Goodnight: Turns off all lights, closes the curtains (if there is a Mi Smart Curtain) and activates Do Not Disturb mode on the phone.
  • πŸšͺ "No one at home: when the sensor of no movement turns off all outlets and turns on the security mode.

To create a script:

  1. Open Yandex.Services β†’ Smart home. β†’ Scripts.
  2. Click Create a script β†’ Add a condition.
  3. Select a trigger (voice command, time, event from the sensor).
  4. Add actions (e.g., turn on the Yeelight lamp by 30%).
  5. Save the script.

Example of setting up the script "Cinema":

Condition: Voice command "Alice, turn on the cinema"


Action:




1. turn off the main light (Yeelight Ceiling Light)




2. Turn on the lighting at 10% (Yeelight LED Strip)




3. Enable the socket with the projector (Mi Smart Plug)




Set the air conditioning temperature at 22Β°C (Mi Air Conditioning Companion)

πŸ’‘

If the scenario doesn’t work, check the order of action: some devices (such as a robot vacuum cleaner) may block other commands from being executed if they take a long time to act (such as cleaning).

6. Solving common problems

When integrating Xiaomi and Alice, users often encounter common mistakes.

⚠️ Note: If after the bundle of accounts devices do not appear in Yandex.Services for more than 30 minutes, check whether access to the service is blocked. API Xiaomi for your region. This is true for accounts registered through VPN.

Problem.Possible causeDecision
40403 error in the ligamentMi Home regions mismatch or outdated version of the application.Change your region to Russia and upgrade your Mi Home.
Devices are not displayedDevices are linked to another Xiaomi account or are not supported.Check the binding in Mi Home and model compatibility.
Alice says, "The device is not responding."Internet problems or offline device in Mi Home.Restart the router and device, check the Wi-Fi connection.
Commands are executed with a delayHigh load on Xiaomi servers or slow Internet.Try to execute the command later or check the network speed.

If none of the solutions worked, try untie and re-link accounts:

  1. In Yandex.Services go to the Smart Home β†’ Settings β†’ Xiaomi.
  2. Press Turn Off.
  3. Wait 5 minutes and repeat the procedure.

For devices that never made the list, check their firmware.Some models (e.g. Xiaomi Mi Air Purifier) 2S) Requires updates to the latest version of the software via Mi Home.

7.Security: How to Protect a Smart Home from Hacking

Integration of the two ecosystems increases the surface for potential attacks.

  • πŸ” Use two-factor authentication (2FA) for Xiaomi and Yandex accounts.
  • πŸ“΅ Do not connect critical devices (such as door locks) to voice control.
  • 🌐 Regularly update your device firmware through Mi Home.
  • 🚫 Disable access to Mi Home for third parties in account settings.

To turn on 2FA Xiaomi:

  1. Open Mi Home β†’ Profile β†’ Account settings β†’ Security.
  2. Select two-step verification and follow the instructions.
  3. Save your backup codes in a safe place (such as a password manager).

It is also recommended to periodically check active sessions in the Xiaomi account:

  1. Go to account.xiaomi.com.
  2. In the Security section, find Device Management.
  3. Remove all unknown devices from the list.

πŸ’‘

Never use the same password for Xiaomi and Yandex accounts. If one account is hacked, an attacker will gain access to the entire smart home.

8. Alternative management practices

If Alice integration is not suitable for some reason, consider the alternatives:

  • πŸ€– Google Assistant: Supports Xiaomi via Mi Home (requires a Google Home bundle).
  • 🍎 Siri: Works with HomeKit (Mi Home Bridge or Home Assistant).
  • 🏠 Home Assistant: Open automation platform that supports Xiaomi through the Mi Home Integration plugin.

To connect to Google Assistant:

  1. Open Mi Home β†’ Profile β†’ Settings β†’ Google Assistant.
  2. Click Link and log in to your Google account.
  3. Allow access to the devices.
  4. You can now manage devices through the OK Google commands.

The advantage of Home Assistant is that it is locally managed without depending on the cloud, but it requires technical knowledge:

  • Install Home Assistant on the Raspberry Pi or NAS.
  • Add Xiaomi Mi Home integration through HACS.
  • Set up automation through a visual editor.

If you are choosing between Alice and the alternatives, consider:

  • πŸ‡·πŸ‡Ί Alice understands Russian better and is integrated with other Yandex services (for example, weather, traffic jams).
  • 🌍 Google Assistant supports more devices, but requires English skills for complex teams.
  • πŸ”§ Home Assistant is the most flexible option, but difficult to set up.

FAQ: Frequent questions

Can I connect Alice to Xiaomi without changing the region to Mi Home?
No, if your devices are tied to the Mainland China region, they must first be moved to Russia or another supported region, except for global versions of devices (for example, Xiaomi Mi Smart Socket). EU), who initially work in the region of Russia.
Why does Alice say "Device not supported" when it's in Mi Home?
This means that your device model is not compatible with Yandex.Services. Check the list of supported devices on Yandex.Help.Often the problem is solved by updating the device's firmware.
How to connect Xiaomi robot vacuum cleaner to Alice?
The robot vacuum cleaner must be tied to Xiaomi's Russia account and have the latest firmware. After the Yandex.Services account bundle, the vacuum cleaner will appear on the device list. Supported commands like, "Alice, start cleaning the living room." "Alice, return the vacuum cleaner to base." Zone cleaning requires that the Mi Home has a map of the room.
Can you manage Xiaomi devices through Alice without the internet?
No, all commands go through the Xiaomi and Yandex cloud. Local management requires you to configure Home Assistant or another automation server with a plugin for Mi Home.
What if Alice’s team stopped working after the Mi Home update?
Update the Yandex app to the latest version. If the problem persists: Untie Xiaomi's Yandex.Services account. Clear the cache of Mi Home and Yandex. Reconnect accounts. Usually, this helps restore work.