A customer calls: “We've been getting a lot of power cuts lately, so I just bought a 5 kVA petrol generator. The other day I made a cable with a plug on both ends, plugged one end into the generator and the other into a socket in the house, and all the lights came on. Could you come and check whether that's OK, and then set it up properly for me?” Your first answer must be crystal clear: that cable with two male plugs must go, right now. It can kill: the homeowner, when they unplug it and grab the live metal pins, or a utility line worker repairing the overhead line outside, who believes the line has been de-energized.
The right way is to install a changeover switch (also called a transfer switch or source selector switch): at any moment, the house receives power from only one source, either the mains grid or the generator. The two sources must never be connected to the same wiring at the same time.
By the end of this lesson, you will be able to explain why backfeed must be prevented, choose the type of transfer device, size the generator and calculate the current, choose where to place the generator, wire the changeover switch, test everything before energizing, and teach the customer how to operate it. The lesson follows the order of work on site and covers only homes with a single-phase 220–230 V supply using portable or small fixed generators. Three-phase homes, industrial generators and ATS panels for buildings require a design engineer and are only mentioned briefly at the end.
The instructions of the generator and transfer switch manufacturers are the highest authority; the figures in this lesson are guideline values and do not replace design drawings. Only make connections after switching off, tagging out and verifying the circuit is dead following the 5 mandatory safety rules. The supply side of the main circuit breaker (the cable coming from the meter) is still live after you switch the main breaker off. The meter and the cable before it are managed by the electricity utility (EVN): never break the seals or connect anything there yourself.
Why you must never plug a generator straight into a house socket
Backfeeding into the grid
During a power cut, your home's main circuit breaker is still closed. If you feed generator power into the house wiring through a socket, the power flows back through the main breaker, through the meter, out to the low-voltage line in the street and on to the local distribution transformer. Transformers work in both directions: low voltage fed back into the low-voltage side appears on the medium-voltage side at many times the voltage. Utility workers repairing the line can be electrocuted even though they have switched off the supply at the source. This is the main reason why connecting a generator to a home's electrical system must go through a device that isolates the two sources.
When the mains power comes back
If the generator is connected together with the grid when mains power returns, the two sources, which are not in phase or at the same frequency, clash directly. Common results: burnt generator windings, burnt control boards in inverter generators, exploding circuit breakers, burnt cables inside the walls. Home generators have no synchronizing equipment, so they must never run in parallel with the grid.
The “double male” cable
A cable with male plugs on both ends is the most serious mistake. When one end is plugged into the generator (or into a house socket while mains power is on), the pins on the other end are live and exposed, and anyone who touches them gets a shock. The general rule for every power lead: the connector on the source side is always female (shrouded sockets), and the male end is only ever on the receiving side.
Types of transfer devices for homes
The common requirement for every device: when it is switched to one source, the other source is guaranteed to be disconnected, by mechanical design, not by relying on the user's memory. For single-phase power, the device must switch both the phase (L) and the neutral (N), meaning it must be a 2-pole type. The reason: the grid neutral and the generator neutral need to be kept separate, and only then will the residual current devices (RCD/RCBO) in the house work correctly.
Type | How it works | Advantages | Notes |
|---|---|---|---|
Knife-blade changeover switch (exposed copper blades) | Thrown by hand to one of two sides, with an open middle position | Cheap, state easy to see | Blades and contacts are exposed, so only use it inside a closed enclosure; contacts tend to loosen and oxidize over time |
1–0–2 rotary changeover switch | 3-position knob: 1 = mains, 0 = both off, 2 = generator | Enclosed and compact, mounts on DIN rail or in its own box; must pass through position 0 | Choose the correct number of poles (2P for single phase) and rated current |
Two circuit breakers with a mechanical interlock | Two breakers side by side, with an interlock bar that prevents both being on at once | Switches the source and provides overcurrent protection | Only use the interlock accessory made by the breaker manufacturer; two ordinary breakers without an interlock are not acceptable |
Automatic transfer switch (ATS) | Switches over automatically when the mains fails, can start the generator automatically | No one needs to operate it | More expensive; needs a generator with electric start and a control port; set up according to the manufacturer's documentation |
For most homes with portable generators, a 2-pole 1–0–2 rotary changeover switch is the balanced choice: safe, easy to teach the customer, and reasonably priced. Old-style knife-blade switches are still common in small workshops and older houses; if the customer is using one, check the enclosure and the condition of the contacts carefully.

