How to Set Up Xiaomi Smart Home with Alice: A Complete Guide from Connection to Automation

Voice assistant Alice from Yandex and the Xiaomi ecosystem is one of the most popular combinations for creating a smart home in Russia. They can be used to control lighting, climate, security and household appliances by voice or through a mobile application. But how to combine these two systems so that they work together? In this article, we will discuss the step-by-step setting of the Xiaomi smart home with Alice integration, from choosing devices to creating complex automation scenarios.

Many users experience problems during the connection phase: devices are not detected, commands are not executed, and scripts are not working correctly. The reasons most often lie in the wrong configuration of bridges (Mi Home Gateway), firmware conflicts or errors in the connection of accounts. We will tell you how to avoid these errors and ensure stable operation of the system.

If you’re just starting out with a smart home, this guide will save you time and money. If you already have a part of Xiaomi devices but they’re not friends with Alice, you’ll find solutions for integration. The rule is that all devices must be connected to the same region in the Mi Home app (usually Russia or Mainland China, but not both!).

1.What Xiaomi devices are compatible with Alice?

Not all Xiaomi gadgets can be controlled through Alice, only those that support the Mi Home protocol (or Aqara for devices of this sub-brand).

  • πŸ’‘ Lighting: Yeelight, Mi lamps LED, LED tapes, Aqara switches
  • 🌑️ Climate: Mi Air Conditioner, heaters, humidifiers, Aqara thermostats
  • πŸ”’ Security: motion sensors, door/window openings, gas leaks, smoke (Aqara or Mi Home Security)
  • πŸ”Œ Sockets and relays: smart sockets Mi Smart Plug, relay for hidden installation
  • πŸ“Ί Multimedia: TVs Mi TV (with Alice on board, soundbars, projectors
  • 🧹 Robots: Mi Robot Vacuum vacuum cleaners, canvases (limited support)

Important: devices labeled "MiJia" or "Mijia Bluetooth" (such as some temperature sensors) do not work with Alice, as they use a closed Bluetooth Mesh protocol.

To check if a particular model is compatible, go to Alice’s Mi Home skill catalog or look up the Works with Yandex icon on the device box, and if you don’t have one, you’ll need to use workarounds (we’ll talk about them in the Home Assistant section).

πŸ“Š What Xiaomi devices you already have?
Smart lamps
Security sensors
rosettes or relays
Air conditioning/heater
Vacuum robot
Nothing, just planning.

2. Equipment required: what to buy for the start

The minimum set to run a smart home with Alice includes:

  1. Gateway: Xiaomi Mi Home Gateway 3 or Aqara Hub (required for sensors and some lamps).
  2. Column with Alice: Yandex Station (any model), Yandex Module (to connect to third-party speakers) or TV with built-in Alice.
  3. Smart devices: at least 1-2 gadgets for testing (for example, Yeelight lamp and Mi Smart plug).

If you are planning to expand the system, pay attention to the Aqara Hub. M2 β€” It supports more protocols (including Zigbee). 3.0) It has a backup battery. Large homes may need multiple gateways, because the maximum number of connected devices to one hub β€” 32 (for Aqara Hub) or 20 For the old Mi Home Gateway v1/v2).

The deviceModelPrice (2026)Notes
GatewayXiaomi Mi Home Gateway 3~2 500 β‚½Supports up to 30 devices, has a speaker for alarms
GatewayAqara Hub M2~3 800 β‚½Zigbee 3.0, backup battery, support for Apple HomeKit
lampYeelight LED Ceiling Light~4 000 β‚½Brightness 6500 lm, color temperature 2700–6500K
RosettaMi Smart Plug Wi-Fi~1 200 β‚½Max. power 2200 watts, no power monitoring
Sensor.Aqara Door/Window Sensor~900 β‚½It lasts up to 2 years from a battery. CR2032

⚠️ Note: If you buy devices on AliExpress or in Chinese stores, make sure they are for the region of Russia (the name of the model should be RU or EU). Chinese versions (CN) They are often not compatible with Alice because of different servers.

3. Connecting the Xiaomi gateway to the Mi Home app

