Xiaomi Aqara smart switches have become one of the most popular lighting automation solutions in the Mi Home ecosystem, allowing you to control light from your smartphone, voice through Alice or Google Assistant, and integrate into complex smart home scenarios. However, many users face difficulties already at the connection stage: improper wire connection can cause a device to fail, and errors in settings lead to unstable operation.
In this article, we will discuss all the stages of connection - from the choice of the switch model (Aqara). D1, H1, Opple) before setting up in the Mi Home app and alternative systems like Home Assistant, youβll learn how to avoid typical installation errors, which wires to plug in (even if you donβt have experience with electrical work), and how to solve Wi-Fi or Aqara Hub gateway problems. Particular attention will be paid to compatibility with two-key switches and features of work without a neutral wire - this is a frequent headache when installing.
1. Choosing the Aqara switch model: which one is right for you?
Before buying it is important to decide on the model, because it depends on the capabilities of the device and the complexity of installation.
- πΉ Aqara D1 (WL-S1) β single-key switch with neutral wire, supports Zigbee 3.0. Perfect for beginners thanks to simple installation.
- πΉ Aqara H1 (ZNCLDJ12LM) β Two-key model without neutral, requires the Aqara Hub gateway M2 or M3. Suitable for replacing standard switches in homes with old wiring.
- πΉ Aqara Opple is a series of stylish switches (1-3 keys) with Zigbee support and the ability to control through the application. Compatible with Mi Home and Home Assistant.
- πΉ Aqara T1 (ZNCLDJ11LM) β single-key version without neutral, works only with the Aqara gateway.
The key to choosing is that you have a neutral wire in your electrical wiring, and if you don't have one (which is typical of Soviet-built homes), look at the models. H1 or T1. They use No Neutral technology but require a mandatory connection to the Aqara gateway for power.
β οΈ Note: Models without neutralization (H1, T1) They won't work without the Aqara Hub gateway. If you don't have one, go for the Aqara. D1 Opple with support for neutral wire.
| Model | Type of connection | Neutral wire | Compatibility | Price (2026) |
|---|---|---|---|---|
| Aqara D1 | Zigbee 3.0 | Required. | Mi Home, Home Assistant | ~1 500 β½ |
| Aqara H1 | Zigbee 3.0 | Not required | Only with the Aqara Hub. | ~2 200 β½ |
| Aqara Opple (2 buttons) | Zigbee 3.0 | Required. | Mi Home, Home Assistant | ~2 500 β½ |
| Aqara T1 | Zigbee 3.0 | Not required | Only with the Aqara Hub. | ~1 800 β½ |
Preparation for installation: tools and safety
Before you start mounting, make sure you have everything you need. Electricity requires caution -- if you're not sure about yourself, you'd better get an electrician.
- π§ Tools:
- π Materials:
βοΈ Checklist before installation
Pay special attention to the power outage. Turn off the switchboard, which is responsible for the lighting line. Don't limit yourself to the switch on the wall, it can only open phase, and zero will remain energized!
β οΈ Attention: If you have aluminum wiring in your home, use terminal pads to connect to the copper circuit breaker wires. Direct twisting of aluminum and copper leads to oxidation and overheating.
π‘
If you're not sure which wire is phased and which is zero, use a tester: touch the wires with probes when the machine is on. ~220B, zero - 0B.
3. Connection schemes: step-by-step instructions
The circuitry depends on the switch model and the type of wiring. Let's look at two of the most common cases: a connection with a neutral wire (Aqara). D1) and without him (Aqara) H1).
3.1. Connecting Aqara D1 (neutral)
This model requires a neutral wire (N) in the distribution box.
- Phase (L) β connects to the terminal L on the switch.
- Neutral (N) - to the terminal N.
- The load (L1) β The wire that goes to the lamp is connected to the terminal. L1.
Example of wiring:
Electric shield
β
βββ Phase (L) β Clem L on the switch
βββ Neutral (N) β Clem N on the switch
βββ Earth (PE) β Not connected to a switch
β
Aqara D1 switch
β
βββ Clemma L1 β LampWhat if the neutrals are not in the box?
3.2. Aqara connection H1 (neutral)
Non-neutral models (H1, T1) They're powered through the Aqara Hub gateway and they use the power phase:
- Phase (L) β connects to the terminal L.
- The load (L1/L2) β wires to lamps are connected to terminals L1 and L2 (two-key).
Important: Aqara Hub gateway must be connected to the network and be within range of Zigbee (up to 10-15 meters indoors).
π‘
Non-neutral switches (Aqara) H1/T1) They cannot operate autonomously β they depend on the Aqara Hub gateway for power and control.
4.Setting up in the Mi Home app
After installation, the switch must be added to the smart home system, using the official Mi Home app (or Aqara Home if you prefer proprietary software).
- Step 1. Install the Mi Home app from the App Store or Google Play and log in.
- Step 2. Go to the Devices section β Add the device.
- Step. 3. Choose the category of Smart Home β Switches and find your model (Aqara) D1/H1/Opple).
- Step 4: Follow the instructions on the screen: turn the switch on (press and hold the 5-second button until the indicator flashes) and wait for the connection.
- Step 5: Once you have successfully added, assign the device to the room and set the name (e.g., βLight in the roomβ).
If the switch is not located, check:
- πΉ Distance to Aqara Hub lock (must be no more than 10 meters).
- πΉ Internet access on the phone and gateway.
- πΉ Correct connection of wires (phase must be applied to the switch).
π‘
If the switch doesnβt connect, try resetting it to factory settings: press and hold the 10 second button until the indicator blinks quickly.
5. Integration with Home Assistant and other systems
If you use alternative smart home platforms, such as Home Assistant, you can connect the Aqara switch via Zigbee.
- πΉ Zigbee Coordinator (Songoff Zigbee 3.0) USB Dongle Plus or ConBee II).
- πΉ Installed Home Assistant with Integration ZHA (Zigbee Home Automation).
Instructions for Home Assistant:
- Connect Zigbee-dongle to a server (such as a Raspberry Pi).
- In Home Assistant, go to Settings β Devices and services β Add Integration and Choose ZHA.
- Follow the setup wizard by selecting your Zigbee adapter.
- Click Add Device and activate the pairing mode on the switch (hold the 5 seconds button).
Once added, the device will appear in the entity list, so you can control it through the Home Assistant interface or create automations, such as:
automation:
- alias: "Switch on the lights on the motion"
trigger:
- platform: state
entity_id: binary_sensor.motion_sensor_living_room
to: "on"
action:
- service: switch.turn_on
entity_id: switch.aqara_switch_living_roomHow to check the quality of Zigbee-connection?
Typical errors and their solution
Even with the right connection, users often face problems.
| Problem. | Possible cause | Decision |
|---|---|---|
| The switch won't turn on | Incorrect phase/zero connection | Check the connection scheme with the tester |
| Not connected to Mi Home | Too long distance to the lock. | Move the gateway closer or add a Zigbee repeater |
| The lamp flashes when it's off. | Used. LED-low-quality driver lamps | Install a capacitor 0.1β0.47 ΞΌF parallel to the lamp |
| The switch is warming up | Poor contact in terminals or overload | Check the tightening of the wires and the power of the connected load |
Pay special attention to the problem of blinking LED-Cheap LED lights can light up or blink even when they're off because of current flowing through the circuits of the switch:
- πΉ Install a condenser parallel to the lamp 0.22 ΞΌf/400V.
- πΉ Replace the lamp with a high-quality model (e.g., Philips Hue or Xiaomi Yeelight).
- πΉ Use the cutoff relays to completely break the chain.
β οΈ Note: If the Aqara switch is H1/T1 You've stopped responding to the presses, but the light is on, try reconnecting it to the gateway.
7. Voice control and automation
One of the main advantages of smart switches is the ability to control voice. Aqara is compatible with:
- πΉ Alice (Yandex) β through integration with Mi Home.
- πΉ Google Assistant β Requires you to connect Mi Home to your Google account.
- πΉ Apple HomeKit β Home Assistant with HomeKit Bridge.
An example of setting up for Alice:
- Open the Yandex app and go to Devices β Add the device.
- Select Xiaomi Mi Home and sign in.
- After syncing, tell Alice, βturn on the light in the hallβ (the name should match the device name in Mi Home).
To create automation in Mi Home:
- Go to the Automation section β Create.
- Select a condition (e.g. Time or Motion Sensor).
- Add Action: Device Management β Aqara switch β Turn on.
π‘
For stable voice control, make sure that the Aqara Hub gateway and switch are on the same Wi-Fi network as the phone.