Figure 1. A two-pole knife-blade changeover switch: two copper blades are joined by an insulating bar with a handle, closed into the pair of contacts on one side while the pair on the other side is open. Switches with exposed blades and contacts like this must only be used inside a closed enclosure. (Photo: Junkyardsparkle, Wikimedia Commons, CC0 1.0)
Step 1: Survey and size the generator
Before talking about wiring, sit down with the customer and list what needs to run during a power cut. A home generator rarely has enough capacity for the whole house, so loads are usually split into:
Priority loads: lights, fans, fridge, wifi, phone charging, water pump.
Loads to consider: rice cooker, electric kettle, one small air conditioner.
Loads that should not run on a small generator: electric water heaters, induction hobs, high-power hair dryers, several air conditioners at once.
Motor starting current
Pumps, fridges, washing machines and non-inverter air conditioners have a starting current many times their running current for the first few seconds. A generator that runs lights and fans easily can still stall or suffer a voltage dip when the pump starts. There is no single figure for every appliance: check the label or catalogue, and during test runs start each motor one at a time, never all together.
kVA, kW and continuous rating
Generator labels usually show two figures: the maximum power (only for short periods) and the rated/continuous power. Always work from the continuous rating. Many electricians keep the long-term total load at only about 70–80% of the continuous rating (guideline) so the generator runs cooler and has headroom for starting currents.
Reference current table
Single-phase current is approximately I = S / U, with U = 230 V:
Generator rating (kVA) | Approximate rated current | Generator-side breaker (guideline) | Generator-side copper cable (guideline) |
|---|---|---|---|
2 | ≈ 8.7 A | 10 A | 1.5–2.5 mm² |
3 | ≈ 13 A | 16 A | 2.5 mm² |
5 | ≈ 21.7 A | 25 A | 4 mm² |
7 | ≈ 30.4 A | 32 A | 6 mm² |
10 | ≈ 43.5 A | 50 A | 10 mm² |
The breaker and cable columns are only guideline values for short runs under normal conditions. For long runs, enclosed conduits, high temperatures or many cables sharing a conduit, recalculate using the lesson choosing cable sizes and circuit breakers for each circuit. The generator has its own breaker on the unit; the breaker on the house side protects the cable from the inlet to the board.
Step 2: Choose where to place the generator and the outdoor inlet
Carbon monoxide: the silent killer
Petrol and diesel generators emit carbon monoxide (CO), a colorless, odorless gas. People sleeping indoors can be poisoned without knowing it. The rules for the customer, said plainly and repeated at handover:
Only run the generator outdoors, in an open, well-ventilated place. Never put it inside the house, in a garage, under the stairs, or on an enclosed balcony or drying yard, even with the doors open.
Place it away from doors, windows, vents and air intakes, with the exhaust pointing away from people. The US Consumer Product Safety Commission (CPSC) recommends placing the generator at least about 6 m (20 feet) from the house – a reference figure; read the distance in the generator's instructions.
Advise the customer to install a CO alarm in the house, especially in bedrooms.
Refuel only when the generator is switched off and cool; never keep a petrol can next to a running generator.
Protect the generator from rain with an open, ventilated cover, never a tight wrap.
Generator inlet mounted on the outside wall
Instead of running a cable through a window, fit a male power inlet on the outside wall near where the generator stands. The generator lead has a female connector that plugs into the inlet. This way, when the lead is unplugged, the live end of the cable (on the generator side) is the female end, with its contacts fully shrouded.
Use IEC 60309 industrial connectors (3-pin L–N–PE, blue body for 200–250 V), with a cover and a weatherproof rating suitable for outdoor use. Common ratings are 16 A or 32 A: choose one equal to or greater than the generator-side breaker. The generator lead should be 3-core double-insulated flexible cable (rubber or oil-resistant flexible cable), not the flat twin flex used for lamps.