The gateway is the brain of your smart home, and without it, sensors, some lights, and other Zigbee devices will not work, and it takes 5-10 minutes to set up.

  1. Download the Mi Home app (version for Russia) on Android or iOS.
  2. Sign up or sign in to your Xiaomi account (be sure to link your phone number!).
  3. Connect the gateway to the socket - it should start flashing orange (pairing mode).
  4. In the app, click + β†’ Add the device β†’ Gateway and follow instructions.
  5. Select a region of Russia (not China!) and connect the gateway to your Wi-Fi network (2.4 GHz only!).

Once the gateway is successfully connected, it will say in Chinese, "" ("connection successfully"). Now you can add other devices.

  • πŸ”„ Restart router and gateway (pull out the fork for 10 seconds).
  • πŸ“Ά Check that Wi-Fi is running at 2.4 GHz (gateway does not support 5 GHz).
  • πŸ”§ Update the gateway firmware in the gateway settings β†’ Update.

Gateway flashes orange|Wi-Fi is running at 2.4 GHz|Mi Home app updated|Xiaomi account tied to phone number-->

⚠️ Note: If you use the Aqara Hub, you need to connect it through the Aqara Home app, not the Mi Home. Once set up, both apps can be linked via a Xiaomi account, but you can’t manage Aqara devices in the Mi Home app – only in the original app.

4. Xiaomi account binding to Alice

In order for Alice to manage Xiaomi devices, you need to link accounts in the skill settings.

  1. Open the Yandex app on your phone and go to the Alice section β†’ Skills β†’ Mi Home.
  2. Click Connect and log in to your Xiaomi account (the same as Mi Home!).
  3. Allow access to devices (checks for all items).
  4. Wait for the synchronization (can take up to 5 minutes).

If the devices didn't appear in Alice:

  • πŸ”„ Reboot the gateway and column with Alice.
  • πŸ“± Check that in Mi Home all devices are tied to the same room (e.g., "Living Room"). Alice can't see the device from the room".
  • πŸ”§ Update Mi Home skill in Alice: Say Alice, Update your skills".

⚠️ Note: If you use the Aqara Hub, you need to link it through the Aqara skill, not the Mi Home.The two systems don't overlap, even if you have the same Xiaomi account.

πŸ’‘

If Alice stopped seeing the devices after the upgrade, try untie and re-assign Xiaomi account in the skill settings.

5. Set up voice commands and scripts

Now that the devices are connected, you can control them by voice. Here are some commands for Alice:

  • πŸ’‘"Alice, turn on the light in the living room" (if the lamp is called "Living room").
  • 🌑️"Alice, set the temperature at 22 degrees" (for air conditioning).
  • πŸ”Œ"Alice, turn off the kettle socket".
  • πŸšͺ"Alice, turn on No One Mode (start script).

To create a scene (automation), do the following:

  1. In the Mi Home app, go to Automation β†’ Add β†’ The scene.
  2. Select a condition (e.g., "If the motion sensor is triggered").
  3. Add an action (e.g., "Switch on the lamp").
  4. Save the scene and name it (e.g., "Lighting while moving").

Scenes can be run by voice through Alice, if you call them simply (without special characters).

"Alice, start the scene "Morning"" β†’ Turn on the lights, kettle and open the curtains (if you have Xiaomi motorized curtains).

⚠️ Note: Alice does not support conditional scenarios (e.g., if the temperature is above 25).°C, turn on the air conditioner. This type of task requires a Home Assistant or Node-RED.

What are the devices for convenient management?
Use short and unique names, such as: - "Lamp kitchen" (not "Smart lamp Xiaomi in the kitchen") - "Rosette TV" (not "Rosette under the TV in the living room") Avoid Cyrillic in the device names in Mi Home - Alice may not recognize them:"Lampa_spalnia".

6.The solution to the problems: why Alice doesn't run Xiaomi

If Alice doesn't see the device or follow commands, check the following:

Problem.Possible causeDecision
Alice says, "The device is not responding."Gateway or offline deviceCheck the gateway power, reboot the router
Devices don't appear in AliceThe Wrong Region in Mi HomeReconfigure the gateway to the region of Russia
Commands are executed with a delayWeak Wi-Fi or Zigbee signalMove the gateway closer to the router, add a repeater
Alice doesn't understand the name of the deviceToo long or complicated nameRename the device to Mi Home (e.g., "Lamp" instead of "Living chandelier lamp")
Scripts don't work.The conflict of automationCheck the conditions in Mi Home β†’ Automation

