Customers today ask about "smart homes" as often as they ask about sockets. They want to switch lights on and off from their phone, put the water heater on a timer, have a "leaving home" scene that turns off every light and air conditioner, curtains that open by themselves in the morning, and alerts when a stranger is around. Most of these devices are still electrical accessories fitted into flush wall boxes and wired into 230 V circuits – that is an electrician's job. An electrician who understands smart homes will wire correctly from the start (a neutral in every switch box, boxes deep enough, a location for the hub), match the load correctly to each type of switch, and hand over a system that runs reliably. On the other hand, one missing N wire in a switch box can mean chasing the walls of the whole house all over again.
By the end of this lesson, you will be able to:
- Distinguish the smart home architectures: Wi-Fi, Zigbee, Z-Wave, Bluetooth Mesh, Thread/Matter, and wired KNX/RS-485 systems.
- Prepare the infrastructure at first-fix wiring stage: a neutral in switch boxes, deep boxes, spare conduits, hub and network locations.
- Correctly install smart switches with and without a neutral; know the minimum and maximum load limits with LED lights.
- Correctly install curtain controllers, water heater switches, smart sockets and sensors.
- Set up, name devices, create basic scenes and hand the system over to the customer.
- Diagnose common faults: flickering LED lights, devices dropping their connection, hot switches.
Smart home architectures
| Technology | How it connects | Advantages | Limitations | Suitable for |
|---|---|---|---|---|
| Wi-Fi | Each device connects directly to the router | No hub needed, easy to set up | Many devices can congest the router; depends on the Internet and the manufacturer's cloud | Small apartments, fewer than about 20 devices |
| Zigbee | Mesh network through a hub (gateway/hub) | Low power consumption, mains-powered devices act as repeaters, supported by many brands | Needs a gateway; compatibility between brands is not always perfect | Town houses, villas, many sensors |
| Z-Wave | Sub-1 GHz mesh through a hub | Little interference with Wi-Fi, good wall penetration | Not common in Vietnam; frequency depends on the region | Brand-specific projects |
| Bluetooth Mesh | Bluetooth mesh | Cheap, used by many local switch brands | Remote control needs a gateway | Mainstream homes |
| Thread / Matter | IP mesh, a common standard across many brands | Cross-brand compatibility, runs locally | Still new, needs a coordinator (border router) | New systems intended for long-term expansion |
| KNX, RS-485 (wired) | Dedicated bus cable to each device | Most reliable, does not rely on radio | Expensive, must be designed from the start, needs a programmer | Villas, hotels, commercial buildings |
An electrician does not need to master every system, but must know to ask the customer or supplier which system will be used before first-fix wiring, because each system needs different infrastructure: wired systems need bus cable; wireless systems need a neutral in the switch boxes, a central gateway location and good Wi-Fi coverage.
Photo: Jan Prucha / Wikimedia Commons, CC BY-SA 3.0
Preparing the infrastructure at first fix
For an electrician, the most important part of a smart home happens before the walls are plastered:
- A neutral (N) in every switch box. With the traditional wiring method, a switch box only has the incoming live and the switched live going to the light. Smart switches need a continuous supply for their electronics and radio; the best types need both L and N. Taking N into every switch box costs very little compared with chasing walls later.
- Deep flush boxes: smart switches are thicker than mechanical switches; use 40–50 mm deep boxes and leave room to fold the wires neatly.
- Multi-gang switch boxes: do not put more than 3–4 heavy lighting channels on one smart switch – the total heat and total current through one module are limited.
- Gateway/hub location in the centre of the house, with a socket and a network cable; for multi-storey houses, consider several Wi-Fi access points (mesh or access points) with network cable run in advance.
- Motorised curtains: a 230 V supply (with N and PE) at the curtain box above the window, next to the edge of the curtain as specified by the motor manufacturer.
- Sensors and cameras: leave conduits and cables to ceiling positions, entrance doors and the gate.
- Distribution board: leave space for smart relays, energy metering modules and DIN-rail timers.
- Records: photograph every box and every conduit run before plastering and file them by room; this is valuable documentation for fitting devices and for repairs later.
Smart switches: with and without a neutral
Neutral type
- The circuit is powered by the voltage between L and N; the internal relay or triac switches the load just like a normal switch.
- Works with most types of lights, with no leakage current through the light when off.
- Wiring: L to the L terminal, N to the N terminal, the wires to the lights to L1, L2, L3. Do not mix up L and N – many models will be destroyed immediately.
No-neutral (single-wire) type
- The circuit is powered by letting a very small current flow through the light even when it is "off".
- With low-wattage LED lights (below about 3–5 W) or sensitive LED drivers, this current is enough to make the light flicker or glow dimly.
- Manufacturers usually sell a bypass capacitor connected in parallel with the light so that the supply current flows through the capacitor instead of the LED driver.
- There is a minimum load per channel; combine several lights on one channel or fit a bypass capacitor.
Load limits
- Read the maximum power per channel and in total for the switch (for example 600 W per channel with incandescent lamps but only 150–200 W with LED lights, because of the inrush current of LED drivers).
- Do not connect large loads directly through a smart switch: water heaters, air conditioners, pumps. Use a dedicated water heater switch (20–30 A relay) or use the smart switch to control the coil of a contactor in the distribution board.
- Dimmable lights: only use a dimmer switch with LED lights marked "dimmable", and the right dimmer type (leading/trailing edge) according to the light's documentation.
Photo: Sokolikmawwer0 / Wikimedia Commons, CC BY-SA 3.0
Large loads in a smart home: use a contactor
When a customer wants to control a 2.5–4.5 kW water heater, a pump or a garden lighting system with many lights, the standard approach is:
- Install a suitably rated contactor (for example 25 A AC-1 for a water heater, AC-3 for a motor) in the distribution board, downstream of that circuit's breaker and RCD.
- The smart switch or DIN-rail smart relay only switches the contactor coil (a current of only a few tens of mA).
- For motors, keep the thermal overload relay and the protection circuit you learned in the motor starter lesson; a smart scene must never bypass the float switch, pressure switch or overload relay.
- Always provide a manual control option (an Auto – Off – Manual selector switch) for when the network is down or the system fails.
Safety note: A smart home does not replace protective devices. Breakers, RCDs, thermal overload relays and dry-run float switches for pumps must all still be fitted. A faulty software scene must never be able to make a pump run dry or keep a water heater switched on continuously without its thermostat cut-out.
Motorised curtains, sensors, door locks
Curtain motors
- Tubular (roller) or track curtain motors have 4 wires: L up, L down, N, PE. Never energise the up and down wires at the same time – it destroys the motor. Smart curtain switches have an internal interlock.
- Set the travel limits (upper/lower stop points) according to the motor documentation before handing over to the customer.
- If you use a curtain motor with built-in Wi-Fi/Zigbee, it only needs a stable L, N, PE supply at the curtain box.
Sensors
- Motion sensors (PIR): mount in a corner of the room at 2–2.4 m, not facing directly towards a sunny window, an air conditioner or a fan heater (heat sources cause false triggers).
- Presence sensors (mmWave radar): detect people sitting still; suitable for bathrooms and studies; need a continuous power supply.
- Door sensors: the magnet and the main unit must be no more than a few mm out of line when the door is closed.
- Smoke and water leak sensors: these are supplementary alarm devices and do not replace a fire alarm system that complies with fire safety regulations where the building is required to have one.
Smart door locks and video doorbells
These usually run on batteries; the electrician only needs to provide power and network cable for the video doorbell and the indoor monitor. For electric gates and roller shutters: the smart controller is wired in parallel with the push button according to the door manufacturer's documentation, without interfering with the anti-entrapment safety circuit.
Network and coverage
- Most Wi-Fi smart home devices use only the 2.4 GHz band. Routers that use the same network name for 2.4 and 5 GHz sometimes make setup difficult – temporarily split them into two network names during setup.
- Measure signal strength at the furthest switch location with a Wi-Fi analyser app on your phone; below about −70 dBm, add an access point.
- A Zigbee network needs mains-powered devices (switches with N, smart sockets) spread evenly to act as repeaters; battery-powered sensors do not act as repeaters.
- Metal boxes and metal distribution boards block radio signals: do not put the gateway inside a metal distribution board.
- Suggest that the customer uses a separate network (a VLAN or guest network) for smart home devices if the router supports it, to improve security.
Setup, naming and handover
- Create the main account with the homeowner's email, not the electrician's account. The electrician is invited as a temporary admin member and removed at handover if the customer wishes.
- Name devices by a rule: Floor – Room – Device (for example "F2 Master bedroom Ceiling light"). Good names make voice control and later repairs easier.
- Create rooms and assign devices to the right room.
- Create basic scenes as requested: "Arriving home", "Leaving home", "Bedtime", a water heater timer, corridor lights triggered by a sensor.
- Test a network outage: turn off the router and check the switches can still be operated by hand; switch the power off and on again and check the state after power returns (on/off/restore previous state) – set it to suit each load (for example a water heater should return to off).
- Handover file: list of devices by room, which channel controls which light, model numbers, gateway location, the Wi-Fi password used, device reset instructions, warranty contacts.
- Show the customer how to operate everything on their own phone until they can do it themselves.
Diagnosing common faults
| Symptom | Common cause | Remedy |
|---|---|---|
| LED light flickers or glows dimly when off | No-neutral switch, load below the minimum | Fit a bypass capacitor in parallel with the light, or change to a neutral type |
| Switch keeps losing its connection | Weak signal, too many devices on the router, metal box | Add an access point, add Zigbee repeaters, move the gateway |
| Switch faceplate gets hot | Load above the rating, LED lights with high inrush current | Split the load onto other channels, use a contactor |
| Switch fails after a few weeks | L and N swapped, surges, fluctuating voltage | Check polarity, fit an SPD in the distribution board |
| Curtain runs in the wrong direction | Up/down wires swapped | Swap the wires or reverse the direction in the app |
| Scenes do not run when the Internet is down | System depends on the cloud | Choose a system with local processing, or explain the limitation to the customer |
Common mistakes during installation
- Not taking the N wire into switch boxes at first fix.
- Using shallow flush boxes and cramming the wires in so tightly that the insulation is damaged or overheats.
- Wiring a water heater straight through an ordinary smart switch.
- Creating the account with the electrician's email, so the customer cannot manage their own home.
- Not testing manual operation during a network outage, so the customer cannot switch on the lights when the router fails.
- Leaving out the thermal overload relay or dry-run float switch because "it already has smart control".
Pass criteria for this lesson
- Survey a 3-bedroom apartment and list the infrastructure to prepare: number of boxes with N, gateway location, Wi-Fi access points, curtain power supplies.
- Correctly install a 3-channel smart switch with N and a no-neutral switch with a bypass capacitor on the practice bench, with no LED flicker.
- Wire a contactor controlling a water heater through a smart relay, with an Auto – Off – Manual selector switch.
- Set up the system, name devices according to the rule, create 3 scenes and prepare the handover file.
- Correctly diagnose the cause of 3 simulated faults set up by the instructor.
Frequently asked questions
What if an older house has no N wire in the switch boxes?
There are three options: use a no-neutral switch with a bypass capacitor; use a small relay module fitted in the light's ceiling box (where both L and N are present) and keep the mechanical switch as a push button; or pull an extra N wire through the existing conduit if it has room.
Should I choose Wi-Fi or Zigbee?
For fewer than about 15–20 devices, mostly switches, Wi-Fi is simple and good enough. With many devices, many battery-powered sensors or a multi-storey house, Zigbee or Thread is more reliable.
Does an electrician need to know programming?
For mainstream wireless systems, you only need to be fluent with the manufacturer's app. For KNX or large wired systems, programming is usually handled by a systems integration engineer; the electrician is responsible for wiring, installation and testing.
Photo: Jan Prucha / Wikimedia Commons, CC BY-SA 3.0
Further reading
Review installing switches and sockets in the lesson Installing two-way switches and earthed sockets and how to build a distribution board with room for relays and contactors in the lesson Installing an MCB/RCBO distribution board and earthing.
