Connecting Xiaomi Techniques to Alice: A Complete Guide with Instructions and Tips

Voice assistant Alice from Yandex has become an integral part of smart homes, and Xiaomi equipment is one of the most popular ecosystems for automation of everyday life. However, many users face difficulties when trying to combine the two systems. Unlike native integration with Google Assistant or Apple HomeKit, connecting Xiaomi devices to Alice requires additional steps and knowledge of nuances.

In this article, we will look at all the current synchronization methods, from official solutions through Yandex IoT to alternative methods using Home Assistant or Mi Home Automations. You will learn which Xiaomi models are directly supported, how to configure a cloud bridge for incompatible devices, and what to do if Alice “does not see” your equipment.

What Xiaomi devices are officially supported by Alice

Not all Xiaomi gadgets can work with Alice out of the box. Official support through the Yandex IoT platform is only available for devices with the Mi Home logo or Xiaomi Smart Home, released after 2020.

  • 💡 Smart lamps and lamps: series Yeelight, Mi LED Smart Bulb, Xiaomi Smart Lamp
  • 🔌 Relays and relays: Mi Smart Plug, Aqara Smart Wall Switch
  • 🌡️ Mi Temperature and Humidity Sensor, Aqara Motion Sensor
  • 🚪 Smart locks and cameras: Mi Smart Door Lock, Mi Home Security Camera 360°
  • 🪟 Curtains and fans: Mi Smart Curtain, Mi Smart Fan

The full list of supported devices can be found on the official Yandex IoT page. Please note that even if your model is on the list, you will need to update your firmware to the latest version through the Mi Home app to connect.

⚠️ Note: Aqara brand devices (part of Xiaomi’s ecosystem) often require separate setup via the Aqara Home app rather than the Mi Home!

Category of deviceExample of modelIs a cloud bridge required?Alice's support
Smart lampsYeelight LED Ceiling LightNo.Yes (full)
RosettesMi Smart Plug (Zigbee)Yeah.Yes (limited)
Sensors.Aqara Temperature SensorYes (Aqara Hub)Yes (reading only)
CamerasMi Home Camera 2KNo.Yes (control and flow)
Robot vacuum cleanersMi Robot Vacuum-Mop 2No.Partially (base commands)

Preparing for the connection: what to do before setting up

