Xiaomi Mijia 2 and Alice: how to connect a smart device to a voice assistant in 5 minutes

Voice-controlled smart devices via Alice from Yandex have become an integral part of the modern smart home. However, the connection of Xiaomi devices β€” especially the Mijia 2 model (for example, temperature, motion or light sensors) β€” often raises questions among users. The problem lies in the differences in ecosystems: Mi Home and Yandex Smart Home work on different protocols, and direct integration is not always obvious.

In this article, we will discuss three official ways of connecting (via Mi Home, Yandex.Station and third-party services), and also consider the typical errors that make Alice β€œcannot see” the device. Particular attention will be paid to the updated algorithm of 2026, which takes into account changes in Xiaomi’s policy on working with third platforms. If you have already tried to sync Mijia 2 and received an error like β€œDevice is not supported” or β€œfailed to add to the Smart Home”, here you will find a solution.

1.What you need to connect Xiaomi Mijia 2 to Alice

Before you start setting up, make sure you have:

  • πŸ“± Smartphone with installed Mi Home apps (version 6.0)+) Yandex (with support for a smart home).
  • πŸ”Œ Xiaomi Mijia 2 (e.g. Mijia Temperature & Humidity Sensor 2 or Mijia Motion Sensor 2) with battery power >20%.
  • πŸ“Ά Stable Wi-Fi connection (2.4GHz - a must!) Alice and Mi Home don't work over mobile internet.
  • πŸ†” Xiaomi account (linked to China Mainland or Russia) and Yandex account.

Important: if your Mijia 2 device was purchased outside of Russia, you may need to change the region in Mi Home to China Mainland (otherwise some sensors will not appear in the list available). FAQ.

⚠️ Note: Xiaomi devices with firmware for the European market (EU) You may not be able to integrate with Alice through Mi Home, but you may need an alternative method (Section 4).

2. Method 1: Connect via Mi Home and Yandex Smart Home (official method)

This is the most reliable way, but it only works for devices that are directly supported by Yandex.

  1. Add the device to Mi Home: Open Mi Home β†’ Press + β†’ Select Add Device. Follow the on-screen instructions (usually you need to press the button on the device before the indicator flashes). After adding, check that the device appears in the main menu with Online status.
  2. Connect Mi Home to Yandex: Open the Yandex app β†’ go to Smart Home β†’ Add a device. Select Xiaomi from the list of brands. Enter the username / password from your Mi Home account (requires confirmation via SMS).

Set up voice control:

  • Once synchronized, the device will appear in the list. Click on it β†’ Settings β†’ Voice control.
  • Activate the option to Control via Alice and specify the name for the device (for example, "Sensor in the hallway").

If the device did not appear in Yandex Smart Home after synchronization, check:

  • πŸ”„ Update the Mi Home app to the latest version.
  • 🌐 Xiaomi account region (should be China Mainland or Russia).
  • πŸ“΅ The device must be on the same Wi-Fi network as the smartphone.

The device was added to the Mi Home|Xiaomi account tied to China Mainland region|Wi-Fi operates at 2.4 GHz frequency|Yandex app updated to the latest version-->

3. Method 2: Connect via Yandex.Station (for incompatible devices)

If your Mijia 2 device is not officially supported (e.g. Mijia Door/Window Sensor 2), you can use Yandex.Station as a hub, which requires a smart home speaker (e.g. Yandex Mini Station 2).

Algorithm:

  1. Connect Yandex.Station to the same Wi-Fi network as the Xiaomi device.
  2. In the Yandex app, go to Smart Home β†’ Add Device β†’ Another Device.
  3. Select Connect via Wi-Fi and follow the instructions on the screen (you will need to enter data from the network).
  4. After adding, assign the device a room and voice name (for example, β€œWindow Sensor in the kitchen”).

Method limitation: Not all Mijia 2 devices support direct connection to Yandex.Station. If you don't find a device during the search phase, try an alternative method (Section 4).

Via Mi Home and Yandex Smart Home | Via Yandex.Station | Via Home Assistant | In another way | I haven't connected-->

Method 3: Use of Home Assistant (for advanced users)

If the first two methods didn’t work, the Home Assistant, an open smart home platform, requires technical skills but allows you to connect any Xiaomi device to Alice, including unofficially supported models.

Instructions:

  1. Install Home Assistant: Download an image for Raspberry Pi or install it on your PC/server via Docker. Register your account and complete the initial setup.
  2. Connect Mi Home: In the control panel, go to Settings β†’ Integration β†’ Add Integration. Select Xiaomi Mi Home and enter data from your account. Confirm access to devices (all Mijia 2 sensors should be displayed).

Get Alice on the phone:

  • In Home Assistant, go to Settings β†’ Voice Assistants.
  • Select Yandex Smart Home and follow the authorization instructions.
  • After synchronization, the devices will be available in Yandex Smart Home.

The advantage of the method is that it has the flexibility and support of all Xiaomi devices, including older models, and the disadvantage is that it needs to maintain a working Home Assistant server.

