Electrical safety when installing a smart home starts with one habit you never skip: switch off the right breaker for the circuit, test with a voltage tester or multimeter until you are certain the circuit is dead, and only then remove the old switch. Next you must check whether the wall box has a neutral wire (N) and whether the load on each gang is within the maximum printed on the smart switch, because these are the two main reasons smart switches drop out, lights flicker or devices burn out. This is the first lesson of the roadmap, written for someone who has never held an electrician's screwdriver, with a worked survey of a two-bedroom apartment.
By the end of this lesson, you will be able to:
- Isolate and test using the "prove - test - prove" rule before touching any switch or socket.
- Tell live, neutral and earth conductors apart by measurement, not just by wire colour.
- Find out whether a wall box has a neutral and choose a suitable switch option.
- Add up the load on each switch gang, compare it with the label maximum, and recognise devices that must not go on a touch switch.
- Read an apartment's lighting layout and distribution board diagram to build a survey sheet.
Just starting out as a smart home installer? Residential electrical safety and reading house wiring plans are step 1 of the 8-step roadmap, before Wi-Fi and Zigbee protocols and installing touch switches. See the smart home installer roadmap to know what comes after this lesson.
Why smart home installers need solid electrical basics
Customers think of a smart home as apps, voice and scenes. But most of your working hours go into removing mechanical switches and wiring touch switches, sockets and curtain motors into 220 V mains. One wrong connection can cause a short circuit, destroy a device worth millions of dong, or leave a dangerous outlet for the whole family.
How a smart switch differs from a mechanical switch
A mechanical switch is just a contact that breaks the live wire to the light; it needs no power of its own. A smart switch has electronics, a Wi-Fi or Zigbee chip and relays, so it always needs a supply current, even when the light is off. A neutral-type switch takes its supply between live and neutral and runs reliably. A no-neutral switch has to "borrow" a tiny current through the bulb, which often makes LED lights flicker or glow faintly when off.
Wiring in Vietnamese homes is uneven
New apartments usually come with drawings and a board with clearly separated circuits. Self-built townhouses and older homes renovated several times often have mixed-up wire colours, switches that break the neutral instead of the live, and boxes joined temporarily with tape. So the rule of the trade is: do not trust wire colours, do not trust the owner's word, trust only your measurements.
Isolate and test before touching a switch
This is the most important skill in the lesson. Follow the sequence every time, even when you are replacing just one switch.
Find the right breaker
Open the distribution board and read the label on each breaker (Figure 1). Apartments usually have separate circuits for lighting, sockets, kitchen, air conditioning and water heater, with residual current protection (RCBO or RCCB) for wet areas. If labels are faded or missing, turn on the light in the room you are working in, switch off breakers one by one until it goes out, then write a new label. If in doubt, switch off the main breaker.
Photo: Shixart1985 / Wikimedia Commons, CC BY 2.0
The "prove - test - prove" rule
- Prove your tester on a socket that is definitely live, so you know the tester pen or meter works.
- Test at the switch you will work on: remove the cover and touch the pen to each conductor, or measure between conductors and to earth with a meter. Only no light and no voltage count as dead.
- Prove the tester on the live socket again, to be sure it did not fail in between.
A common screwdriver tester (Figure 2) lights up when its tip touches a live conductor and your finger touches the metal cap at the back. It may not light if the battery is weak, your hand is dry or you stand on an insulating floor, so for real work also measure voltage with a multimeter.
Photo: Simon A. Eugster / Wikimedia Commons, CC BY-SA 4.0
Lock off, tag and tell the household
After switching off, tape over the breaker lever and hang a "Work in progress, do not switch on" sign. Tell the owner and any domestic helper, because many accidents happen when someone notices the power is off and switches the breaker back on. If you work in the evening, bring a head torch as in Figure 3, because the room you are working on will have no light.
Photo: U.S. Navy photo by Photographer's Mate Second Class Kerryl Cacho / Wikimedia Commons, Public domain
Safety warning: Never wire or remove a switch before the breaker is off and you have re-tested with a working tester. Do not work with wet hands, bare feet or on a metal ladder. If a switch box shows burn marks, melted plastic, brittle cracked insulation or a burning smell, do not connect new devices to it; tell the owner that an electrician must check the whole circuit. The main board, the meter and the wiring before the meter belong to electricians and the power company; smart home installers do not touch them. If someone is shocked, cut the power before touching them and call emergency services (115 in Vietnam).
Live, neutral and earth: identify them by measurement
Home mains in Vietnam is 220 V, 50 Hz, single phase. The live (L) conductor carries voltage relative to earth. The neutral (N) is the return path, at close to 0 V relative to earth. The protective earth (PE) connects device casings to earth to protect people when current leaks.
Wire colour is only a hint
Under current conventions the neutral is usually blue, the earth green-yellow, and the live brown, black, red or grey. For details see house wire colours: live, neutral and earth. But older homes often used one reel of red or black wire for a whole circuit, so colour alone is not enough to decide.
Quick multimeter test table
With the circuit still live, set the meter to AC voltage (V~) on a range above 220 V, hold the probes by their insulated grips, and measure the pairs in the table.
| Pair measured | Normal result | Conclusion |
|---|---|---|
| Live - Neutral | About 210-230 V | Enough supply for a neutral-type switch |
| Live - Earth | About 210-230 V | The earth conductor is connected properly |
| Neutral - Earth | Near 0 V, usually under a few volts | Correct neutral; if you read 220 V you are measuring a live wire |
| Suspect wire - Earth | 0 V with the switch off, 220 V with it on | This is the switched wire to the light (L1), not a neutral |
After measuring, switch off, prove - test - prove again, and only then disconnect wires. Record the results on your survey sheet so you quote the right option.
Check whether the wall box has a neutral
A standard mechanical switch needs only two wires: live in and switched live out to the light. That is why many wall boxes have no neutral, even though the board and the ceiling light both do. Checking this before quoting is mandatory.
Look inside the box
Remove the switch plate (after isolating) and look into the box. Signs of a neutral: a blue wire, or a bundle of wires joined with tape or a wire connector that does not go to the switch. A box like the one in Figure 4 with several bundles is a good sign, but you still need to measure to confirm which bundle is the neutral.
Photo: Paul Cutler from Chaska, USA / Wikimedia Commons, CC BY 2.0
What to do when there is no neutral
- Pull in a neutral through existing conduit from the nearest light box or socket box; only possible when the conduit has room and is clear.
- Use a no-neutral switch, accepting its minimum load limit; you may need an anti-flicker capacitor as the maker instructs.
- Put a relay module at the light (in the ceiling, where both L and N are available), keeping the mechanical switch or using a wireless button.
You will learn how to wire and troubleshoot no-neutral switches in step 3; for a preview see smart switches without a neutral: wiring and fixes.
Box size and depth
Many homes use rectangular boxes for older-style switch plates, while most touch switches are square-plate or a different rectangular size. Measure the box size, its depth and the number of wires inside: a shallow, crowded box squeezes the module and makes it run hot. Changing a box means cutting into the wall, so tell the owner about the cost and the dust first.
Maximum load of a smart switch
Each gang of a smart switch has a maximum load printed on the label or in the documentation, usually in watts or amps, and often given separately for incandescent and LED lamps. LED lights have drivers that draw a large inrush current for an instant at switch-on, so the LED rating is usually lower.
Add up the load per gang
Each gang controls a group of lights. Add up the lamp wattages in the group: 8 downlights of 7 W make 8 × 7 = 56 W. Compare this with the gang maximum and keep below about 70-80% so the switch runs cool and lasts. With no-neutral switches, also check the minimum load: a very small group (one night light of a few watts) tends to flicker.
Devices that must not go on an ordinary touch switch
| Device | Typical power | Current at 220 V | Option |
|---|---|---|---|
| Living room LED light group | 30-150 W | 0.14-0.7 A | Ordinary smart switch, within the label load |
| Bathroom extractor fan | 15-40 W | 0.07-0.18 A | Smart switch that supports small motor loads, check the label |
| Water heater | 2,000-3,000 W | 9.1-13.6 A | Dedicated switch rated 20 A or more, or via a contactor |
| Air conditioner | 800-2,500 W | 3.6-11.4 A | Do not cut its supply with a touch switch; control it with an IR blaster |
| Induction hob, oven | 2,000-4,000 W | 9.1-18.2 A | Keep on its own circuit, never on a smart switch |
Current is I = P / U, for example 2,500 W / 220 V ≈ 11.4 A. That is many times what a lighting switch gang can handle, so connecting it by mistake welds or burns the relay contacts.
Reading house wiring plans
An apartment's electrical drawings usually include a lighting layout, a socket layout and a distribution board schematic. Owners of new apartments are usually given a set at handover; ask for a copy before your survey.
The lighting layout
On the layout, each light, switch and socket is a symbol; the line from a switch to a light shows which gang controls which light. Small slashes across a line usually show how many conductors run in the conduit. Symbols vary between designers, so always read the symbol legend in the corner of the drawing first.
The board schematic
The board schematic shows which circuit each breaker supplies, its rated current and which circuits have residual current protection. You use it to know which breaker to switch off and whether a circuit can take a new device. For choosing and wiring RCBOs, see how to wire an RCBO for a home.
Design drawings versus reality
Design drawings may differ from what was actually built, especially after the owner has renovated. Use the drawings for orientation, then check every box on site. Mark any differences on your copy and hand it back to the customer at handover.
Worked example: electrical survey of a 70 m² two-bedroom apartment
Ms Ha wants to replace every lighting switch in her 70 m² two-bedroom apartment with Zigbee touch switches. The model she chose is rated at 300 W of LED load per gang (an assumed figure for this example; in practice read the product label). You bring the handover drawings, a tester pen and a multimeter for the survey.
Step 1: isolate, open the boxes, check for neutral
According to the board schematic, lighting is on its own breaker. You measure while the circuit is live, record the results, switch off the lighting breaker, prove - test - prove, then open the 5 switch boxes. Result: the living room, kitchen and hallway boxes have a neutral bundle; the two bedrooms do not.
Step 2: add up the load per gang
| Box | Gangs and load | Box total | Neutral |
|---|---|---|---|
| Living room (3 gangs) | 8 × 7 W = 56 W; LED strip 5 m × 10 W = 50 W; chandelier 6 × 5 W = 30 W | 136 W | Yes |
| Kitchen (2 gangs) | 4 × 7 W = 28 W; cabinet LED 3 m × 10 W = 30 W | 58 W | Yes |
| Bedroom 1 (2 gangs) | 6 × 7 W = 42 W; night light 1 × 9 W = 9 W | 51 W | No |
| Bedroom 2 (2 gangs) | 4 × 7 W = 28 W; cove LED 4 m × 10 W = 40 W | 68 W | No |
| Hallway (1 gang) | 3 × 7 W = 21 W | 21 W | Yes |
| Total 10 gangs, 5 boxes | 334 W | 3 yes, 2 no | |
Check: 136 + 58 + 51 + 68 + 21 = 334 W; gangs 3 + 2 + 2 + 2 + 1 = 10. The largest gang is 56 W, only about 19% of the 300 W rating, so no gang is overloaded. The whole lighting circuit with everything on draws 334 / 220 ≈ 1.5 A, tiny compared with the circuit breaker.
Step 3: propose options
- Living room, kitchen, hallway: neutral-type switches.
- Bedroom 1: the night light gang is only 9 W and likely to flicker on a no-neutral switch. The conduit from the ceiling light box is clear, so you propose pulling in a neutral.
- Bedroom 2: the conduit is blocked, so you propose a no-neutral switch for the 28 W and 40 W groups, warning that an anti-flicker capacitor may be needed.
- The 2,500 W water heater (≈ 11.4 A) keeps its own switch or gets a dedicated 20 A switch, never a lighting touch switch.
Survey time: 5 boxes × 10 minutes = 50 minutes, plus 15 minutes reading the board and 15 minutes writing up the sheet, 80 minutes in total. For device and labour pricing see how much a smart home costs in Vietnam.
Common beginner mistakes
Trusting only the tester pen
Sign: the pen does not light, so you disconnect the wires and get a shock. Cause: a faulty pen, a weak battery, or standing on an insulating floor so the pen does not light although the wire is live. Fix: always prove the pen on a live socket before and after, and also use a meter.
Mistaking the switched wire for a neutral
Sign: you fit a neutral-type switch but it does not power up, or the light stays on. Cause: using the switched wire to the light as the neutral. Fix: before disconnecting, measure the suspect wire to earth with the mechanical switch on and off.
Putting a heavy load on a lighting switch
Sign: the switch gets hot, a button sticks, there is a burning smell. Cause: a water heater or pump connected to a lighting gang. Fix: move heavy loads to a dedicated switch or contactor and replace the overheated switch.
Not telling the household
Sign: the lights come back on while you are working. Cause: someone switched the breaker back on. Fix: tape it, tag it, and tell the owner in person before switching off.
Frequently asked questions
Do I need to switch off the power to install a smart switch?
Always. Switch off the circuit breaker, re-test with a working tester, and only then remove the old switch. If you are not sure which breaker it is, switch off the main breaker.
How do I know whether a switch box has a neutral wire?
Look for a blue wire or a bundle joined together that does not go to the switch, then measure: about 220 V between it and the live, near 0 V between it and earth. If there are only the live and the switched wire to the light, the box has no neutral.
What is the maximum load of a smart switch?
It depends on the product; read the label and maker's documentation for each gang, especially the LED rating. Stay below about 70-80% of the maximum and never put water heaters, air conditioners or cookers on a lighting switch.
Can someone who is not an electrician learn this trade?
Yes, but you must learn electrical safety thoroughly and practise under supervision before taking on jobs alone. Work such as the main board or rewiring a whole house is best left to experienced electricians.
Practice tasks and self-assessment
- At home, list the breakers in the board and the circuit each one supplies (with an experienced adult if you are not used to it).
- Under an electrician's supervision, measure L - N, L - PE and N - PE at a socket and record the results.
- Choose 3 switch boxes and add up the load per gang using the table above as a template.
- Get the electrical drawings of an apartment (or find a sample set) and point out the lighting circuit and the switch and light symbols.
Self-assessment criteria
- Pass: you carry out all three prove - test - prove steps without being reminded.
- Pass: you identify the neutral by measurement and can explain why N - PE reads near 0 V.
- Pass: your load table adds up correctly and flags devices that must not go on a touch switch.
- Not yet: you decide which wire is neutral from colour alone, or remove a switch without re-testing.
Once you are solid on electrical safety, move on to the next roadmap step: Protocols: Wi-Fi, Zigbee, BLE Mesh, Matter, where you learn the pros and cons of each standard and how to pick an ecosystem for a customer; read Zigbee or Wi-Fi ahead of time.
Keep learning smart home installation: after electrical safety come protocols, touch switches, motorised curtains and smart locks, sensors and scenes, home Wi-Fi and troubleshooting. See the smart home installer roadmap.






