If your electricity meter has no usable data port and no pulse LED you can reach, current transformers (CTs) are the usual way to see what the whole house draws. You clip them around the supply conductors in the distribution board, feed their output to a meter module or an ESP32 board, and get current, power and energy for each phase.
The clamps themselves are simple. Most of the problems come from three places: picking a clamp that does not suit the input it is connected to, measuring current without a voltage reference and expecting real power, and putting a clamp on the wrong phase or the wrong way round.
Opening a distribution board is electrical work. Where the rules require it, have a qualified electrician fit the clamps and any mains connections, and keep the checks and configuration for yourself.
How a CT clamp works
A current transformer measures alternating current. The conductor that passes through the clamp is the primary winding, and the clamp holds a secondary winding with many turns of fine wire. The current in the secondary is the primary current divided by the turns ratio. The YHDC SCT-013-000, the clamp OpenEnergyMonitor recommends for its projects, has 2000 secondary turns, so 100 A in the conductor gives 50 mA at the output.
Two physical versions exist:
- Split-core clamps open and close around a conductor that is already installed. This is what you want in an existing board.
- Solid-core (ring) CTs are a closed ring. The conductor has to be disconnected and threaded through.
The clamp must go around one conductor only. If you put it around a two-core or three-core cable, the outgoing and returning currents cancel and the reading stays near zero. OpenEnergyMonitor adds two practical warnings: the ferrite core in split-core clamps such as the YHDC ones is brittle, so never force one shut with packing material around a thin wire, and the position of the wire inside the opening does not affect the reading, so there is no need to centre it.
Current output or voltage output
This is the first thing to check, because it decides how the clamp connects to your electronics.
Current-output CTs such as the SCT-013-000 deliver a small current. To turn it into a voltage that an ADC can read, you need a burden resistor across the output. A current-output CT must also never be left open-circuited while the conductor carries current: the secondary tries to keep driving current into an open circuit and can produce a high, dangerous voltage. The SCT-013-000 has protective Zener diodes, but treat that as a safety net, not permission. Plug the CT into its input before you clip it on, and unclip it before you unplug it.
Voltage-output CTs, for example the SCT-013-030 (30 A / 1 V) and SCT-013-050 (50 A / 1 V), have the burden resistor built in and give a voltage directly. They cannot be open-circuited in the dangerous sense, but they must not get a second burden resistor on the board.
This matters with ready-made boards. The CircuitSetup 6-channel ESP32 energy meter, for instance, has a 22 Ω burden resistor on each current channel. Its documentation says the company's mA-output clamps (SCT-006, SCT-010, SCT-013-000, SCT-016, SCT-024) work as they are, while 1 V output clamps need the matching jumper trace on the back of the board cut for each channel that uses them.
Sizing a burden resistor yourself
If you build the input circuit yourself, OpenEnergyMonitor's method is straightforward:
- Pick the maximum current you want to measure, for example 100 A RMS.
- Convert it to peak: 100 A × 1.414 = 141.4 A.
- Divide by the number of turns: 141.4 A / 2000 = 0.0707 A peak in the secondary.
- Aim for a peak voltage across the burden of half the ADC reference. With a 3.3 V reference that is 1.65 V, so the ideal resistor is 1.65 V / 0.0707 A ≈ 23.3 Ω.
Round down to the nearest standard value, here 22 Ω, so the peak current cannot push the input above the reference. That is the value OpenEnergyMonitor uses on the main CT inputs of its 3.3 V emonTx V3. Because the CT output swings both ways around zero, the circuit also needs a DC bias at half the supply voltage, made with two resistors and a capacitor.
Picking the rating and size
Choose a clamp whose rating covers the largest current the conductor can carry and whose opening fits the cable. CircuitSetup's list shows how these go together: SCT-006 is 20 A with a 6 mm opening, SCT-010 is 80 A with 10 mm, SCT-013-000 is 100 A with 13 mm, SCT-016 is 120 A with 16 mm and SCT-024 is 200 A with 24 mm.
Do not oversize without reason, because accuracy drops at the bottom of the range. Shelly states the accuracy of the Pro 3EM ammeters as ±1% from 2 to 120 A, ±2% from 1 to 2 A and ±5% below 1 A, which gives an idea of what to expect at night, when only a router and a fridge are running.
Current alone is not power
An ESP32 with a CT clamp and nothing else measures current. ESPHome's ct_clamp sensor does exactly that: it takes readings from an ADC, calculates the RMS current over a sampling window (200 ms by default, which is 10 full cycles at 50 Hz) and needs calibration against a known load through the calibrate_linear filter. Multiplying that current by a fixed 230 V gives apparent power at best, and only approximately.
For real power, the figure you are billed for, the monitor has to sample the voltage waveform at the same time as the current and average the instantaneous product. OpenEnergyMonitor explains why: a fridge motor or a laptop power supply does not draw current in step with the voltage, so the real power is lower than voltage × current. The ratio between the two is the power factor.
The voltage waveform also gives you the direction. Current alternates 50 times a second, so its sign means nothing on its own. Compared with the voltage it does: when the house exports power from solar panels, current is negative while voltage is positive, and the calculated power becomes negative.
There are two common ways to get that reference:
- An AC-AC adapter, a small plug-in transformer that outputs low-voltage AC. It isolates the electronics from the mains, and it plugs into an ordinary socket. CircuitSetup recommends a native 230 V to 9 V AC or 12 V AC adapter rated for at least 500 mA in Europe. OpenEnergyMonitor notes that a 9 V adapter running almost unloaded often outputs 10-12 V RMS, so the input divider must leave headroom, and the reading must be calibrated.
- A DIN-rail meter that connects to the phases directly, such as the Shelly Pro 3EM, which has terminals for three phases and neutral and measures voltage internally.
Boards built on metering chips do the maths in hardware. The ATM90E32 used in CircuitSetup meters reports, through ESPHome's atm90e32 component, active, reactive and apparent power, power factor and separate forward and reverse active energy per channel. Reverse energy is the export counter you need for solar.
Getting the direction right
Clamps are marked with an arrow or with the letters K and L. Shelly's convention is that on a clamp measuring the grid supply, K faces the network and L faces the house, which means the arrow points from the supply towards the loads. Installed that way, power drawn from the grid reads positive.
Check each clamp with a known load rather than trusting the label:
- Wait until solar panels are not producing, so export does not confuse the test.
- Switch on a kettle or heater on a circuit you know.
- Watch the channel that should see it. Power should rise by roughly the appliance's rating, as a positive number.
- If it falls by about the same amount instead, the clamp is reversed.
You can turn the clamp around, or fix it in software where the meter allows it. The Shelly Pro 3EM web interface has a "Reverse CT measurement direction" option in its energy meter settings, set per phase. On a DIY board, a multiply: -1 filter on the power sensor does the same job, but write down what you did so nobody "fixes" the clamp later and doubles the error.
Three-phase: each clamp on its own phase
In a three-phase supply the monitor calculates each phase's power from a pair: the voltage of that phase and the current of the clamp assigned to it. If clamp A sits on phase B, the current still looks correct, but the power is nonsense, because the voltage and current being multiplied are 120° apart. An answer on the OpenEnergyMonitor forum works it out for a purely resistive load: with a voltage reference from the wrong phase, the calculated real power comes out at exactly -0.5 times the correct value. That is why a crossed clamp often shows up as a phase that reads negative, or much too low, while the meter otherwise seems to work.
Meters that measure all three voltages make this easier to catch. The Shelly Pro 3EM has an optional phase sequence check: it watches the voltage zero crossings and reports an error if the order is A-C-B instead of A-B-C. Its phase C terminal also powers the device, so a dead meter with live phases A and B points to that terminal first.
Cheaper monitors often use a single AC-AC adapter on one phase and derive the other two references by shifting the measured waveform by 120° and 240°. IoTaWatt calls this a derived reference and says it is the overwhelming choice of residential three-phase users. OpenEnergyMonitor's three-phase emonTx firmware does the same and lists the limits: the phase with the adapter is measured properly, while the other two assume equal voltages exactly 120° apart, so voltage imbalance and changes in mains frequency show up as errors on those phases. The phase rotation must also match the order the firmware expects. For monitoring this is usually good enough; OpenEnergyMonitor says plainly that it is not accurate enough for billing.
Choosing a setup
- A ready-made DIN-rail meter (Shelly Pro 3EM and similar) is the quickest route to correct three-phase readings with direction. It measures each phase's voltage, comes with matched 120 A clamps and can be read locally over MQTT, HTTP or WebSocket.
- A metering-chip board on an ESP32 (CircuitSetup and similar) suits monitoring many circuits. The CircuitSetup main board has six current channels and one voltage input, and add-on boards take it up to 42 current channels. You choose and calibrate the clamps yourself and need a correct voltage reference for each phase.
- A bare ESP32 ADC with
ct_clampis fine for "is the heat pump running" or rough current trends. It is not a whole-home energy meter, because it has no voltage reference and no direction.
Common mistakes
- Unplugging a current-output CT while it is on a live conductor. Plug it in before clamping and unclip it before unplugging.
- Two burden resistors. A voltage-output CT on an input that already has one reads far too low.
- Expecting export readings from current alone. Without a voltage reference, a monitor cannot tell import from export.
- Clamps on the wrong phase. Current looks correct, power does not. Test each phase with a known load.
- Calibrating on a nearly empty house. Calibration needs a stable, substantial load. Shelly requires at least 500 W per channel for its channel-to-channel calibration.
- Wondering why energy stops counting at night. The Shelly Pro 3EM still shows power below 30 VA per channel, but does not add it to the energy statistics and shows a "No load threshold" notice.