Before you start integration, make sure that all the prerequisites are met, which will save time and eliminate the common mistakes:

  1. Update your device’s firmware through Mi Home. Outdated versions often don’t support Yandex IoT protocols.
  2. Install the latest versions of applications: 📱 Mi Home (or Aqara Home) for Aqara devices) 🎤 Yandex (with Alice's support) 🏠 Yandex Smart Home (optional, for advanced settings)

Mi Home

Mi Home

Russia (Russia)

Yandex IoT

If your device uses the Zigbee protocol (like Aqara sensors), make sure you have a work gateway (hub) of the same brand.

Update the firmware of the Xiaomi device|Install the application Yandex and Mi Home|Link the device to your Mi Account|Check regional settings (Russia)|Connect the gateway (for Zigbee devices)-->

Method 1: Official connection via Yandex IoT

This is the most reliable method, but it only works for certified devices, and the instructions are relevant for lamps, sockets, cameras and other equipment with support for Yandex IoT:

  1. Open the Yandex app and go to the Smart Home section (the house icon in the bottom menu).

Step-by-step:

  1. Install Home Assistant on your device (instructions on the official website).
  2. In configuration file.yaml add integration with Mi Home: mi_home: username:!secret mi_home_username password:!secret mi_home_password gateways: - key: YOUR_GATEWAY_KEY (The gateway key can be found on the device body or in the Mi Home in the hub settings).
  3. Reboot Home Assistant and check that the devices are in the interface.
  4. Install the Yandex Smart Home component via HACS (Additions Manager).
  5. In the configuration.yaml file add: yandex_smart_home: notify: true filter: include_entities: - light.yeelight_color1 - switch.mi_plug exclude_domains: - zone
  6. In the Yandex app, add Home Assistant as a new device through the Smart Home section → Add → Manually configure.

Alice will now be able to manage devices through Home Assistant, and the main advantage of this method is flexibility: you can create complex automation scenarios that are not available in standard integration.

How to find the Mi Home gateway key?
The Gateway Key is a unique identifier for your Xiaomi hub, which can be obtained in two ways: 1. On the device case: flip the gateway and find a sticker with the device. QR-And underneath it, there's a Key line: 1234567890ABCDEF. 2. via Mi Home: Open the application, go to the gateway settings (Devices) → Select a lock → Settings → General) and find the Network Information section. There will be the Gateway Key field. If the key is not on the sticker and in the application, try resetting the gateway to factory settings (hold the reset button for 5 seconds) and repeat the search.

Solving Typical Connection Problems

Even when set up correctly, users often encounter errors, and here are the most common ones and ways to fix them:

Problem.Possible causeDecision
Alice doesn't see the device on the listThe device is not certified for Yandex IoTUse Home Assistant or check compatibility on Yandex website
Authorization error in Mi HomeIncorrect login/password or two-factor authenticationTurn off 2FA in Xiaomi account settings or generate an app-password
The device is connected, but does not respond to commandsProblems with the cloud server Xiaomi or YandexRestart the device and check the internet connection
Voice commands are working with a delayLow Internet speed or server congestionUse local management through Home Assistant (if possible)
Xiaomi camera does not stream video to AliceIncompatible flow format or regional restrictionsSet up the broadcast via RTSP in Home Assistant

If none of these methods worked, check the error logs in the Mi Home or Home Assistant app, often with a specific cause of the crash (e.g. Invalid token or Device offline).

Smart lamps|Sockets and switches|Sensors (movement, temperature)|Cameras and video intercoms|Robot vacuum cleaner|Other-->

Managing Scripts Through Alice

One of the key benefits of integration is that you can run voice automation scenarios, like, "Alice, I'm leaving," which can turn off all the lights, close the curtains, and activate the burglar mode.

For officially supported devices:

  1. Open the Mi Home app and go to Automation.
  2. Create a new scenario (like leaving home) and add the actions you need.
  3. In the Yandex app, go to Smart Home → Scenarios and synchronize scenarios with Mi Home.
  4. Call the script a simple voice command (e.g., Mode Mode instead of Turn on the Movie).

For devices connected via Home Assistant:

  1. In the Home Assistant interface, create Script or Automation.
  2. In the configuration.yaml file add: script: movie_mode: Alias: Mode of the movie sequence: - service: light.turn_off target: entity_id: light.living_room - service: media_player.turn_on target: entity_id: media_player.tv - service: cover.close_cover target: entity_id: cover.curtains
  3. In the Yandex Smart Home integration settings, mark this scenario as available for Alice.

Example of voice commands for scripts:

  • 🎬 «Alice, start the movie mode»
  • 🚪 «Alice, activate security»
  • ☀️ «Alice, good morning (turns on the light, kettle and tells the weather)

💡

Delayed scenarios (e.g., “turn off the lights in 30 minutes”) are not directly supported by Alice, and for such tasks, use automation in Mi Home or Home Assistant, and give simple commands to Alice without time settings.

Security and privacy in integration

Connecting smart devices to a voice assistant always raises security questions.

Data transmitted to Yandex:

  • 📋 Device names and their state (on/off, temperature, etc.)
  • 📍 Approximate location (determined by IP-address)
  • 🗣️ Voice commands (processed to improve recognition)

How to minimize the risks:

  • 🔒 Use two-factor authentication for Mi Home and Yandex accounts.
  • 🌐 Set up a local area network for mission-critical devices (like cameras) through Home Assistant so they don’t depend on the cloud.
  • 📵 Regularly check the list of connected devices in Yandex Smart Home and delete unused devices.
  • 🔄 Update your device firmware and Home Assistant software (if you use it).

If you’re concerned about cloud data, consider fully local management via Home Assistant without Yandex IoT. In this case, Alice will only interact with your home server, not Xiaomi’s cloud.

⚠️ Warning: Never use the same password for Mi Home and Yandex accounts.In the event of a data breach, attackers will be able to control your devices!

FAQ: Frequent questions about Xiaomi's connection to Alice

Can I connect a Xiaomi robot vacuum cleaner to Alice?
Yes, but with limitations. Officially supported models Mi Robot Vacuum-Mop 2 and later. You can start/stop cleaning and send the vacuum cleaner to the base by voice, but advanced features (such as zone cleaning) are only available through the Mi Home. Old models (such as Mi Robot Vacuum 1) will require Home Assistant with a Xiaomi Miio plugin.
Why does Alice say, "The device is not responding," even though it works?
This error is caused by cloud sync issues. Check if the device is connected to the Internet (the indicator on the case should be green/blue). Does the firewall or antivirus block access to Xiaomi servers (api.io.mi.com) or has the authorization token expired in Mi Home (try to log in and re-enter your account). If the problem persists, reconnect the device in the Yandex Smart Home app.
How to connect a smart light to Alice?
Yeelight lamps (part of the Xiaomi ecosystem) are supported by Alice directly. Instructions: Install the lamp via the Yeelight or Mi Home app. In the Yandex app, go to Smart Home → Add device → Xiaomi. Sign in with the same account as the Mi Home. Select the lamp from the list and save the settings. You can now control the brightness and color of your voice, for example: "Alice, make the light in the bedroom blue 50%."
Do I have to pay to connect Xiaomi devices to Alice?
No, integration via Yandex IoT is free. However, some Home Assistant features (like Nabu Casa cloud access) may require a subscription (~$5/month).
Can I connect to Alice Xiaomi devices purchased in China?
Technically, but there are nuances: Hardware devices for the Chinese region will not be visible in Yandex IoT. They need to be reflashed to a global or European version. Some models (such as Mi Air Purifier) require binding to a Chinese Mi Home account, which makes integration difficult. Zigbee devices (Aqara sensors) need a Chinese gateway that is not compatible with Russian servers.