Introduction: Why do you need a switch with a display from Xiaomi?
Xiaomiβs display switches (Aqara, Yeelight, Mi Home brands) are not just a light control, but a full-fledged smart home gadget. They combine touch control, temperature, time, notifications, and even integration with voice assistants. But their connection often raises questions: how to connect wires correctly, configure the app and avoid errors?
In this article, we will discuss all the stages from the choice of the model to the final setup of automation (220V/50Hz) and bypassing geo-locking restrictions in the Mi Home app. If you've never worked with wiring, some steps will require the help of an electrician - but much of the process is available even to beginners.
Model Choice: Which Xiaomi Display Switch to Buy?
There are several different lines of switches on the market, and they're very different in their capabilities.
- πΉ Aqara Smart Wall Switch D1 (with display) β supports Zigbee 3.0, works without a hub, shows temperature and humidity. Suitable for single-key and two-key circuits.
- πΉ Yeelight Smart Touch Panel, Wi-Fi touchpad, controls lights, curtains and scripts. Requires neutral wire (N).
- πΉ Mi Home Smart Wall Switch (Pro) - budget version with Bluetooth Mesh, but without HomeKit support.
- πΉ Aqara Opple 6-Button Scene Switch is not a full-fledged switch, but a screen panel for controlling scenes (without direct connection to lamps).
For Russian users, the voltage parameter is critical: all of the listed models support 110-240V, but Yeelight may require grounding (PE). Also check if there is Russian firmware in the kit β some batches come only with a Chinese interface.
β οΈ Note: Models with Zigbee (e.g. Aqara) D1) They require a hub (Aqara Hub or Mi Home Gateway) to operate off-LAN, and without a hub, they will only function as normal switches.
| Model | Protocol | Need a hub? | Display. | Price (2026) |
|---|---|---|---|---|
| Aqara D1 (single-key) | Zigbee 3.0 | Yes. | Color, 1.5β | ~3 500 β½ |
| Yeelight Touch Panel | Wi-Fi 2.4GHz | No. | Colored, 2.1β | ~4 200 β½ |
| Mi Home Pro (two keys) | Bluetooth Mesh | No. | Monochrome | ~2 800 β½ |
Preparation for installation: tools and safety
Before installing the switch, be sure to turn off the power on the shield!
- π§ Indicator screwdriver - to check the absence of voltage.
- π§ Flat/cross screwdriver - for dismantling the old switch.
- π§ Climbing terminals (if the wires are not cleaned).
- π§ Voltage Tester β to check phase and zero.
- π§ Insulation or shrink tube - for insulation of compounds.
An important point: Xiaomi switches require a neutral wire (N) in the junction box. In older homes (especially in the USSR), neutral is often absent, in which case you will have to pull a new cable or choose a model without a display (for example, Aqara Wireless Switch).
β οΈ Note: If you don't have a neutral wire in your wiring, and you're trying to connect the Yeelight Touch Panel, the display won't work. ~220V between phase (L) and neutral.
Turn off the power on the shield.|Check the absence of voltage indicator|Take a picture of the current connection scheme|Prepare tools and tape|Check for neutral wire (N)
-->
Connection schemes: step-by-step instructions
The circuitry depends on the type of switch and the number of keys. Let's look at the two most common options:
1. Single-key switch (e.g. Aqara) D1)
Procedure:
- Take off the old switch without disconnecting the wires. Take a picture of their location.
- Determine phase (L) and zero (N) with a tester. In the Xiaomi switch, phase should go to the terminal L, zero to N.
- Connect the load (lamp) to the terminal L1 (or LOAD).
- Lock the switch in the rosette and turn on the power.
2. Two-key switch (e.g. Mi Home Pro)
There's a second channel added here (L2):
- π Phase (L) is connected to the common terminal.
- π Neutral (N) - to the corresponding terminal.
- π Load 1 (e.g. chandelier) - to L1.
- π Load 2 (e.g., slabs) - to L2.
For models with Zigbee (for example, Aqara), after connecting the power will require a link to the hub. for Wi-Fi models (Yeelight) β connection to the network through the application.
What if I confused phase and zero?
Setup in the Mi Home application: step-by-step guide
After installation, the switch must be added to the Xiaomi ecosystem. Instructions are relevant for the Mi Home application (version 6.5).+):
- Open Mi Home and go to Devices β Add Device.
- Select the switch category and find your model (e.g. Aqara Wall Switch). D1).
- Follow the instructions on the screen: πΆ For Wi-Fi models: Connect to 2.4GHz (5GHz not supported!) and enter a password. π‘ For Zigbee models: click the button on the hub (Aqara Hub) to search for devices.
Connected
If the device is not located:
- π Restart the hub (if Zigbee is used).
- π Make sure the switch is powered (the display should flash).
- π Check that the phone is connected to the same Wi-Fi network as the hub.
- π Update the Hub's firmware through Settings β Update of the PO.
π‘
If the Aqara switch isnβt added to the Mi Home, try the Aqara Home app β it often works more stable with Zigbee devices.
Setup of automations and scenarios
The main advantage of the switch with the display is the ability to create automation.
- π Turn on the lights on schedule (simulation of presence).
- π‘οΈ Show the temperature on the display when touching.
- π Control the switch with your voice via Alice or Google Assistant.
- πͺ Turn on the light when opening the door (if you have an Aqara Door Sensor).
How to set up automation in Mi Home:
- Go to Profile. β Automation β Create.
- Select a condition (e.g. Time or Motion Sensor).
- Add Action: Device Management β Your switch. β Turn on.
- Save the script and test it out.
Additional display settings are available for Yeelight models:
- π¨ Change in color scheme.
- π Time or weather display.
- π Set up notifications (for example, about missed calls).
π‘
To keep automation running smoothly, make sure that the hub (Aqara Hub) is connected to the Internet via cable, not Wi-Fi, which will reduce delays in execution of scripts.
Common mistakes and their solutions
Even with the right connection, there can be problems, and here are the most common ones and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| Display not switched on | There is no neutral wire (N) | Check the wiring with a tester or use a model without a display |
| The switch is not added to the Mi Home. | The Hub's outdated firmware | Update the Hub through Settings β Update of the PO |
| The lamp flashes when it's off. | Bad contact at the terminal L1 | Reconnect the wires and tighten the terminals |
| The display shows Chinese characters | The Wrong Region in Mi Home | Change the region to Russia in the account settings |
If the Aqara switch is periodically disconnected from the hub:
- Check the distance between the devices (maximum 10-15 meters in line of sight).
- Make sure there is no interference from other Wi-Fi networks (use channels 1, 6 or 11 on the router).
- Add a Zigbee repetitor (e.g., Aqara Range Extender) to the network.
β οΈ Attention: If the switch is plugged in the house, the load on the line is probably exceeded β 1000W (for filament lamps) or 300W (light-lamp).
Integration with other smart home systems
Xiaomi switches can be connected not only to Mi Home, but also to other platforms:
- π Home Assistant β through Xiaomi Miio integration (for Wi-Fi models) or Zigbee2MQTT (for Zigbee).
- π Apple HomeKit β Aqara Hub is required M2 (Supports HomeKit from the box).
- π€ Google Home β via the Mi Home app (you need to link accounts).
- π Yandex Alice β through Mi Home or Yandex IoT.
For integration with Home Assistant:
- Install the Xiaomi Miio component via HACS.
- Get your device token using the Mi Home Token Extractor app.
- Add the device to configuration.yaml: switch: - platform: xiaomi_miio host: 192.168.1.100 # IP your token switch: YOUR_TOKEN_HERE name: "Xiaomi Switch"
HomeKit (if you use Aqara Hub) M2):
- Open the Aqara Home app.
- Go to Settings. β HomeKit.
- Scan it. QR-code from the hub and add it to Apple Home.