100%
home-energy-monitoring home energy monitor view
Description

Imported from GitHub: bytesizedengineering/home-energy-monitoring · commit c2a2ea7 · license GPL-3.0

Description

Whole-Home Energy Monitoring System

README

Whole-Home Energy Monitoring System

Project Image
A DIY, ESP32-based energy monitoring system that tracks up to 9 circuits using CT clamps and integrates seamlessly with Home Assistant.

🚀 Overview

This project provides a cost-effective way to monitor real-time electricity usage across multiple circuits in your home. By using non-invasive Current Transformer (CT) clamps, the system measures magnetic induction to calculate amperage without cutting into your home's wiring.

This project was featured on the DigiKey YouTube channel in this video.

📂 Repository Structure

📁 mechanical design/   # 3D printable enclosure files (STLs, STEP)
📁 electrical design/   # KiCad PCB files for the stackable 3-channel CT board
📁 firmware/            # ESPHome YAML configuration files
📁 docs/                # Documentation

🏗️ Build Instructions

🔌 Electronics

The hardware is built around a stackable PCB design that can scale up to nine individual channels.

  • Microcontroller: Seeed Studio XIAO ESP32-S3.
  • Sensors: SCT-013-000 Current Transformer (CT) clamps.
  • PCB Fabrication: The board uses 3.5mm TRS audio jacks for sensor connections.

💾 Firmware Upload

The system uses ESPHome for easy integration with Home Assistant.

  1. Install the ESPHome dashboard.
  2. Connect your XIAO ESP32-S3 via USB-C.
  3. Add a new ESPHome device, and create a New Device Setup yaml file. This will create entries for api, wifi, and ota. Make sure you've already setup a SECRETS file to store your wifi credentials.
  4. Open the provided .yaml configuration in the firmware/ folder. Copy everything starting with captive portal: and paste into the yaml created in the previous step. This ensures your device has a new and unique api and ota entries. Don't use the ones included in the yaml file
  5. Click install to compile a binary. Save the binary locally and use ESPHome web to flash the device. After this first flash, the device can be updated over the air (OTA) wirelessly.
  6. Add the device to your Home Assistant instance via the Integrations page.

🛒 Bill of Materials (BOM)

PartDescriptionPurchase Link
MicrocontrollerSeeed Studio XIAO ESP32-S3DigiKey
CT ClampsSCT-013-000 (100A/50mA)DigiKey
Burden Resistor20 Ohm (for 3.3V ADC compatibility)DigiKey
Voltage Divider100K Ohm Resistors (x2 per channel)DigiKey
Filter Capacitor10uF Electrolytic CapacitorDigiKey
Connectors3.5mm TRS Audio Jacks (PCB Mount)DigiKey

🎥 Video & More Info

📺 Watch the full build and calibration process: YouTube Video
📄 Read the technical breakdown: Article on Maker.io

[!CAUTION] Safety Warning: This project involves installing sensors inside a main utility panel. This should only be performed by individuals comfortable working around high voltage or a licensed electrician.

📝 License

This project is licensed under the GNU General Public License v3.0.

❤️ Support

Comments
Sign in to comment

No comments yet. Be the first to ask about this board.