Hello Home Assistant community!
I’m excited to share a custom integration I’ve developed for monitoring national energy production data from Energy-Charts (Fraunhofer ISE). It provides real-time insights into how your country generates electricity.
Why I created this
I wanted to track Germany’s renewable energy share and understand when clean energy production is high. This helps optimize when to run energy-intensive appliances and provides fascinating insights into the ongoing energy transition.
Most importantly, this data is completely free and public - no API keys required!
Key Features
- Real-time energy production data (updated every 15 minutes)
- Individual sensors for each energy source (solar, wind, hydro, nuclear, fossil fuels, etc.)
- Aggregated sensors (total production, renewable share %, fossil total)
- Support for multiple European countries (DE, AT, CH, FR, NL, BE, PL, CZ)
- Historical data available as sensor attributes
Available Sensors
The integration creates sensors like:
sensor.energy_charts_de_solar_total- Total solar productionsensor.energy_charts_de_wind_total- Combined wind (onshore + offshore)sensor.energy_charts_de_renewable_share- Percentage of renewable energy (0-100%)sensor.energy_charts_de_total_production- Total energy productionsensor.energy_charts_de_fossil_production- All fossil fuels combined- And many more individual sources…
All sensors report power in MW (Megawatts) with rich attributes including source names, colors, and categories.
Example Use Cases
- Start dishwasher/laundry when renewable share is high
- Get notifications when your country runs on >80% renewables
- Track long-term renewable energy trends
- Create educational dashboards about energy production
Installation
Available through HACS - add as custom repository:
https://github.com/Philra94/homeassistant-energy-charts
Configuration is done through the UI - just select your country and which sensor types you want to enable.
Example Dashboard
yaml
type: gauge
entity: sensor.energy_charts_de_renewable_share
name: Renewable Energy Share
unit: "%"
min: 0
max: 100
severity:
green: 60
yellow: 40
red: 0
Current Status
This is the first public release. All core functionality is working well, including data fetching and sensor creation. The integration uses the public Energy-Charts API which is maintained by Fraunhofer ISE.
Important Note
This is an unofficial, community-developed integration. It is not affiliated with or endorsed by Fraunhofer ISE or Energy-Charts. The code was developed with AI assistance (Claude).
Contributions Welcome
I welcome any feedback, bug reports, or contributions. If you’re interested in energy data and want to help improve the integration, please check out the repository!
Happy monitoring! ![]()
![]()