Figure 2. A metal switch enclosure with an ON/OFF handle on the side and an industrial connector for backup power from a generator, firmly mounted on the outside wall of a building in the USA. The photo illustrates how to install enclosed outdoor equipment near the generator position; this box is an isolating switch, not a changeover switch. (Photo: U.S. Fish and Wildlife Service Northeast Region, Wikimedia Commons, Public domain)
When wiring the inlet, open the back and you will see the marking for each pole. Connect L to the L terminal, N to the N terminal, and the green-yellow earth wire to the terminal with the earth symbol. The female connector on the generator lead must be wired the same way; reversing L and N makes the switches in the house break the neutral instead of the phase.

Figure 3. The wiring terminals inside a blue 3-pole (L, N, PE) IEC 60309 industrial socket: the bottom terminal carries the earth symbol for the PE wire, the right-hand terminal is marked “L/+” for the phase wire, and the remaining terminal is for the neutral. Always connect according to the markings printed on the device itself. (Photo: 1-1111, Wikimedia Commons, CC BY-SA 4.0)
Step 3: Wiring diagram
The position of the changeover switch: after the meter and the main breaker, before the entire distribution board (or before a sub-board supplying only priority circuits). Single-phase diagram:
Branch | From | To |
|---|---|---|
Source 1 (mains) | Meter → 2-pole main breaker | Input 1 of the changeover switch (L1, N1) |
Source 2 (generator) | Generator → flexible lead with female connector → outdoor inlet → 2-pole generator breaker | Input 2 of the changeover switch (L2, N2) |
Common output | Changeover switch output (L, N) | Distribution board input (RCD/RCBO → circuits) |
Earth | PE wire from the inlet, enclosure and distribution board | The house's main earth bar → earth electrode; the PE wire does not pass through the changeover switch |
Three common mistakes:
Do not swap inputs and output. The two sources always go to the “source 1” and “source 2” terminals; the output is the common terminal. Read the diagram printed on the device carefully, because each manufacturer arranges the terminals differently.
Do not link the neutrals. The grid N and the generator N only meet through the changeover switch; they must not be joined at the N bar in a board upstream of the changeover switch.
Rated current of the changeover switch ≥ main breaker. In position 1, the entire current of the house flows through it.
Generator neutral and shock protection
Small generators come in two types: those with the neutral bonded to the frame and those with the neutral not bonded to the frame (floating). Which type it is affects whether the RCD/RCBO in the house can trip while running on the generator. Note: pressing the TEST button on an RCD does not prove this, because the TEST button creates an imbalance inside the device itself, not through earth. The reliable check is to use a dedicated RCD tester while the generator is running. Never open the generator yourself to add or remove the N–frame bond. Ask the manufacturer or an engineer if you are unsure.

