How to Manage Xiaomi Devices with Alice: From Customization to Advanced Scripts

Why Alice and Xiaomi are the perfect smart home couple

The voice assistant Alice from Yandex and the ecosystem of Xiaomi smart devices have long become the de facto standard for automation of everyday life in Russia. Combining affordable gadgets (from Yeelight light bulbs to Mi Robot Vacuum robot vacuum cleaners) with Russian-language voice control allows you to create a full-fledged smart home without deep technical knowledge. But many users face the problem of how to link the two systems, what commands are supported, and how to make the most of their work together.

In this article, we’ll look at all the integration steps, from basic account binding to creating complex scenarios with time triggers, geolocation or sensors, and learn which Xiaomi devices are compatible with Alice out of the box and which require workarounds. We'll focus on common mistakes (like when Alice doesn't see the device) and how to fix them, and at the end, we'll have a list of voice commands with examples for different types of equipment, from air conditioners to air conditioners. IP-camera.

Step 1: Preparation – What it takes to connect Xiaomi and Alice

Before you start setting up, make sure you have everything you need.

  • 📱 Android or iOS smartphone with Mi Home (or Xiaomi Home for new devices) and Yandex (with Alice) installed).
  • 🔌 At least one compatible Xiaomi device (list below).
  • 🌐 Stable Internet connection (Wi-Fi 2.4 GHz for most Xiaomi gadgets).
  • 🔐 Mi Accounts (Xiaomi) and Yandex ID (Linked to a single phone number to simplify synchronization).

Important: Some Xiaomi devices (especially those released before 2020) may require a firmware update to work with Alice, such as Yeelight light bulbs that need to be manually updated through the Yeelight app, not the Mi Home. Check the relevance of the firmware can be in the device menu in Mi Home (Settings section) → About the device → Update).

📊 What Xiaomi devices you already have?
Yeelight bulbs
Robot vacuum cleaner
Smart socket
Sensors (movements, openings)
Air conditioning/heater
IP-camera
Other
No devices.

Step 2: Linking Xiaomi account to Yandex – Step-by-step instructions

The main way to manage is through the integration of accounts.

  1. Open the Yandex application on your smartphone and go to the Services section → Smart home.
  2. Click Add Add the device → Xiaomi (or Mi Home) for older versions).
  3. Enter the username and password from your Mi Account. If you have two-factor authentication enabled (2FA), You will need to enter the code SMS Google Authenticator Apps.
  4. Confirm Yandex’s access to Xiaomi devices (all requests are allowed).
  5. Wait for synchronization (can take up to 5 minutes). The devices will appear in the list of Smart Home in the Yandex application.

If the devices are not displayed after binding:

  • 🔄 Reboot your router and Xiaomi device (remove the plug for 30 seconds).
  • 📡 Check that the device and smartphone are connected to the same Wi-Fi network.
  • 🔧 At Mi Home, go to Profile → Settings → Apps with access and make sure that Yandex has rights.

☑️ Checking before linking accounts

Done: 0 / 5

Step 3: Device compatibility – what exactly will work with Alice

Not all Xiaomi gadgets support Alice control, here is the current list of compatible devices (as of June 2026):

Type of deviceModels (examples)Supported teamsNotes
Smart light bulbsYeelight LED, Mi LED Smart Bulb, Xiaomi PhilipsOn/off, brightness, color, scenariosRequires firmware not lower than 1.4.0
Robot vacuum cleanersMi Robot Vacuum-Mop 2, Xiaomi Vacuum G10Start/stop, zone cleaning, return to baseDoes not support room maps through Alice
Smart socketsMi Smart Plug, Xiaomi Wi-Fi PlugOn/off, timers, energy consumptionMaximum load – 10A (2200 W)
Air conditioners/heatersMi Air Conditioning Companion, Xiaomi Smartmi HeaterTemperature, modes (cooling/heating)Demands. IR-Unit (for unintelligent air conditioners)
IP-cameraMi Home Security Camera 360°, Xiaomi Smart Camera C400Flow viewing, turn, motion detectionVoice commands are limited (no recording controls)

⚠️ Note: Devices purchased in China (with firmware) CN), The solution is to change the region to Russia in Mi Home (but this can disrupt the work with Chinese servers.

How to check the region of the device in Mi Home?
Open Mi Home, select the device → Settings (⚙️) → The "Region" line should be Russia or Europe, and if it's China, it might not sync with Alice.

Step 4: Voice commands – a complete list with examples

Alice understands contextual commands for Xiaomi devices, and below are basic templates that can be tailored to your needs:

For smart light bulbs:

  • 💡 «Alice, turn on the light in the living room by 50%" (brightness adjustment).
  • 🎨 «Alice, make the bedroom light blue).
  • 🌃 «Alice, turn off all light bulbs in 30 minutes).

For robot vacuum cleaners:

  • 🤖 «Alice, run the kitchen vacuum cleaner" (zonal cleaning if the rooms in Mi Home are set up).
  • 🏠 «Alice, put the vacuum cleaner back on base».
  • 🔄 «Alice, turn on the quiet cleaning mode" (if supported by the device).

For smart outlets:

  • ⚡ «Alice, turn on the kettle socket».
  • ⏱️ «Alice, turn off the heater in 2 hours».
  • 📊 «Alice, how much electricity was used by the socket in the hallway today" (if supported by energy accounting).

