How to connect Mi Home devices to Alice: full instruction with error solutions

Voice assistant Alice from Yandex has long been an integral part of smart homes, but many users of Xiaomi Mi Home face difficulties when trying to integrate. The problem is that the Mi Home and Yandex.Stations ecosystems are not originally designed for direct interaction – they use different protocols and cloud services. However, there are official and informal ways to combine them, and in this article we will discuss all working methods for 2026.

It’s important to understand that not all Xiaomi devices are supported directly by Alice. For example, robot vacuum cleaners or smart lamps Yeelight (a subsidiary of Xiaomi) connect easier than door opening sensors or some Mi Smart Socket models. We analyzed all the current ways β€” from the official bridge over Yandex IoT to alternative solutions using Home Assistant β€” and collected them in one guide with step-by-step instructions, screenshots and analysis of typical errors.

If you've tried connecting devices before and you get an error like "Device not found" or "failed to sync," don't give up the idea. 90% of the time, the problem is solved by setting up the region in Mi Home, updating the firmware or changing the integration method, and then you'll find checklists for diagnostics and universal solutions that work even for rare models.

1.What Xiaomi Mi Home devices are compatible with Alice?

Before you try to connect the device, check its compatibility. Officially, Alice supports only those Xiaomi gadgets that are certified to work with the Yandex IoT platform. Here is the current list of categories (for June 2026):

  • πŸ’‘ Smart lamps and lights: Yeelight, Mi LED Desk Lamp, some Philips Hue models (remarked as Xiaomi).
  • 🧹 Robot vacuum cleaners: Mi Robot Vacuum-Mop 2, Xiaomi Mi Robot Vacuum-Mop P, Dreame (subsidiary brand).
  • πŸ”Œ Smart sockets: Mi Smart Plug (models with Wi-Fi support, but not all revisions).
  • 🌑️ Temperature and Humidity Sensor 2 (Home Assistant only).
  • πŸšͺ Opening sensors of doors / windows: Mi Door/Window Sensor 2 (limited support).

Not officially supported (but you can connect via workarounds):

  • πŸ”Š Smart speakers Mi Smart Speaker (conflict with Alice at the level of voice commands).
  • πŸ“Ί Mi TVs TV (Home Assistant or Node-RED is required).
  • πŸ”‹ Mi Power Bank Batteries (Not available) API smart-home).
πŸ“Š What Xiaomi device are you trying to connect to Alice?
Robot vacuum cleaner
Smart lamp.
Temperature sensor
Smart socket
Other

To find out if your model is supported, check it in the Yandex IoT Device Directory, and if the device is not there, you will have to use alternative methods (about them in the following sections).

⚠️ Note: Devices purchased in China (region) CN Mi Home, often not connected to Alice even through workarounds.

2.Official method: connection via Yandex IoT

The most reliable and simple method is to use the built-in Yandex IoT integration, which works for most popular Xiaomi devices and does not require additional software.

  1. Install the Yandex application with Alice (if not already installed) and log in.

If it's successful, it'll appear on Alice's list in 5 to 10 minutes, and now you can control it with your voice, like:

  • "Alice, turn on the lamp in the living room."
  • "Alice, run the kitchen vacuum cleaner."
  • "Alice, show the temperature in the nursery" (for supported sensors).

The device is added to the Mi Home and is stable|

Xiaomi account tied to Russia (not China) region)!|

The device is on and on the same Wi-Fi network as the smartphone|

In the application Yandex allowed access to geodata and microphone-->

If the device does not appear on the list, try the following:

  1. Reboot the device (remove the batteries/turn off the power for 30 seconds).
  2. Update the device’s firmware through Mi Home.
  3. Check that the region of Russia (not China or Europe) is selected in Mi Home.
  4. Remove the device from Mi Home and add again.

⚠️ Warning: If you use Mi Home on Android, clear the app cache in your phone settings before connecting. On iOS, reinstalling Mi Home sometimes helps.

3. Alternative method: Connecting via Home Assistant

If your device isn't officially supported, you can use Home Assistant, an open smart home platform, which is more complicated, but works for almost all Xiaomi gadgets, including sensors and rare models.

  • πŸ–₯️ Computer or Raspberry Pi to install Home Assistant.
  • πŸ“Ά Stable Internet connection.
  • πŸ”§ Basic skills in working with YAML-Configuration (or willingness to learn).

