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.
- 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).
-
Install ESPHome: Ensure you have ESPHome installed on your computer or as a Home Assistant add-on.
pip install esphome
-
Secrets Configuration: Create a
secrets.yamlfile 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
-
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
This version displays 3 concurrent energy gauges showing values for Grid, Solar, and Battery, updating dynamically in real-time.
The original interface featured animated robot eyes expressing emotions based on current energy consumption patterns (Happy for low/negative consumption, upset for high consumption).
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.