How to avoid the β€œCan’t Add Device” error in Home Assistant
If you add Xiaomi Mi Home integration, try 1. Delete and re-add Xiaomi account in Mi Home. 2. Use the access token instead of the login / password (instructions for obtaining the token: mihome-bin.github.io). 3. Update Home Assistant to the latest version (in older versions, bugs with authorization are possible).

5. Typical errors and their solutions

Even when following the instructions, users face problems.

Mistake.Reason.Decision
"Device not supported" in Yandex Smart HomeThe device is not on the official list of compatible devices.Use Home Assistant or Yandex.Station as a hub
"I couldn't add to a smart home."Unstable connection to Xiaomi or Yandex serversCheck the internet, restart the router, try again in 10 minutes
The device is displayed in Mi Home, but not in Yandex Smart HomeXiaomi account region does not match China MainlandChange the region in Mi Home (instructions in FAQ)
Alice doesn't respond to voice commandsNo voice name of the device is givenOpen the device in Yandex Smart Home β†’ Settings β†’ Settings β†’ Select a name

⚠️ Warning: If the Mijia 2 device falls off Alice periodically after a successful connection, check the power saving settings on your smartphone. Some manufacturers (e.g. Xiaomi, Samsung) block the background work of the Mi Home, which leads to a disconnection of communication. Add the app to battery optimization exceptions.

6.Voice commands to control Xiaomi Mijia 2 via Alice

After a successful connection, you can use the following commands (examples for Mijia Temperature & Humidity Sensor 2):

  • πŸ“Š "Alice, what is the temperature in the nursery? – will sound the readings of the sensor.
  • πŸ’§ "Alice, what is the humidity in the kitchen? – will tell the humidity level.
  • πŸšͺ "Alice, is the window open in the hall? – Opening sensor status (Mijia) Door/Window Sensor 2).
  • πŸ”¦ "Alice, turn on the lights in the hallway for Mijia Smart LED Bulb.

To ensure that the teams work correctly:

  • Make sure that the device is given a unique name (e.g., not Sensor 1 but Bedroom Sensor).
  • Check that the device is in the same room in Yandex Smart Home as Yandex.Station (if used).
  • For motion sensors (Mijia Motion Sensor 2), set up scenarios in Mi Home (e.g. turning on the lights when driving).

πŸ’‘

If Alice confuses devices with similar names (such as Sensor 1 and Sensor 2), rename them with location: "Guide door sensor", "Sensor in the bathroom", which will simplify voice control.

7. Alternative integration services (if nothing works)

If none of the above methods worked, consider the following options:

  • 🌐 IFTTT (If This Then That: Create an applet that will send data from Mi Home to Yandex Smart Home via webhooks. Minus: delay in execution of commands (up to 10 seconds).
  • πŸ”Œ Node-RED: A platform for visually programming smart home scripts. Allows you to link Xiaomi and Alice via API, But it requires programming skills.
  • πŸ“± Smart Home for Xiaomi app (third-party software): An informal Android app that extends Mi Home capabilities.Risk: possible security issues (use at your own risk).

Before using third-party services, please read their privacy policies. Some solutions (such as IFTTT) require access to Xiaomi and Yandex accounts, which may not be secure.

πŸ’‘

If your Mijia 2 device isn’t officially supported, the most reliable way to integrate with Alice is the Home Assistant, which takes time to set up, but guarantees stable operation.

FAQ: Frequent questions about connecting Xiaomi Mijia 2 Alice

How to change the region in Mi Home to China Mainland?
1. Remove the Mi Home app and install it again. 2. Select China Mainland region when you first start (Chinese language can be changed to Russian in settings). 3. Sign in with the same Xiaomi account. All devices will remain tied. ⚠️ Once the region is changed, some devices can be displayed with Chinese characters in their names.
Can you connect Xiaomi Mijia 2 to Alice without Yandex.Station?
Yes, if the device is officially supported (the list of compatible models here), in this case, it is enough to link Mi Home and Yandex accounts through Yandex Smart Home.
Why does Alice say "Device is unresponsive" when it works in Mi Home?
The reasons may be: The device lost communication with Wi-Fi (check the indicator on the case); Xiaomi or Yandex servers are temporarily unavailable (check status on Downdetector); Voice control for this device is disabled in Yandex Smart Home settings. Solution: Reboot the device (take out / insert the battery), check the network connection and repeat the command.
How to update the firmware on Xiaomi Mijia 2 for compatibility with Alice?
The firmware update does not guarantee compatibility with Alice, but can solve connection problems: Open Mi Home β†’ Select Device β†’ Settings β†’ Firmware Update. If the update is not available, check the account region (for some devices updates come only in China Mainland).
What Xiaomi Mijia 2 devices do you think work with Alice?
As of 2026, the official support is Mijia Temperature & Humidity Sensor 2 (LYWSD03MMC), Mijia Motion Sensor 2 (RTCGQ11LM), Mijia Door/Window Sensor 2 (MCCGQ11LM), Mijia Smart LED Bulb (some models).