Figure 4. The control panel of a petrol inverter generator: two covered 220 V AC sockets, a thermal overload protection button, a 12 V DC outlet, USB ports, an ECO switch, a display and an earth terminal marked with the earth symbol. (Photo: P1898, Wikimedia Commons, CC BY 4.0)
The PE wire in the flexible lead from the generator keeps the generator frame at the same potential as the house earthing system. Only connect the earth terminal on the generator body when the generator instructions require it; for how to install an earth electrode, see the lesson installing a home distribution board: arranging MCBs and RCBOs and earthing.
Step 4: Step-by-step installation
Switch off, lock out and tag at the main breaker. Verify that the output of the main breaker is dead. Remember: the input of the main breaker is still live. If you absolutely have to disconnect cables upstream of the main breaker, contact the utility; never work live.
Mount the changeover switch enclosure next to the distribution board, at a convenient height for operation, in a dry place with enough clearance to open the cover. Use an enclosed plastic or metal box; if it is metal, connect the enclosure to PE.
Run the source 1 cable: disconnect the cable from the main breaker output to the distribution board and take it to input 1 of the changeover switch. Use the same cable size as the existing board supply.
Run the source 2 cable: from the outdoor inlet through conduit (UV-resistant conduit if outdoors) to the generator breaker, then to input 2. Seal the wall penetration against water.
Run the output cable from the common terminals of the changeover switch to the distribution board input.
Connect the PE from the inlet, the enclosure and the board to the main earth bar.
Tighten the terminals to the torque marked on the device (if given). Stranded conductors must be fitted with crimped pin ferrules.
Fit labels: “1 – MAINS / 0 – OFF / 2 – GENERATOR” and a warning label “Switch to 0 before changing source”. Stick the wiring diagram on the inside of the enclosure cover.
Step 5: Testing before energizing
This step must never be skipped. Use a multimeter as described in the lesson using a multimeter for electricians.
Test | Conditions | Correct result |
|---|---|---|
Continuity in position 1 | Completely de-energized, changeover switch at 1 | L1–L out and N1–N out continuous; L2–L out and N2–N out open |
Continuity in position 0 | Changeover switch at 0 | All inputs open to the output |
Continuity in position 2 | Changeover switch at 2 | L2–L out and N2–N out continuous; L1 and N1 open |
Insulation | Electronic devices unplugged, measured with a 500 V DC insulation tester between L, N and PE | Usually ≥ 1 MΩ required (guideline, per the applicable testing documents) |
Backfeed check | Mains on, main breaker closed, changeover switch at 1, generator breaker closed, generator not connected | L and N pins of the outdoor inlet: 0 V |
Generator test run | Changeover switch at 0, start the generator with no load, then switch to 2 | Voltage at the board about 220–230 V, frequency about 50 Hz (according to the generator label) |
The backfeed check is the most important. If the inlet is live while the switch is in the mains position, a terminal has been wired wrongly or the changeover switch is faulty, and the generator lead will be backfed. Stop and find the fault before going any further.
During the test run, switch loads on from smallest to largest: lights, fans, fridge, and finally the pump. Watch the voltage when the pump starts. If the voltage dips sharply or the generator labors, reduce the load or advise the customer not to run the pump together with other large loads.
Step 6: Teaching the customer how to operate it
Write the procedure on paper, stick it next to the changeover switch, and have the customer do it themselves once in front of you.
When the mains power fails:
Switch off the large loads in the house (air conditioners, water heaters, induction hobs).
Turn the changeover switch to 0.
Place the generator outdoors in the correct spot and plug the lead into the generator and the inlet while the generator is off.
Start the generator and let it run without load as described in its instructions.
Switch on the breaker on the generator, then the generator breaker in the house.
Turn the changeover switch to 2. Switch loads on gradually.
When the mains power comes back:
Switch off the large loads.
Turn the changeover switch to 0, then to 1. The house is back on mains power.
Switch off the breaker on the generator, let the generator run without load for a while to cool down as the manufacturer recommends, then switch it off.
Unplug the lead and close the inlet cover.
If the house has a mains indicator lamp (installed downstream of the main breaker), the customer will know when the power is back without guessing. It is a small accessory worth recommending.
Talking with the customer
Explain why the double-male cable is dangerous, and cut it up in front of the customer.
Be clear about what this generator can and cannot run; if the house has a lot of sensitive electronics and the generator voltage fluctuates, consider adding a voltage stabilizer (see the lesson installing a voltage stabilizer for the home).
Itemize the quote: changeover switch, enclosure, generator breaker, inlet and female connector, flexible cable, conduit, labor, mains indicator lamp (if any). Material prices vary by brand and region, so quote based on the actual site survey.
Common faults table
Symptom | Common cause | What to do |
|---|---|---|
Generator running, no power in the house | Breaker on the generator or the generator breaker in the house not switched on; changeover switch not at 2; female connector loose | Check step by step from the generator into the house, measuring the voltage at each point |
RCD/RCBO trips as soon as you switch to the generator | Neutral and PE wrongly joined downstream of the RCD; genuine leakage on a circuit; the generator's neutral type | Split the circuits to find the leak; recheck the N wiring; ask the manufacturer about the neutral type |
Generator stalls or labors when the pump runs | Starting current exceeds the generator's capacity | Reduce other loads, start the pump first; review the generator size |
Flickering lights, fluctuating voltage | Generator overloaded, unstable throttle, generator needs servicing | Reduce the load, service according to the generator manual |
Hot cables or connectors | Cable too small for the current, loose terminals, oxidized contacts | Switch off, retighten, replace cables/connectors with the correct size |
Outdoor inlet live while on mains | Terminals wired wrongly, changeover switch faulty | Stop using it immediately, find and fix the fault |
Safety checklist before handover
☐ All double-male leads and any method of plugging the generator into house sockets have been eliminated.
☐ Changeover switch is the correct 2-pole type, has a 0 position, and its rated current is ≥ the main breaker.
☐ The two sources go to the correct two source terminals; the output is the common terminal.
☐ Grid neutral and generator neutral are not joined upstream of the changeover switch.
☐ PE is continuous from the inlet, enclosure and board to the earth bar; PE does not pass through the changeover switch.
☐ The outdoor inlet is male with a cover; the generator lead has a female connector.
☐ 0 V measured at the inlet while in the mains position.
☐ Generator test-run under load, with voltage and frequency within the range on the generator label.
☐ Generator placed outdoors, away from doors and windows; customer warned about CO.
☐ 1–0–2 labels, warnings, diagram and operating procedure fitted; customer has operated it once themselves.
Frequently asked questions
Can I use two ordinary breakers, one for mains and one for the generator?
No, not without a mechanical interlock. All it takes is for someone to switch both on by mistake and you have backfeed or two sources clashing. If you want to use two breakers, you must use the interlock kit made by the breaker manufacturer for that specific product range.
Does a small inverter generator need a changeover switch?
Yes, if it is connected to the house wiring. An inverter generator only differs in how it produces electricity; it does not prevent backfeed. If the customer only plugs a few appliances directly into the sockets on the generator using a proper extension lead (female end at the generator), no changeover switch is needed, because the house wiring is not involved.
Does the changeover switch need to break the neutral as well?
For single-phase power, use a 2-pole type that breaks both L and N. This completely separates the two sources and helps the RCDs in the house work correctly when running on the generator. If you come across a special system or the generator documentation requires something different, follow the documentation and ask an engineer.
What about homes with a three-phase supply?
Use a 4-pole changeover switch (three phases and neutral) and calculate phase balancing, because a single-phase generator cannot supply three-phase loads such as three-phase pumps. This is a job that should be designed by an engineer and is outside the scope of this lesson.
What if the house has solar power or a UPS?
Grid-tied solar systems and UPS/battery inverters usually already have their own source-switching arrangements designed by the manufacturer. Do not add a generator to these systems without reading the manufacturer's documentation or asking the installer.
Can the generator be placed on an upstairs balcony?
Only if it is genuinely an open, well-ventilated outdoor space, away from doors and windows, where exhaust fumes cannot blow back into the house. Balconies enclosed with glass or tight mesh, or with a low roof, are not acceptable. If in doubt, choose another spot.
Practice exercises
Exercise 1 – Load calculation: A house needs to run the following during a power cut: 6 LED bulbs at 10 W, 2 fans at 50 W, 1 fridge at 150 W, 1 water pump at 750 W, and wifi and chargers at 30 W. Calculate the total running power and the approximate current at 230 V, and comment on choosing a 3 kVA versus a 5 kVA generator, taking the pump's starting current into account.
Pass criteria:
Correctly calculate the total running power (1,090 W) and the approximate current (about 4.7 A, taking the power factor as 1 for simplicity).
State that the starting current of the pump and fridge is the deciding factor, not just the total running power.
Propose a sensible order for switching on loads.
Exercise 2 – Draw the diagram: Draw a single-line diagram for a single-phase house with a 40 A main breaker, a 5 kVA generator, a 2-pole 1–0–2 changeover switch, and a distribution board with an RCBO for each circuit. Clearly mark the rated current of the changeover switch, the generator breaker, the cable sizes (guideline) and the route of the PE wire.
Pass criteria:
The changeover switch is placed after the main breaker and before the distribution board, with a rated current ≥ 40 A.
The two sources go to separate terminals; N is not joined upstream of the changeover switch.
PE does not pass through the changeover switch.
Exercise 3 – Testing on a model: On a practice bench (using a safe supply prepared by the instructor), install a 2-pole changeover switch with two inputs and one output. Test continuity in all 3 positions and record the results in a table. The instructor then miswires one terminal, and the trainee must find the fault by measurement.
Pass criteria:
The table covers all 3 positions with correct results.
The miswiring is found, and the trainee can explain how it would cause backfeed.
Work follows the safety rules: isolate the supply and verify it is dead before touching the terminals.






