Voice control of the lighting in the house is not only convenient, but also stylish. Xiaomi smart switches (for example, Xiaomi Mi Smart Wall Switch or Aqara Wall Switch) allow you to turn on the lights with your voice through Alice without getting out of the sofa. However, many users face difficulties in setting up: the device does not appear in Mi Home, Alice does not see it, and there are synchronization errors.
In this article, we will look at all the ways to connect (via Mi Home, Yandex Smart Home and third-party services), look at common errors and give tips on how to optimize your work.
Why Alice doesn't see the Xiaomi switch: the main reasons
Before setting up, it is important to understand why the connection may not work, and most often problems arise from:
1. Region incompatibility: Xiaomi devices for the Chinese market (CN-version) does not support integration with Yandex Smart Home. EU, RU org-roof.
2. No server connection. If Mi Home doesn't sync to the cloud, Alice won't be able to get the device data. Check the Internet and Mi Account settings.
3. Mi Home Incorrectly tethered. The switch must be added to the app before connecting to Alice. If you try to link it to Yandex first, nothing will work.
Older versions of the switch software (especially Aqara before 2022) may not support Mi Home Open API, through which Alice accesses.
π‘
If your switch is purchased on AliExpress without marking EU/RU, Check out his firmware in Mi Home β The device β Three points. β Info: If China region, flashing will be required (instruction below).
What Xiaomi switches support Alice: compatibility table
Not all Xiaomi smart switches are powered by voice assistant, and the table below shows the latest data for 2026:
| Switch model | Alice's support | Required hub | Notes |
|---|---|---|---|
| Xiaomi Mi Smart Wall Switch (1/2/3 button-up) | β Yes. | β No. | It works through Mi Home Open. API. I need firmware. EU/RU. |
| Aqara Wall Switch D1 (neutral) | β Yes. | β Aqara Hub M2 or M1S | Requires a hub link via Mi Home or Aqara Home. |
| Aqara Wall Switch H1 (neutral) | β Yes. | β Aqara Hub E1 or M2 | Supports Zigbee 3.0, but you need firmware at least 1.5.0. |
| Xiaomi Mi Wall Switch (old version, 2018β2020) | β No. | β No. | A model that is outdated without Open support API. Replacement required. |
| Aqara Opple Switch (6 buttons) | β οΈ Partially. | β Aqara Hub | It only works through scripts in Mi Home, there is no direct voice control. |
β οΈ Note: If your switch is not on the list, check it on the official Mi Home website under "Compatible Devices." OEM-Models (e.g. Yeelight or Mijia) may require separate customization.
Step-by-step: how to connect the Xiaomi switch to Alice
Step 1: Preparation of the device
Before setting up, make sure that:
- π The switch is installed in the power grid (it is not enough to simply connect it to Wi-Fi!).
- π± The phone has the Mi Home app installed (version no lower than 6.0.100).
- π The device is tied to the region of Russia or Europe (checked in the profile of Mi Account).
- π The switch is not connected to other systems (e.g. Google Home or Home Assistant).
βοΈ Preparation for connection
Step 2: Add a switch to Mi Home
1. Open Mi Home and press. + β Add the device.
2. Select the category of switches and find your model (for example, Xiaomi Mi Smart Wall Switch).
3. Follow the instructions on the screen:
- π Press and hold the switch button for 5 seconds until the indicator flashes.
- πΆ Connect to 2.4 GHz Wi-Fi network (5 GHz not supported!).
- π Enter the Wi-Fi password and wait until sync is complete.
If no device is added:
- π Reboot the router and switch (remove from the wall for 10 seconds).
- π± Update Mi Home to the latest version.
- π Check your account region (should be Russia, not China).
Step 3: Synchronization with Yandex Smart Home
1. Open the Yandex app (or Yandex Smart Home) and go to the Devices section β Add.
2. Select Mi Home from the list of services.
3. log in to your Mi Account (use the same data as you do in Mi Home!).
4. Allow access to the devices and wait for the switch to appear in the list.
β οΈ If after synchronization the switch did not appear in Yandex Smart Home, check: π In Mi Home, the device is tied to the same room as in Yandex. π Mi Home Settings Allows Access for Third Party Services (Profile) β Settings β Applications and services). β³ Wait 5-10 minutes β sometimes synchronization takes time.
π‘
If the switch never appeared, try untie and re-assign Mi Account in the Yandex Smart Home settings. This resets the connection cache.
Step 4: Set up voice control
Now you can control the switch with your voice.
- π‘ Β«Alice, turn on the light in the living room" (if the switch is tied to the room "Living roomΒ»).
- β‘ Β«Alice, turn off the top light" (if the device name is indicated).
- π Β«Alice, turn on the nightlight by 30%" (if the switch supports brightness control).
To change the name of the device or room:
- Open Yandex Smart Home.
- Find the switch in the list and click on it.
- Select Settings β Change name/room.
How to reflash the Xiaomi switch to work with Alice
If your switch has a firmware CN (Chinese, you need to re-interpret it. EU/RU. You can do it in two ways:
Method 1: Mi Home (official)
1.In Mi Home, go to Profile β Settings β Region.
2. Change the region to Russia (if available).
3. Remove the switch from the application and add it again.
4. After adding, check the firmware version in the device information - should be EU/RU.
β οΈ Note: Not all models support region change through the app. If option is not available, use method 2.
Method 2: Through third-party utilities (for power users)
Reflashing will require:
- π₯οΈ Computer with Windows or Linux.
- π USB-TTL adapter (e.g, CP2102).
- π Firmware for your model (you can download it on the forums) 4PDA Xiaomi Community).
Instructions:
- Disassemble the switch and plug in. USB-TTL contact TX, RX, GND (connection scheme is in the device datasheet).
- Run MiFlash or Tasmota (depending on the firmware).
- Select the firmware file (.bin) and start the process.
- Once completed, turn off the adapter and assemble the switch.
Where to download firmware for Xiaomi?
Typical errors and their solutions
Even with the right setup, there can be failures. Let's look at the most common ones:
| Mistake. | Reason. | Decision |
|---|---|---|
| Alice says, "The device is not responding." | Offline switch in Mi Home | Check Wi-Fi, restart the router and the switch, and if it doesn't work, delete it and add it again. |
| The switch flashes, but it doesn't plug in. | Incorrect pairing regime | Hold the 10 seconds button to reset. Then repeat the addition to Mi Home. |
| In Yandex Smart Home, the device appears, but is not controlled | Conflict of access rights | In Mi Home, disable Google Home integration or Apple HomeKit (if enabled). |
| Alice turns on the lights but doesn't turn off | Script error in Mi Home | Check your automatic scripting settings β there may be a conflict with another device. |
If none of the solutions worked, try resetting the switch to factory settings:
- Turn off the power on the shield.
- Hold the switch button for 15 seconds.
- Turn on the power without releasing the button, another 5 seconds.
- Release - the indicator should flash quickly (pairing mode).
Alternative ways to connect (if the standard one does not work)
If synchronization via Mi Home is not possible, try these methods:
1. Through Home Assistant
Home Assistant is an open platform for smart home that supports integration with Xiaomi and Yandex Alice.
Instructions:
- Install Home Assistant on your Raspberry Pi or computer.
- Add Xiaomi Mi Home integration through HACS.
- Set up Yandex Smart Home as an external service.
- Synchronize the devices.
Important: This method requires technical knowledge but provides more capabilities (e.g., creating complex trigger scenarios).
2. Through IFTTT
IFTTT (If This Then That allows you to link Mi Home and Yandex Alice via cloud applets.
How to set up:
- Create an account on IFTTT.
- Connect Mi Home and Yandex Smart Home services.
- Create an applet with the Alice Voice Command trigger and the action βEnable Xiaomi switch.β
β οΈ Attention: Free version IFTTT Limits the number of applets (3 pieces) and requires a paid subscription to manage the entire system.