Step-by-step:

  1. Install Home Assistant: Download the image from the official website. Write it to a microSD (for Raspberry Pi) or install it on a virtual machine.
  2. Set up integration with Mi Home: # Add to configuration.yaml file: mi_home: username: your email@xiaomi.com password: your password # For China (if the device is from the CN-Region: # server: cn After saving, restart Home Assistant.
  3. Connect Home Assistant to Alice: In Home Assistant, go to Settings β†’ Voice assistants β†’ Yandex Alice. Follow the instructions for authorization through Yandex IoT.

Set up voice commands

In Home Assistant, create scripts for Alice, such as to control the lamp.

script:


turn_on_lamp:




alias: "Switch on the lamp"




sequence:




- service: light.turn_on




entity_id: light.xiaomi_lamp

Important: For devices from China (CN-region) in configuration.yaml be sure to specify the server setting: cn, otherwise they will not connect.

What if the Home Assistant can’t see the device?
1. Check that Mi Home has access for third-party applications (Profile) β†’ Settings β†’ Applications and devices β†’ Allow access. 2. Update the Mi Home access token (sometimes re-authorization is required). 3. Make sure the device is connected to the same network as the Home Assistant. 4. Sensors (such as the Mi Door Sensor) may need to be manually added via the device. Zigbee2MQTT (If they are running on the Zigbee protocol).

4. Connection through cloud services (IFTTT, Node-RED)

If Home Assistant seems too complicated, you can use intermediate services like IFTTT These methods are less reliable (depending on third-party servers), but easier to configure.

Method 1: IFTTT (simple-team)

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

  • If Alice gets the "Switch on the Lights" command,
  • piece IFTTT sends a signal to Mi Home.

Instructions:

  1. Register for IFTTT.
  2. Connect services: Yandex Alice (search for the keyword "Yandex"). Mi Home (requires authorization through your Xiaomi account).
  3. Create Applet: This: Select Yandex Alice and specify a phrase like "Put the kitchen lamp on." That: Select Mi Home and select the device/team.

Cons of the method:

  • πŸ•’ Delay in execution of the command (up to 5-10 seconds).
  • πŸ’° Free fare IFTTT Limits the number of rules (3 pieces).

Method 2: Node-RED (for advanced users)

Node-RED is a visual editor for creating automation. It's more flexible than it is. IFTTT, But it requires a setup skill:

  1. Install Node-RED on a Raspberry Pi or PC.
  2. Add nodes: node-red-contrib-yandex-smart-home (for Alice). node-red-contrib-mi-home (for Xiaomi).
Yandex Alice β†’ Function (Team Processing) β†’ Mi Home Device

πŸ’‘

If you use IFTTT, Create backup rules in case of service failure, for example, duplicate critical commands through Home Assistant.

5. Solving typical connection errors

Even when you set it up properly, you can get errors, and we've collected some of the most common problems and solutions.

Mistake.Reason.Decision
"Device not found" in YandexThe device is tied to another region in Mi HomeChange region to Russia in Mi Home settings (deleting and re-addition of the device may be required)
"Failed to synchronize."Unstable Internet connection or port lockReboot the router, turn it off. VPN/Proxy, check the firewall.
Alice sees the device, but doesn't control it.Name conflict (e.g., two devices called a "Lamp")Rename the device to Mi Home and Yandex Smart Home so that the names coincide
"Authentication Error" in Home AssistantWrong token or password from Xiaomi accountCreate a new token through Mi Home Token Extractor
Sensors (e.g., temperatures) do not update data.Lowered survey interval in Home AssistantSet the setting in configuration.yaml polling_interval: 60 (second-rate)

If your error is not in the table, try the following universal steps:

  1. Check that the device is on and connected to the network.
  2. Update Mi Home and Yandex app to the latest version.
  3. Remove the device from both apps and add again.
  4. Check if the antivirus or firewall blocks access to the cloud servers of Xiaomi (api.io.mi.com) or Yandex (home.api.yandex.net).

⚠️ Note: If you use Mi Home on iOS, turn off the Private Wi-Fi Address function for the network to which the device is connected before connecting.

6. Voice commands to control Xiaomi devices

Once you've successfully connected, you can control the devices by voice, and here are some commands that Alice understands:

