Screenshots From the README of dominikamann/ha-machine-learning-based-pv-forecast.
About
Home Assistant PV forecast that learns from your own history – no tilt, azimuth or kWp needed. Per plant and total, 30 min to 72 h, Energy dashboard and evcc.
Description from dominikamann/ha-machine-learning-based-pv-forecast
Shows in Vulpo
Chart card, Apple Watch.Installs over time
#1,643 of 1,684 Marketplace integrations, up 30 places in 30 days. Installs sharing analytics.
Supports
- Uses the vendor's cloudNeeds an internet connection and an account with the vendor.
- From the MarketplaceInstalled through the Marketplace, formerly HACS.
- Actively maintainedIts author released or pushed a change in the last six months.
Provides
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Machine-Learning-Based PV Forecast
- Provide a forecast endpoint for evcc
After setup
- Provide a forecast endpoint for evcc
- Test model variants and pick the best one automaticallyTrains four variants every week (standard, with extra weather inputs, with a short memory, both) and runs the one that is clearly best for this plant. Off: standard only, training is faster.
Texts from the code of dominikamann/ha-machine-learning-based-pv-forecast.
Entities
- SensorsNext 30 minutes, Next hour, Next 6 hours, Today, Today remaining, Tomorrow, Day after tomorrow, Peak power today, Peak power tomorrow, Forecast curve, Forecast error 30 minutes, Forecast error 1 hour, and 9 more
Actions
- RetrainTrain the forecast model now instead of waiting for the weekly training.
- Plant
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
- Repair noticesNotices it can show in Settings, Repairs:Open-Meteo unreachable
From the README
A PV forecast for Home Assistant that learns from your own history: no tilt, no azimuth, no kWp, no API key.
You pick the sensors your PV plants already have. The integration reads their history from the Home Assistant recorder, combines it with weather data from Open-Meteo and trains one model per plant. Panels in several directions on one inverter, shading by trees or the neighbour's roof, a balcony plant: the model learns what your plant actually does instead of what a datasheet says it should do.
- Forecasts for the next 30 minutes, next hour, next 6 hours, today, today remaining, tomorrow and the day after tomorrow, plus a 72-hour hourly curve
- Energy forecasts as P10 / P50 / P90 (pessimistic, expected, optimistic)
- Per plant and in total
- Short-term correction from live production: if a cloud passes right now, the next minutes follow it; if the whole day so far has come in above or below the forecast, the next hours lean that way too…
- Learns from its own mistakes: every issued forecast is archived and compared with what really happened; a correction layer and the weekly retraining use those errors, and a new model only replaces…
- Four model variants, the best one per plant chosen automatically: with or without extra weather inputs (humidity, dew point, rain, wind, visibility), with a long or a short memory
- Forecast in the Energy dashboard (how)
- Endpoint for evcc
- Forecast error sensors per horizon, so you can watch the model improve
Information
- Installs
- 52 sharing analytics
- GitHub stars
- 12
- Connection
- Uses the vendor's cloud
- Upkeep
- Updated in the last 6 months
- Version
- v0.9.9,
- Category
- Energy, Solar and batteries
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
ml_pv_forecast- Issues
- Report an issue
You might also like
Try it with your own Home Assistant.

- Free to download
- iPhone, iPad, Mac and Apple Watch
- 40+ native card types
- Connects to your own Home Assistant















