Xiaomi Aqara switches with zero line support (Aqara models) D1, H1 Wall Switch. T2) They are very different from the classic "smart" switches without neutrals, which require zero wire connection, which ensures stable operation of the module. Wi-Fi/Zigbee It allows you to control the lights even when the lamp is off, but it often raises questions about where to get the zero in the switch box, how not to mix the wires, and why the switch may not turn on after installation.
In this article, we will discuss 3 Official connection schemes (single key, double key, backlit), reveal typical errors (for example, why the indicator is on, but the lamp is not working), and show how to integrate the switch into the Mi Home, Home Assistant or Apple HomeKit without losing functionality. Particular attention will be paid to compatibility with Russian power grids (220V/50Hz) and the nuances of working with aluminum wiring.
If you've only ever encountered a simple switch without a neutral, like the Aqara Wireless Switch, it's going to be harder to install a zero-line model, but in practice, it's a more robust and versatile solution that's free of the ghost glow problem. LED-lights or failures when the load is turned off, the key is to correctly identify the wires and follow the circuitry.
1. Which Aqara models require zero line: a comparison of technical specifications
Not all Xiaomi Aqara smart switches need neutrals, such as the Aqara Opple or Wireless Switch, which run on batteries and do not require any electrical wiring, but stationary switches with Wi-Fi or Zigbee are divided into two types:
πΉ No zero line (e.g. Aqara Wall Switch) T1):
- π They work on the principle of a βpass-throughβ switch, passing current through themselves.
- β‘ Require a constant load (at least 5 watts), otherwise lose communication.
- π‘ Frequently flickering. LED-lamps off.
πΉ Zero line (e.g. Aqara) D1 (HB2), H1 (HB1), Wall Switch T2):
- π Connect to phase (L), zero (N) and load (L1/L2).
- β‘ It does not depend on the state of the lamp - the power module works constantly.
- πΆ Sustainable Zigbee 3.0 or Wi-Fi connectivity (depending on model).
- π‘ No "ghost" light bulbs, compatible with any type of load.
π The key difference is that zero-line switches don't break the power chain of the module, so they're more reliable in smart home systems. D1 It can control lighting even when a light bulb is physically twisted, while T1 in such a situation, "hangs".
| Model | Type of connection | Protocol | Max, load. | Illumination | Price (2026) |
|---|---|---|---|---|---|
| Aqara D1 (HB2) | Zero line. | Zigbee 3.0 | 2500 watts | Yeah (blue) | ~2500 β½ |
| Aqara H1 (HB1) | Zero line. | Wi-Fi (2.4 GHz) | 2200 watts | Yeah (white) | ~2300 β½ |
| Aqara Wall Switch T2 | Zero line. | Zigbee 3.0 | 3,000 watts | No. | ~2800 β½ |
| Aqara T1 (neutral) | No zero line. | Zigbee 3.0 | 1,000 watts | No. | ~1800 β½ |
Important: Aqara zero-line switches are incompatible with systems where the switchboard lacks a neutral wire (for example, in old-built homes with wiring). TN-C). In such cases, additional cable will be required.
Preparation for installation: tools and safety
Before starting work, be sure to turn off the power on the shield! Even if you are an experienced electrician, the risk of short circuits when connecting Aqara remains high due to compact terminals and fragile contacts.
π§ Essential tools:
- πͺ Indicator screwdriver (for phase check).
- β‘ Multimeter (wire vertebrating).
- π¨ Flat/cross screwdriver (for installation).
- π Passenger (for wire cleavage).
- π§² Voltage tester (optional, to check the circuit).
- π± Smartphone with Mi Home or Aqara Home app.
β οΈ Warning: If you're wired with aluminum wires, use Wago 2273 terminal pads or press casings. Directly connecting aluminum to the copper contacts of the switch will cause oxidation and overheating!
π How to find the zero and phase in the distribution box:
- Turn on the machine and find the phase with the indicator screwdriver (the light bulb will light up).
π‘
If you don't have a neutral in your box (like a krushchevka), you can take zero from the nearest socket, but this method requires additional cable and is not always safe - it's better to consult an electrician.
3. Connection schemes of the Aqara switch with zero line
Let's see. 3 Xiaomiβs official schemes, adapted for Russian networks, all of which assume phase (L), zero (N) and load (L1/L2).
πΉ Scheme. 1: Single-key switch (Aqara) D1/H1)
Detailed description of the scheme
- β‘ Phase (L) β switch-on terminal L.
- π Zero (N) β terminal N.
- π‘ Load (lamp) β terminal L1.
πΉ Scheme 2: Two-key switch (Aqara) D1 Double Rocker)
- β‘ Phase (L) β plug-in.
- π Zero (N) β terminal N.
- π‘ First lamp β terminal L1.
- π‘ Second lamp β terminal L2.
πΉ Scheme 3: Connection with backlighting (if any)
- π The lighting is connected parallel to the load (between the L1 n).
- β οΈ If the lamps are LED, the backlight can cause them to flicker - in this case it is better to turn it off.
βοΈ Pre-insertion check
π Critical error: if you connect phase to N and zero to L, the switch will not burn, but will not work correctly - the lamp can be switched on / off arbitrarily, and the communication module will overheat.
Step-by-step installation instructions
Letβs look at the example of Aqara. D1 (HB2) β The most popular model with Zigbee.
π§ Step 1: Dismantling the old switch
- Turn off the power on the shield.
- Remove the keys of the old switch (subject them with a screwdriver).
- Unscrew the mounting screws and remove the mechanism.
- Disconnect the wires by remembering their location (preferably take a picture!).
π§ Step 2: Preparation of wires
- Clean the wires by 5-7 mm (if they are oxidized, cut and clean again).
- If the wires are multi-core, squeez them with tips.
π§ Step 3: Connecting Aqara D1
- Insert phase (L) into the terminal L on the switch.
- Connect zero (N) to the terminal N.
- Connect the wire to the lamp to L1 (or L2 second-key).
- Tighten the terminals with a screwdriver (do not overdo it - you can tear the thread!).
π§ Step 4: Installation in the subparticle
- Carefully remove the wires inside the box.
- Fix the switch with screws or spacers.
- Install a decorative frame and keys.
π§ Step 5: Verification and adjustment
- Turn on the gun on the shield.
- Press the key β the lamp should be turned on/off.
- If the lamp does not respond, but the indicator on the switch is on, check the polarity of L and N.
π‘
If the switch is not detected in the Mi Home app after connecting, try resetting it to factory settings: hold both keys for 10 seconds until the indicator starts flashing yellow.
5. Set up in Mi Home and Home Assistant
After mechanical connection, you need to add a switch to the smart home system.
π± Addition to Mi Home:
π Integration with Home Assistant:
- Make sure you have installed. Zigbee2MQTT or ZHA.
β οΈ Note: If you are using Aqara H1 (Wi-Fi, it is not directly compatible with Home Assistant β you will need a cloud bridge over Mi Home or firmware alternative software (for example, Tasmota).
How to reset the Aqara switch to factory settings?
Typical problems and their solutions
Even with the right connection, there can be failures. Let's take a look at the most common ones:
π΄ Problem 1: The lamp is not switched on, but the indicator on the switch is on
- πΉ Reason: L and N are confused.
- πΉ Solution: Change the wires in places.
π΄ Problem 2: The switch is not detected in the Mi Home
- πΉ Reason. 1: weak-signal Zigbee/Wi-Fi.
- πΉ Solution 1: Move the switch closer to the hub (Aqara Hub or router).
- πΉ Reason 2: Your device is already linked to another account.
- πΉ Solution 2: Reset settings (hold the keys 10 seconds).
π΄ Problem 3: The lamp flickers when switched off
- πΉ Reason: lighting the switch creates a parasitic load.
- πΉ Solution 1: Turn off the lighting (if there is a jumper).
- πΉ Solution 2: Install a capacitor 0.1 ΞΌF parallel to the lamp.
π΄ Problem 4: The switch is warming
- πΉ Reason 1: Weak contact in terminals.
- πΉ Solution 1: Retighten the plug screws.
- πΉ Reason 2: Maximum load is exceeded (for example, a powerful searchlight is connected).
- πΉ Solution 2: Use an intermediate relay.
π‘
If the Aqara switch periodically falls off the Zigbee network, add a repeater (e.g., Aqara Range Extender) to the system, which is especially true for large houses with thick walls.
7. Compatibility with other smart home systems
Aqara Zero Line switches support not only Mi Home, but also other platforms.
π Apple HomeKit
- Aqara Hub is required M2 HomePod as a bridge or a bridge.
- Adding through the HomeKit code (located on the Hubβs body).
π€ Google Assistant / Alexa
- Integration with Mi Home or Home Assistant.
- Voice commands: "Alexa, turn on the light in the hallway."
π OpenHab
- Use binding mihome or zigbee.
- Example of configuration: Thing mihome:switch:aqara_d1 "Aqara Switch" [ deviceId="12345678", token="YOUR_TOKEN" ]
β οΈ Attention: When using Aqara H1 (Wi-Fi) in Home Assistant via the Mi Home cloud can delay up to 2-3 seconds. For instant response, Tasmota firmware is recommended (but this will deprive you of warranty).
8. Alternative ways of connecting (if there is no zero)
If your wiring doesnβt have a neutral wire, but you want to use a zero-line Aqara, there are 3 options:
π Option 1: Laying of additional cable
- From the nearest socket or distribution box stretch a three-core VVGng cable 3Γ1.5.
- Connect zero to the switch terminal N.
- β οΈ Requires wall-screwing.
π Option 2: Use of the relay module
- Install an intermediate relay (such as Shelly 1) in the junction box.
- Connect phase and zero to the relay, and the Aqara switch control it by Zigbee/Wi-Fi.
- β No need to change the wiring.
π Option 3: Replacement with a zero-zero model
- If you canβt get a cable, choose Aqara. T1 (neutral).
- β οΈ Limitations: Does not work with power lamps < 5W, possible communication failures.
π‘
If you choose the relay option, consider that Aqara will control the relay instead of the lamp directly. ~0.5 seconds, but solves the problem of zero.