Multi-Circuit Non-Invasive Energy Monitor with ESP32-S3 and ESPHome

A non-invasive 6-circuit household electricity monitor using an ESP32-S3 and SCT-013 current clamps, calculating active power via dynamic grid voltage import from Home Assistant.

Illustration for: Multi-Circuit Non-Invasive Energy Monitor with ESP32-S3 and ESPHome
AI-generated illustration
WorkingIntermediateFor: maker

About this project

This project monitors multiple household electrical circuits without modifying main distribution panels by utilizing split-core current transformer clamps connected to an ESP32-S3 microcontroller running ESPHome. A shared DC bias circuit shifts alternating current signals into the measurable range of the analog-to-digital converter. Rather than relying on a static voltage estimate, the firmware dynamically imports real-time mains voltage from smart plugs over the Home Assistant API to compute accurate apparent power. The implementation includes noise-floor filtering to eliminate phantom readings on idle circuits, energy integration via Riemann sum, and bimonthly utility tracking, providing homelab users with a comprehensive electrical dashboard.

What you need

  • ESP32-S3 development board
  • SCT-013-030 current transformer clamps
  • Resistors (10k ohm)
  • Electrolytic capacitors (10uF)
  • 3.5mm audio jacks or breakout terminals
  • Prototyping board or breadboard
  • Home Assistant server

Highlights

  • Uses a shared 1.65V DC midpoint bias circuit allowing the ESP32-S3 ADC to read AC waveforms from six current clamps.
  • Dynamically imports live mains voltage from smart plugs into ESPHome via lambda to calculate apparent power.
  • Applies noise-floor thresholding and converts NaN readings to zero for idle circuits.

Built with

ESP32-S3ESPHomeHome AssistantSCT-013