If nothing helps, try to reset the gateway:

  1. Press and hold the button on the gateway for 10 seconds until the yellow LED flashes.
  2. Connect the gateway again via Mi Home.
  3. Re-link the account in Alice's skill.

⚠️ Warning: Once the gateway is reset, all the devices connected to it will unplug and need to be added again. β†’ Gateway β†’ Connected devices.

πŸ’‘

If you have an Aqara and a Mi Home, you can't combine them into one system for Alice, so you have to choose a brand or use Home Assistant to integrate.

7. Advanced features: Home Assistant and circumvention of restrictions

If you need more flexibility (such as complex scenarios, integration with incompatible devices, or schedule management), use Home Assistant, an open smart home platform that allows you to:

  • πŸ”— Combine Xiaomi, Aqara, Tuya and other brands in one system.
  • πŸ“… Create timetables based on time, weather or geolocation.
  • πŸ€– Integrate Alice with Yandex Smart Home API (Even for unofficially supported devices).

The setup will require:

  1. Install Home Assistant on a Raspberry Pi, NAS, or virtual machine.
  2. Add Xiaomi Mi Home integration (you will need an account token).
  3. Configure Yandex Smart Home with a component yandex_smart_home.

⚠️ Note: Getting a Xiaomi account token for Home Assistant requires the use of informal methods (e.g., through Mi Home Token Extractor).This may violate Xiaomi's terms of use, so do it at your own risk.

How to get a token for Home Assistant?
1. Install Packet Capture on Android. 2. Run traffic capture and log in to Mi Home. 3. Log for clientId and token. 4. Copy the token to Home Assistant Config. Risk: Xiaomi may block your account for suspicious activity. Use a separate account for tests!

8 Smart Home Security: How to Protect Your System from Hacking

A smart home is not just a convenience, it's also a potential risk, and here's how to minimize it:

  • πŸ” Use a complex password for your Xiaomi account and enable two-factor authentication.
  • πŸ“Ά Disable remote access to the gateway in Mi Home β†’ Gateway settings β†’ Network settings if you do not use external control.
  • πŸ”„ Regularly update device firmware (especially gateway and cameras).
  • 🚫 Do not connect smart locks or cameras to public Wi-Fi networks (such as in cafes or hotels).

If you use Home Assistant, set up:

  1. Encrypting traffic through HTTPS (using Let's Encrypt).
  2. Restriction of access by IP (Allow only your addresses).
  3. Backup configuration (automatically once a week)

⚠️ Note: Xiaomi Smart Cameras (such as Mi Home Camera 360)°) The default is to send video to Xiaomi servers in China. If it is critical for you, turn off cloud storage in the camera settings and use local recording on the microSD.

FAQ: Frequent questions about setting up Xiaomi smart home with Alice

Can you control Xiaomi vacuum cleaner through Alice?
Officially, Alice only supports basic commands for the Mi Robot Vacuum vacuum cleaners: "Alice, start cleaning" "Alice, return the vacuum cleaner to base" "Alice, suspend cleaning" Complex commands (such as cleaning a particular room) do not work.
Why does Alice say "Device not supported" when it's in Mi Home?
This happens in three cases: the device is not on the official list of compatible devices; the device is connected via Bluetooth (for example, some MiJia sensors); Mi Home chose China region instead of Russia. Solution: check the model of the device for compatibility or use Home Assistant for a workaround.
How to get Alice to work with Chinese Xiaomi devices (region) CN)?
Officially, no. But there's a workaround: Create a second Xiaomi account in China. Connect Chinese devices to that account. Use Home Assistant to integrate both accounts and output devices to Alice. ⚠️ Disadvantages: You will need to manage devices through Home Assistant, not directly through Mi Home.
Can I use Alice without a speaker (only via phone)?
Yes, but with limitations: Voice control will work only with the open application Yandex with Alice. Scripts and automation will not run (you need a column or Yandex Module). ~2 500 β‚½).
How to reset all the settings of Xiaomi smart home?
To completely clean the system: Reset the gateway (hold the 10 seconds button). Remove all devices in Mi Home (Profile) β†’ Devices β†’ Untie Xiaomi account in Alice's skills. Reinstall the Mi Home app (optional). ⚠️ Once reset, all automation and scripts will be lost.Export them in advance via Mi Home β†’ Automation β†’ Backup (if available).