For smart lamps and light fixtures:

  • "Alice, turn on the lights in the hall by 50%" (brightness control).
  • "Alice, make the lights warm in the bedroom" (color temperature change)
  • "Alice, turn off all the lights" (group team)

For robot vacuum cleaners:

  • "Alice, run the kitchen vacuum cleaner."
  • "Alice, put the vacuum cleaner back on base."
  • "Alice, turn on the wet cleaning in the living room" (for models with support).

For smart outlets:

  • "Alice, turn on the kettle socket."
  • "Alice, turn it off in 1 hour."

To make Alice understand the teams better:

  • πŸ“› Give devices unique and simple names (e.g., β€œLamp by the Sofa” instead of β€œXiaomi Yeelight Color 2").
  • 🏠 Group devices by room in the application Yandex Smart home.
  • πŸ”„ If Alice doesn't understand the command, try paraphrasing (for example, instead of "turn on the light" say "light the lamp").

πŸ’‘

Alice is better at recognizing commands if the device name has a keyword (e.g., "lamp", "outlet", "vacuum cleaner"). Avoid abstract names like "Device 1".

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

Connecting Xiaomi devices to Alice creates additional security risks, and here’s how to minimize them:

  • πŸ” Use complex passwords for Xiaomi and Yandex accounts (at least 12 characters with letters, numbers and special characters).
  • πŸ›‘οΈ Enable two-factor authentication in both accounts.
  • 🌐 Set up a guest network on a router for smart home devices (separate them from the main network).
  • πŸ”„ Regularly update the firmware of devices and applications.
  • 🚫 Disable remote access to Home Assistant if you don’t use it outside the home.

Pay special attention to the Mi Home settings:

  1. Go to Profile. β†’ Settings β†’ Security.
  2. Turn off the "Allow access from other regions" option (if not necessary).
  3. Check the list of connected devices and remove unknowns.

If you are using Home Assistant:

  • Set up. HTTPS with a valid certificate (e.g., through Let's Encrypt).
  • Restrict access to IP in configuration.yaml file: http: ip_ban_enabled: true login_attempts_threshold: 3

⚠️ Warning: Never share Mi Home or Yandex IoT access tokens with third-party services, even if they promise to β€œsimplify setup.”This could lead to data leakage or hacking into your smart home.

8. Frequently Asked Questions (FAQ)

Can you connect Xiaomi devices from China to Alice (region) CN)?
Officially, no, because they are tied to Chinese servers, but there are workarounds: Change region in Mi Home to Russia (you may need to create a new account). Use Home Assistant with server: cn in config. For some devices (for example, Yeelight) you can use the firmware Tasmota (requires soldering and skills to work with the company). ESP8266). Note that changing your region may result in loss of functionality (e.g., Xiao voice assistant). AI).
Why does Alice see the device but not control it?
This is a typical problem associated with: Name conflict (for example, two devices are called the same), mismatch of regions in Mi Home and Yandex Smart Home, locking ports with a router or firewall. Solution: Rename the device in both applications so that the names are the same. Check that Mi Home has chosen a region Russia. Open ports 80, 443, 53 for Xiaomi devices in the router settings.
How to connect to Alice smart camera Xiaomi?
Officially, Xiaomi cameras (such as the Mi Home Security Camera) are not supported by Alice due to privacy restrictions. xiaomi_miio to control the camera (without transmitting the video to Alice) RTSP-stream from the camera and broadcast it to Yandex.Station with a screen (requires technical skills). Buy a camera with official support for Yandex IoT (for example, Yandex Camera). ⚠️ Important: Video transfers via third-party services may violate Xiaomi’s user agreement.
Do I have to pay to connect Xiaomi devices to Alice?
No, all official and most alternative methods (like Home Assistant) are free: IFTTT Restricts the number of rules in the free rate (3 pieces). Some cloud services (for example, Nabu Casa for Home Assistant) offer paid options for remote access. Beware of sites that offer "paid tokens" or "premium access" to Mi Home - this is a scam.
Can you control Xiaomi devices outside of your home?
Yes, but for that: The device must be connected to the Internet (not just the local network); the Mi Home must have remote access enabled (on default); if you use the Home Assistant, set up a cloud or Nabu Casa for external access; To check: Open the Mi Home app over the mobile Internet (not Wi-Fi); If the device is managed, it is available for Alice as well.