Skip to content

jeremyDevios/energyMonitorESPHome

Repository files navigation

Energy Monitor ESPHome

Description

This project uses an ESP32 with a round display to show real-time household power consumption (in Watts), solar panel production, and battery status, with data retrieved from Home Assistant. The ESP32 is wall-mounted, allowing anyone to check energy metrics at a glance.

Originally, the interface featured animated robot eyes (V1). It has since been redesigned (V2) to focus entirely on precision energy metrics using circular Gauges for Solar, Grid, and Battery levels, centered around the current time.

Hardware Needed

  • Microcontroller: ESP32-C3 round display (model esp32-2424s012)
  • Display: Integrated 1.28-inch GC9A01A round LCD (240x240 pixels)
  • Smart Home Platform: A running instance of Home Assistant to provide the sensor data (Consumption, Solar Production, Battery).

Installation & Compilation

  1. Install ESPHome: Ensure you have ESPHome installed on your computer or as a Home Assistant add-on.

    pip install esphome
  2. Secrets Configuration: Create a secrets.yaml file in the root folder with your WiFi credentials, Home Assistant API details, and Fallback AP settings:

    wifi_ssid: "YOUR_WIFI_SSID"
    wifi_password: "YOUR_WIFI_PASSWORD"
    api_key: "YOUR_API_KEY" # Generate one: openssl rand -base64 32
  3. Compile and Upload: Connect your ESP32-C3 to your computer via USB. Run the following command in the project directory to compile and flash the firmware:

    esphome run energyMonitorESPHOME-esp32-2424s012.yaml

Prototype & Final Results

Version 2 (Current)

This version displays 3 concurrent energy gauges showing values for Grid, Solar, and Battery, updating dynamically in real-time.

Prototype V2: Prototype V2

Final Result V2: Final Result V2-1 Final Result V2-2


Version 1 (Legacy "Robot Eyes")

The original interface featured animated robot eyes expressing emotions based on current energy consumption patterns (Happy for low/negative consumption, upset for high consumption).

Prototype V1: Prototype V1

Blink Animation:
Blink Animation

Value Animation:
Value Animation

Legal Notice

This project is provided as an open-source example and is not affiliated with any commercial brand.
Use of the hardware, images, or code is at your own risk.
All trademarks and logos mentioned belong to their respective owners.
No personal data is collected by this project.
For any questions or content removal requests, please contact the repository author.

About

A smart ESP32-based round display that visualizes real-time household power consumption and solar production from Home Assistant, featuring animated robot eyes for engaging feedback.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages