Creating a DIY energy monitor for the home
CostLow to Medium
Includes: CT sensor, ESP32, free EmonCMS account, or a full EmonPi kit. Example: A full EmonPi kit costs €95.
What it is
Standby power, the trickle drawn by devices that are technically off, accounts for around 10% of the average household's electricity. Most people have no idea which gadgets are the culprits, and a DIY energy monitor is the cheapest way to find out and fix it.
A DIY home energy monitor measures real-time electricity use for your whole home or individual circuits, using a current-transformer sensor that clips around a wire, an analogue-to-digital converter, and a microcontroller like an ESP32 to calculate consumption and push it to a dashboard. Understanding what your home actually draws is one of the most effective first steps toward cutting it. Fitting a monitor typically reveals two to four surprising heavy consumers that, once managed, deliver 10 to 20% overall savings, which is real money on a bill.
The beginner-safe approach uses a clip-on CT sensor such as the YHDC SCT-013, which needs no direct electrical contact at all. It simply clips around the live wire and senses the magnetic field, so the sensor itself is safe even though the surrounding consumer unit is not. Connect it to an ESP32, which reads the sensor and posts power figures over Wi-Fi every few seconds to EmonCMS, a free open-source dashboard you can host locally on a Raspberry Pi to keep all the data private. The one firm safety rule: any work inside the consumer unit happens with the main breaker off and verified dead with a non-contact tester, and if that prospect worries you, have an electrician clip the sensor in place.
How it works
Know before you start that all the work near the consumer unit happens with the main breaker off and verified dead with a non-contact voltage tester, because that is the one part of this project carrying genuine danger. The sensor itself is safe: a clip-on current transformer like the YHDC SCT-013 simply clips around the outside of the live wire and reads its magnetic field without any electrical contact at all. The risk lives in the surrounding terminals, not the sensor.
With the breaker off, clip the CT sensor around the live tail or a circuit you want to monitor, route its lead out, and connect it to an ESP32, which has the analog input to read the sensor and Wi-Fi to report. The ESP32 calculates RMS current and power, then posts readings every few seconds over Wi-Fi to EmonCMS, the free open-source dashboard, which charts real-time and historical consumption. Running EmonCMS locally on a Raspberry Pi keeps all your energy data private rather than in the cloud.
Calibration is what turns rough numbers into trustworthy ones. The CT sensor needs a calibration constant matched to its ratio, and EmonCMS has tools for this; feed a known load, a 2kW kettle is ideal because you know its draw, and adjust the constant until the reading matches. A well-calibrated setup lands within one to two percent.
What actually happens once it is running is you discover two or three surprise consumers, often standby loads drawing 50 to 150W around the clock, and managing those is where the 10 to 20% savings come from.
Benefits
What you need
Here's what to gather before you start. The essentials are marked.
Some links below are affiliate links. As an Amazon Associate, trylii.com earns from qualifying purchases, at no extra cost to you.
FAQs
How much electricity your home is using, in real time and over time. The eye-opening part is seeing which appliances are the quiet villains: the always-on devices, the old fridge, the immersion heater. Once you can see consumption live, you start spotting waste you never knew existed. That visibility is the whole point, and it usually changes behaviour faster than any energy-saving advice.
A clamp sensor (a CT clamp) around the main incoming cable. The clamp reads the magnetic field from the current flowing through the wire, so it measures usage without any direct electrical connection to the mains conductor. It clips around the cable inside or near your consumer unit. You are not cutting or stripping any live wire, which keeps the build far safer than it sounds.
A CT clamp sensor, an ESP32 or similar microcontroller, and a small circuit to condition the signal. The popular route is an ESP32 running ESPHome or a dedicated firmware, feeding readings into Home Assistant for graphs and history. A ready-made board like an emonPi exists if you want less wiring. Total cost for a DIY build is around €30 to €60 depending on how many circuits you monitor.
The clamp itself is non-invasive, but the consumer unit is a serious place. The CT clamp clips around the insulated cable without touching live metal, which is the safe part. The risk is the environment: working near or inside a consumer unit means live busbars are present. If you are at all unsure, have an electrician fit the clamp, then connect your harmless low-voltage monitoring side yourself afterward.
Indirectly, yes, by changing what you do. The monitor saves nothing on its own; the savings come from spotting and fixing the waste it reveals. People typically find a forgotten always-on device, shift heavy usage to cheaper tariff hours, or finally replace an inefficient appliance once they see its real cost. The payback is real but depends entirely on acting on what the data shows you.
⚠️ A CT clamp fits around insulated cable safely, but the area inside and around a consumer unit contains live conductors. If you are not confident working there, have a qualified electrician position the clamp.