💡 If Alice doesn’t understand the name of the device (for example, she says “I don’t know such a light bulb”), go to the Yandex app. → Smart home. → Settings of the device → Name it and give it a simple name (e.g., “Bedroom Lamp” instead of “Yeelight”). LED Color 1S»).

💡

Create a group of devices in Yandex (for example, “All the lights in the house”) – so you can control several light bulbs with one command: “Alice, turn off all the lights.”

Step 5: Automation and Scenarios – How to Make Devices Work

Voice commands are just the tip of the iceberg. Real magic begins when Xiaomi devices communicate with each other automatically. In Yandex, this is called "Scenarios," and in Mi Home, "Automation." Let's look at both.

Scenarios in Yandex (a simple solution):

Go to the Smart Home → Scripts → Create a script. Examples:

  • 🌅 «If it is 7:00, turn on the lamp in the bedroom by 30%” (alarm clock with fluent light).
  • 🚪 «If the door sensor is working, turn on the camera and send a notification».
  • 🌡️ «If the temperature is below 20°C, then turn on the heater».

Automation in Mi Home (extended features):

There are more triggers here, but the setup is more complicated:

  1. Open Mi Home → Select the device → Automation → Add.
  2. Select a condition (for example, “Motion Sensor is working”).
  3. Select an action (e.g., “Enable Yeelight lamp”).
  4. Keep the rule.

⚠️ Note: If you create automation in Mi Home, it won’t be visible in Yandex, and vice versa. For complex scenarios (such as those with delays or multiple conditions), it’s better to use Home Assistant or Node-RED.

💡

For automation to work smoothly, all devices must be connected to the same Wi-Fi network. If you have a dual-band router (2.4 GHz) + 5 GHz), link Xiaomi devices to the 2.4 GHz network – many gadgets do not support 5 GHz.

Step 6: Solving Problems – What to Do If Alice Doesn’t Run Xiaomi

Even with the right setup, you can have failures.-5 problems and solutions:

Problem.Possible causeDecision
Alice says "The device is not responding"Offline device in Mi HomeRestart your router and device, check your Wi-Fi
The device is not displayed in Yandex after bindingIncompatible firmware or regionUpdate the firmware or change the region to Russia
Commands are executed with a delay (5).+ seconds)Problems with servers Xiaomi/yandexUse local management (via Home Assistant)
Alice doesn't understand the name of the deviceToo complex or Cyrillic nameRename the device to Latin in Mi Home
Robot vacuum cleaner doesn't start cleaning on commandNot set up rooms in Mi HomeCreate a room map and save the rooms

If the problem is not solved:

  1. Untie and re-link Xiaomi account in Yandex.
  2. Remove the device from the Mi Home and add it again.
  3. Please write in support of Yandex (Help) → Smart home. → Write in support) with a description of the problem and screenshots.

Step 7: Advanced Chips – Local Management and Integration with Home Assistant

If you don't like the limitations of cloud management (latency, server dependency), you can set up local interactions via Home Assistant or OpenHab, which will take longer, but will:

  • ⚡ Instant execution of commands (without delay).
  • 🔧 Extended scenarios (e.g., “If the sensor CO₂ exceeds the norm, turn on the hood and send SMS»).
  • 🌐 Managing devices outside the home without VPN.

A brief guide for Home Assistant:

  1. Install Home Assistant on the Raspberry Pi or NAS.
  2. Add Xiaomi Mi Home integration through HACS.
  3. Sign in with the token from Mi Home (you can get it through miot-spec).
  4. Connect with Alice via Yandex Smart Home or Alice.io.

⚠️ Note: Local management requires a constantly running server (Raspberry Pi, NAS If you cut the electricity, the scenarios will stop working. For critical tasks (e.g. heating), use backup power supplies (UPSs).

FAQ: Frequent questions about managing Xiaomi through Alice

Can you run Xiaomi through Alice without a smartphone?
Yes, but with limitations. You can use voice commands through a smart speaker (like Yandex Station) or a Yandex app on a PC, but you still need a smartphone to set up the initial setup.
Why does Alice turn on the light bulb but can't change its color?
It's got to do with restrictions. API Some light bulb models (e.g. Yeelight Color older than 2019) only support basic commands (on/off, brightness). Update the device's firmware or check its compatibility on the Yandex website.
How do you get Alice to turn on the vacuum cleaner on schedule?
In Yandex there is no direct function of the schedule for vacuum cleaners, but you can create a script with a time trigger: Open the Yandex application → Smart home. → Scenarios. Select Add Script. → By time. Specify the time (e.g. 10:00) and the action "Start vacuum cleaner." Alternatively, adjust the schedule in the Mi Home itself (Automation section).
Can you control a Xiaomi air conditioner through Alice if it doesn't have Wi-Fi?
Yeah, but you will. IR-block (e.g. Xiaomi Mi) IR Remote Controller or BroadLink RM4 Pro. Connect it to the Mi Home, add air conditioning as a device, and then tie it to Yandex. After that, Alice can send IR commands to the air conditioner.
What if after the update to Mi Home Alice stopped seeing the device?
This is a common problem when changing. API. Try: Untie and re-link Xiaomi account in Yandex. Update the firmware of devices through Mi Home. Clear the cache of the Yandex application (phone settings) → Annexes → Yandex → Warehouse → If it does not help, write in support of Yandex with the device models and version of Mi Home.