The Xiaomi Mi Wireless Switch is a compact device that allows you to control Xiaomi smart lights, sockets and other gadgets without wires. Its main advantage is the ease of installation and versatility: just attach the switch to the wall or furniture, synchronize with the Mi Home Gateway hub or directly with supported devices, and you will get a full smart home control. However, many users have questions: how to connect the switch correctly, what nuances to consider when setting up, and why the device may not be determined in the application.
In this article, we will look at the entire process, from unpacking and physical installation to integration into the Mi Home ecosystem and creating automation, and focus on the typical errors that interfere with the stable operation of the switch, as well as alternative ways of connecting (for example, through Home Assistant or Tuya). If you are just starting to master a smart home or have already encountered problems with configuration, this guide will help to avoid common difficulties.
Set and specifications Xiaomi Mi Wireless Switch
Before connecting, it is important to make sure that the box has all the necessary components.The standard Mi Wireless Switch includes:
- π¦ The switch itself (white or black panel with touch button)
- π§² Double-sided scotch 3M fastener
- π Battery CR2032 (already installed in the device)
- π Short instructions in Chinese/English
- π§ Screwdriver for battery replacement (in some versions)
Technical parameters of the device:
| Characteristics | Meaning |
|---|---|
| Type of communication | ZigBee 3.0 (requires Mi Home Gateway Hub) |
| Range of action | Up to 30 meters indoors (no obstacles) |
| Battery life | Up to 2 years (with average intensity of use) |
| Sizes. | 43 Γ 43 Γ 9 mm |
| Compatibility | Mi Home, Home Assistant, Aqara Home |
Note that the switch does not work on Wi-Fi and cannot connect directly to the router. It requires a ZigBee hub (for example, Mi Home Gateway 3 or Aqara Hub). If you do not have one, consider alternatives - for example, switches Xiaomi Mi Smart Wall Switch (they require wall mounting, but work without a hub).
β οΈ Note: In some batches of switches, the battery CR2032 It can be mounted inverted (plus down). If the device doesn't turn on, check the polarity!
Preparation for connection: what to do before installation
Before you start setting up, follow a few mandatory steps:
- Make sure you have a ZigBee hub (like Mi Home Gateway) and itβs connected to a 2.4GHz network (the switch doesnβt work with 5GHz).
- Download and install the latest version of the Mi Home app (available for Android and iOS).
- Check that Bluetooth and geolocation are enabled on your smartphone β they will be required to find devices.
- If you plan to control the lighting, make sure that the lights or sockets are already added to the Mi Home.
We also recommend:
- π Update the Hub firmware to the latest version (in Mi Home go to Profile) β Settings β Firmware update).
- π‘ Putting the hub closer to the switch installation site (e.g. in the same room) will improve communication stability.
- π Replace the battery in the switch if it has been stored for a long time (even a new one) CR2032 It can be discharged in 6-12 months without use).
How to connect Xiaomi Mi Wireless Switch to Mi Home
Now, let's get to the connection process itself. Follow the instructions in order.
- Pair mode activation: Press and hold the switch button for 5 seconds until the indicator flashes blue. If the indicator does not light up, remove and re-insert the battery (possibly the contact is bad).
- Add to Mi Home: Open the Mi Home app and go to Devices β Add a device. Select the switch category, then search for the Mi Wireless Switch model (it may be called Xiaomi Wireless Switch or Mi Smart Wireless Switch). Confirm the add-on when the app detects the device.
Room binding and setting:
- Select the room where the switch will be used (such as the Bedroom or Corridor).
- Assign a unique name to the device (e.g., the switch by the bed).
Make sure the hub is plugged in and connected to Mi Home|
Check that the smartphone is connected to the same Wi-Fi network as the hub|
Activate the pairing mode on the switch (blue indicator)|
Update the Mi Home app to the latest version-->
If the switch is not located, try:
- π Reboot the hub (unplug it from the network for 10 seconds).
- π± Reinstall the Mi Home app (sometimes cache interferes with device search).
- π‘ Bring the switch as close as possible to the hub (at a distance of 1-2 meters).
β οΈ Note: If you use the Mi Home Gateway 2, you may need to reset it to factory settings (press the button on the hub for 10 seconds until the yellow indicator flashes). Older versions of hubs sometimes conflict with new devices.
Automation settings: how to link a switch to other devices
The switch itself is useless, and its main function is to control other gadgets. Let's look at how to create automation in the Mi Home:
- Creating a script: In the application go to Automation β Create β Set up your own. Select the Condition β Device control β Find your Mi Wireless Switch. Specify an action (e.g. Single tap or Double tap).
- Selection of action: In Action, add the device that the switch will control (e.g. Yeelight) LED Or Mi Smart Plug. Set the settings: turn on/off, change the brightness, color, etc.
Conservation and testing:
- Press Save and test the operation of the switch.
- If the script doesnβt work, make sure that all the devices in the same room are in the app.
Examples of useful automation:
- π‘ Single press β turn on the smart lamp at 50% brightness.
- π Double-click β Turn off all sockets in the room.
- π Long press - activate night mode (muffle the lights and turn on a warm hue).
π‘
If you want a switch to control multiple devices at the same time, create a group in Mi Home. β Groups β Create a group and add the right gadgets. Then in automation, select that group instead of the individual devices.
Why Xiaomi Mi Wireless Switch is not working
Even after a successful connection, the switch can behave unstable. Let's look at the typical problems and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The switch doesn't respond to the pressing. | The battery's gone. | Replace. CR2032 New (for example, Duracell or Panasonic) |
| The device is disconnected from the Mi Home | ZigBee weak signal | Move the hub closer or add a ZigBee repetitor (like Aqara Range Extender) |
| Automation is triggered with a delay | Overloaded hub or Wi-Fi network | Reboot the hub and router, reduce the number of simultaneously working devices |
| The switch flashes red. | Hub connection error | Reset the switch (press the button for 10 seconds) and reconnect |
If the switch stopped being defined in Mi Home after the hub firmware update, try:
- Remove the device from the application and add it again.
- Remove the firmware hub to the previous version (if available).
- Contact Xiaomi support via the official chat in the app.
What if a switch is added but does not control the devices?
Alternative ways to connect: Home Assistant and Tuya
If you donβt want to use Mi Home or you already have another smart home system set up, the switch can be integrated via:
1. Home Assistant (via ZigBee2MQTT)
This will require:
- Install ZigBee2MQTT server (for example, Raspberry Pi).
- Connect the ZigBee Coordinator (for example, CC2531 or ConBee II).
- Add the switch to configuration.yaml:
zha:
zigbee:
device: /dev/ttyACM0
baudrate: 115200After that, the switch will appear in the Home Assistant interface as a standalone device, and you can create automation through Node-RED or the built-in editor.
2. Tuya (via firmware)
The Xiaomi Mi Wireless Switch can be reflashed to an alternative firmware (like Tasmota), but it requires:
- Rations of contacts to connect to the programmer.
- Experience with ESP8266 or ESP32.
- Willingness to lose the guarantee.
β οΈ Note: Flashing Xiaomi devices to third-party software can lead to unstable work or breakdown.If you are not sure about your skills, it is better to use the original firmware and Home Assistant.
Where to buy Xiaomi Mi Wireless Switch and what to look for
The switch may be purchased:
- π On official sites: Mi Store, AliExpress (at official Xiaomi sellers).
- π¬ In retail stores: Svyaznoy, M. Video, Citilink.
- π On the marketplaces: Ozon, Wildberries, Yandex Market.
When buying, check:
- π¦ Availability of bilateral tape and battery in the kit.
- π Labeling on packaging: the original switch has a hologram and a Xiaomi barcode.
- π Production Date: If the device was released more than 2 years ago, the battery may be discharged.
The average price for the Xiaomi Mi Wireless Switch in 2026 is 800-1 200 rubles, depending on the seller and color (white or black). Avoid counterfeits: they often have pairing problems and short battery life.
π‘
Before buying, make sure you have a compatible ZigBee hub.Without it, the switch won't work, even if it's original and new.