Why Xiaomi Smart Switches Are Choosing More Than Others
Xiaomiβs smart switches (including the Aqara and Mi Home lines) have become the standard for lighting automation thanks to a combination of affordable price, reliability and integration with the Mi Home ecosystem. Unlike classic switches, these devices allow you to control light from a smartphone, via voice commands (via Alice, Google Assistant or Siri), as well as configure automation scenarios β for example, turning off lights when leaving home or simulated presence during a vacation.
However, many users face difficulties in the connection phase: incorrect installation scheme, errors in the application or incompatibility with existing wiring. This article will help avoid typical errors and connect the switch the first time - even if you have never dealt with electricity. We will look at the Aqara H1 models (with neutral), Mi Smart Wall Switch and universal modules, and give recommendations for choosing for specific tasks.
Before you start installing, make sure your electrical wiring is up to date. For example, most Xiaomi smart switches require a neutral wire (old homes may not have one), and some models require an Aqara hub or Mi Home gateway for remote control. If these components are not available, read the section on alternative connectivity.
What tools and components will be needed
You don't need professional tools to install the Xiaomi smart switch, but you can't do without a minimum set.
- π§ Indicator screwdriver (to check the voltage in the wires).
- β‘ Cross screwdriver (usually the size is suitable) PH2).
- π Flying (for careful cleaning of wires).
- π Insulation or shrink tube (for insulation of compounds).
- π± Smartphone with Mi Home or Aqara app (version no lower) 6.0 for Android/iOS).
- π Marker or stickers (to mark wires before disconnection).
If your home does not have a neutral wire (typically for Soviet-style wiring), you may also need to:
- π Relay module (e.g. Aqara) T1), if the switch does not support operation without neutralization.
- π Zero bus (to connect neutrals from the distribution box).
β οΈ Attention: If your apartment is aluminum wiring, use Wago terminal pads or sleeves to connect to the copper circuit wires. Direct twisting of aluminum and copper leads to oxidation and overheating! π What type of wiring is in your home?Copper Aluminum Mixed Donβt know Connection Schemes: with and without neutral Smart switches Xiaomi are divided into two types by connection method: With neutral wire (Aqara models) H1, Mi Smart Wall Switch (neutral version) - requires phase, neutral and load connection, suitable for modern homes. D1, Some versions of the Mi Smart Wall Switch - work only with phase and load, but require constant power through a lamp or an additional module. If your switchboard does not have a neutral wire (usually blue), but you want to install a model with a neutral, you will have to pull it from the shield or use alternative solutions (see the section "What to do if there is no neutral"). Type of connection Scheme Example model Features with Phase Neutral (L) β L on the switch Neutral (N) β N Loading β L1 Aqara H1, Mi Smart Wall Switch (neutral) Stable operation, support for all functions without Phase Neutralization (L) β L Loading β L1Minimum load is required (e.g, LED-lamp) Aqara D1, Mi Smart Wall Switch (no neutral) LED lamp, limited functionality Can flicker Through relay module Phase β Module β Neutral switch β Aqara module T1 + Universal solution for old houses Before starting work, be sure to turn off the electricity on the shield and check the lack of voltage with an indicator screwdriver. If you're not sure about your abilities, call an electrician, and if you're connected, you can short-circuit or crash the device. Turn off the machine on the shield Check the lack of voltage indicator Photograph the current connection scheme Mark the wires (phase, zero, load) Prepare tools--> Step-by-step: how to connect a Xiaomi smart switch Consider the universal installation algorithm on the example of the model Aqara H1 (For other devices, the steps may vary slightly β check the instructions for the specific model. Step 1: Dismount the old switch Remove the old switch keys (plug them with a screwdriver on the side) and unscrew the fasteners. Carefully remove the mechanism from the rosette without damaging the wires. Remember or take a picture of which wire is connected to where (usually the phase on top, the load on the bottom). If the wires are the same color, mark them: Phase (L) is usually brown, red or black. Neutral (N) is blue. Load (L1) β It can be any color, it goes to the lamp. 2: Connecting wires to a smart switch on the back of the Aqara H1 There are three terminals: L is the phase (nutrition). N is the neutral. L1 β Load the lights, clear the wires. 5β7 Um, insert them into the appropriate terminals and tighten the screws. Make sure the bare parts don't protrude beyond the terminals. 3: Put the wires in the rosette carefully so they don't get under the mounting paws of the switch. Secure the mechanism with screws and check the reliability of the fixation. Set the decorative frame and keys. Step 4: Connection in the Mi application Home/Aqara Turn on the power on the shield and follow the instructions: Open the Mi Home or Aqara app "+" β "Add the device". Select the category "Smart Home" β "Turn offs. Follow the on-screen prompts (usually hold the switch for 5 seconds until the light flashes). Connect the switch to your Wi-Fi network (only 2.4 GHz!). If the device is not there, check: π Does the indicator work on the switch (blinks blue?). πΆ Is the smartphone near the switch (maximum 2 meters). π Restart your router (sometimes changing your Wi-Fi channel helps). π‘If the switch is not connected to Wi-Fi, try using the mode "AP Mode in the app settings. To do this, hold the button on the switch for 10 seconds until the indicator flashes yellow quickly. What to do if there is no neutral wire in the house. There are three ways to solve it: Method 1: Use a model without a neutral (e.g., Aqara). D1) Such switches are powered through a load (lamp), but have limitations: π‘ The lamp must always be on the circuit (even when the light is switched off"). π Do not work with energy-saving lamps with a capacity of less than 5 W. β‘ There may be a slight flickering. LED-The connection is simple: phase on L, load on L1. No neutral required. Method 2: Install the relay module (Aqara) T1 Or Shelly, the module is installed in the switch box or behind the switch and is connected to the phase and neutrals from the shield, and a smart switch without neutral is already connected to it) β Relay module (L) Neutral (N) β Relay module (N) Relay module: Exit (L1) β Smart switch (L) Smart switch (L1) β Lamp Method 3: Lay neutral from the junction box The most reliable, but time-consuming option. It's going to take: Find the nearest neutral switch box, stretch the blue wire from it to the plug-in switch, connect it to the N terminal on the switch, if the walls are already repaired, use cable channels or a plinth with a wiring channel. β οΈ Warning: Never use the grounding (PE) It's a violation of electrical safety rules and can cause electric shock. Can you do without a neutral with a capacitor? Theoretically, yes, but in practice, it's not a reliable solution. A capacitor can provide minimal power to the circuit breaker's electronics, but: - The lamps will flicker even when turned off. - The switch can reset settings when voltage surges. - The service life of the device will be reduced due to unstable power supply. It is better to use specialized models without neutrals or relay modules. Automation and voice control settings Once the switch is connected to the Mi Home or Aqara app, you can configure automation scripts and voice control": π Timers: turn on/off lights on/off on a schedule (e.g., simulate presence). π Conditions: Reaction to changes in light, temperature or movement (if sensors are available). π Scenarios: complex actions (for example, "Leaving the house" - turns off the lights, air conditioning and sockets). π€ Voice commands: control via Alice, Google Assistant or Siri. Example of setting up a "Night Mode" script: Open Mi Home β "Automation" β "Create a script. Select a condition: "Time" β Please set 23:00. Add an action: select your switch. β "Turn off. Save script. For voice control: Connect your Mi Home account to Yandex.Station or Google Home. Say, "Alice, turn on the light in the living room" (the name of the room should match the one in the application). π‘For stable voice commands, make sure the switch and speaker with Alice are connected to the same Wi-Fi network (2.4GHz).Typical errors and how to avoid them Even with the right connection, users face problems. Here are the most common errors and their solutions: Problem Cause Decision Switch not turned on Incorrect Phase/Load Connection Check circuit, change wires places Lamp flickers off Model without neutral + LED-Lamp Install a 100 kΞ© resistor parallel to the lamp or use the relay module Not connected to Wi-Fi The router only works on 5 GHz Turn on 2.4 GHz mode or use the repeater The switch resets Unstable power (no neutral) Install the model with neutral or module Relay Voice commands not working The switch is not tied to the room Check the name of the room in Mi Home and Alice settings If after installation the switch is warming - immediately turn it off! This is a sign of short circuit or overload. Quality of connection of wires (are there no bare sections). Lamp and switch power match (e.g., Aqara H1 can withstand up to 2200 watts). Lack of moisture in the rosette (can cause contact oxidation). FAQ: Frequent questions on Xiaomi smart switches Can I connect a Xiaomi smart switch without a hub? Yes, most models (e.g., Aqara H1 or Mi Smart Wall Switch) work directly through Wi-Fi without a hub. However, some functions (e.g., local control without the Internet) may require an Aqara gateway or Mi Huway. How to reset the switch from the Philipp switch to a 10 seconds? To fully control color and brightness, you need specialized controllers, such as Philips Hue Bridge. Can you control the switch without the Internet? Yes, if you are on the same LAN. To do this, the Mi Home application must have Local Control mode. Remote control (via the Internet) requires a connection to the Xiaomi cloud. What to do if the switch does not respond to presses after installation? Check: Correct connection of the wires (phase must go to L). Power availability (the indicator on the switch must burn). Settings in the application (posible switch is connected to another account).