How to connect the Xiaomi switch to Alice: a step-by-step guide with photos and videos

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.

πŸ“Š What a Xiaomi Smart Switch You Have?
Xiaomi Mi Smart Wall Switch
Aqara Wall Switch (D1/H1)
Other brand (specify in the comments)
I haven't bought it yet.

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 modelAlice's supportRequired hubNotes
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 M1SRequires a hub link via Mi Home or Aqara Home.
Aqara Wall Switch H1 (neutral)βœ… Yes.βœ… Aqara Hub E1 or M2Supports 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 HubIt 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

Done: 0 / 5

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:

  1. Open Yandex Smart Home.
  2. Find the switch in the list and click on it.
  3. 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:

  1. Disassemble the switch and plug in. USB-TTL contact TX, RX, GND (connection scheme is in the device datasheet).
  2. Run MiFlash or Tasmota (depending on the firmware).
  3. Select the firmware file (.bin) and start the process.
  4. Once completed, turn off the adapter and assemble the switch.
Where to download firmware for Xiaomi?
Official firmware EU/RU You can find it on Xiaomi Firmware (Smart Home) and for Aqara, the current version is posted on the official website!

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 HomeCheck 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 regimeHold the 10 seconds button to reset. Then repeat the addition to Mi Home.
In Yandex Smart Home, the device appears, but is not controlledConflict of access rightsIn Mi Home, disable Google Home integration or Apple HomeKit (if enabled).
Alice turns on the lights but doesn't turn offScript error in Mi HomeCheck 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:

  1. Turn off the power on the shield.
  2. Hold the switch button for 15 seconds.
  3. Turn on the power without releasing the button, another 5 seconds.
  4. 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:

  1. Install Home Assistant on your Raspberry Pi or computer.
  2. Add Xiaomi Mi Home integration through HACS.
  3. Set up Yandex Smart Home as an external service.
  4. 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:

  1. Create an account on IFTTT.
  2. Connect Mi Home and Yandex Smart Home services.
  3. 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.

FAQ: Frequent questions about connecting Xiaomi switch to Alice

Can I connect a Xiaomi switch to Alice without Mi Home?
No, Mi Home is a must-have link in the chain, and Alice gets Xiaomi device data through this app, and the alternative is to use Home Assistant or the other one. IFTTT, You will need to have an initial link to your Mi Account.
Why does Alice turn on the lights with a delay of 2-3 seconds?
The delay is caused by cloud-based command processing. The voice request is sent first to Yandex servers, then to Mi Home, and only then the command goes to the switch. To reduce latency: Use the local network (set up Home Assistant with Xiaomi Mi Local integration). Check the Internet speed (latency increases with a slow connection).
Can you control the Xiaomi switch through Alice without the internet?
No, voice assistants require an internet connection, but some models (such as the Aqara hub) support local control via the Mi Home app on the same network as the phone.
How to reset a Xiaomi switch if it does not respond to a reset button?
If holding the button doesn't help, try: Turn off the power on the shield for 1 minute, turn on the power and hold the button for 20 seconds right away. If it doesn't work, the control board may be faulty (repair required).
Which Xiaomi switches are best to buy to work with Alice in 2026?
Recommended models: Xiaomi Mi Smart Wall Switch (2 Buttons, neutralized, are a simple and reliable option. D1 β€” Supports Zigbee, more stable with hub.Aqara Opple Switch (6 buttons - to control multiple lighting zones, avoid old models without markings EU/RU and firmware CN.