Hi everyone,
I’m Thomas, and I’ve been experimenting with using AI to forecast electricity prices in Germany. Most people don’t realize that the share of renewable energy in the grid varies a lot depending on the weather, time of day, and overall demand.
Currently, many services only provide forecasts for the next 24 hours. I’ve developed a prototype algorithm that combines German Weather Service (DWD) data with EPEX Spot market prices to predict hourly electricity prices up to 5 days in advance. This gives a much better view of when renewable energy is abundant in the grid.
Homepage/ Small Frontend: https://greencharge-guide.lovable.app/
The forecast data is already publicly available as a JSON file, which could easily be used in automation systems or apps:
[
{ "timestamp": "2025-10-19-00", "strompreis_cent": 8.44 },
{ "timestamp": "2025-10-19-01", "strompreis_cent": 8.28 },
{ "timestamp": "2025-10-19-02", "strompreis_cent": 8.28 }
]
Each entry contains the hourly timestamp and the predicted electricity price in Euro cents per kWh. Lower or negative prices indicate periods when renewable energy is dominating the supply.
Would anyone else find a Germany-wide, 5-day electricity price forecast API useful for their home automation setups?
If so, please vote for this feature so we can see it happen!
Thanks,
Thomas