evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Forecast.Solar in EVCC

Open hno2fe opened this issue 3 months ago • 7 comments

Describe the bug

About the system: I have the EVCC instance running in Home Assistant (on Proxmox).

The integration of Forecast.Solar also runs on Home Assistant In addition, this is also stored in EVCC in such a way that

The problem now is that I have created 2 different roof areas Dormer 150° tilt 26° with 4150 W & Covered 150° tilt 45° with 6640 W

It could be that there is only 1 roof area in the forecast. Forecast in Homassaiatnt for August 13, 2026 is A total of 54.7 kWh is created from the roof 33.2 kWh dormer 21.4 kWh

Prediction in EVCC for tomorrow is only 31.4 kWh Do I have to adjust something separately somewhere if I have two roof surfaces?

Zum System: Ich habe im Home Assitant ( auf Proxmox) die EVCC Instanz am laufen

Auf Home Assistant lauft auch die Integrartion von Forecast.Solar
Zusätzlich ist diese auch in EVCC so hinterlegt ,

Das Problem ist nun dass ich 2 unterscheidliche Dachflächen angelegt habe Gaube 150° Neigung 26° mit 4150 W & Dacht 150° Neigung 45° mit 6640 W

Kann es sein dass in der Vorhersage nur 1 Dachfläche kommt . Vorhersage in Homassaiatnt für 13.08.2026 ist Gesamt 54,7 kWh ensteht aus Dach 33,2 kWh Gaube 21,4kWh

Vorhersage in EVCC für Morgen ist nur 31,4 kWh Muss ich bei 2 Dachflächen irgenwo etwas gesondert einstellen ?

Steps to reproduce

...

Configuration details

Version	
v0.313.2aktuelle Version
Release	stable
Website	evcc.io

Log details

no Report

What type of operating system or environment does evcc run on?

HomeAssistant Add-on

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

 v0.313.2

hno2fe avatar Aug 12 '26 12:08 hno2fe

Thanks for the report. evcc's forecast.solar template (templates/definition/tariff/forecast-solar.yaml) only queries a single plane (one lat/lon/dec/az/kwp combination), so one configured Forecast.Solar device only covers one roof area — that would explain why the EVCC total is lower than what Home Assistant reports for both planes combined.

However, evcc does support multiple solar forecast sources: in the "Solar forecast" section under Settings you can add a second Forecast.Solar device for your second roof plane ("Solar can have multiple" — see assets/js/views/Config.vue), and evcc sums their forecasts internally (tariff.NewCombined, cmd/setup.go).

Could you confirm:

  • How many Forecast.Solar devices are currently configured under Settings → Solar forecast — just one, or two (one per roof plane)?
  • If possible, share your tariffs.solar / solar-forecast configuration (YAML or a screenshot of the Settings → Solar forecast list).

This looks like a configuration question rather than a software defect, so I won't label it a bug for now — happy to revisit if you confirm two devices are configured and the numbers still don't add up.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 12 '26 12:08 github-actions[bot]

First of all, thank you very much for the quick answer I have configured two

Image Image Image

in Home Assistant the Same

Image

hno2fe avatar Aug 12 '26 12:08 hno2fe

Thanks for the screenshots. I can't read image content in this automated workflow, so I wasn't able to inspect the configured values from them — could you share the actual configuration as text instead?

I re-checked the relevant code (tariff/combined.go, cmd/setup.go's configureSolarTariffs): when two solar-forecast devices are referenced, evcc sums their rates per timestamp (lo.PartitionBy + lo.SumBy in tariff/combined.go), so the combination logic itself looks correct — if two devices are truly active and both return data, the totals should add up.

To pin down where the missing ~23 kWh/day goes, could you provide:

  • The exact values entered for each of the two Forecast.Solar devices — in particular kwp (this must be in kWp, e.g. 4.15/6.64, not Watts — if 4150/6640 was entered directly it would massively distort the forecast, not shrink it, but worth double-checking), plus lat/lon/dec/az.
  • Whether both devices show as configured without an error/warning icon in Settings → Solar forecast.
  • If possible, the raw output of each device's forecast — you can check this per-device in the UI (or via the /api/tariff/solar endpoint) rather than only the combined total, so we can see whether one of the two sources is returning 0/partial data.

Without this I can't confirm whether this is a software defect or a configuration issue, so I'm not marking it a bug for now.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 12 '26 12:08 github-actions[bot]

There are 2 entries 1, entry roof latitude 48.799668; Longitude 8.995959; Azimuth 150 ; inclination 45 ; Generator output 6.64 kWp

2, Entry Dormer Latitude 48.799668; Longitude 8.995959; Azimuth 150 ; inclination 26 ; Generator output 4.15 kWp

Es sind 2 Einträge 1, Eintrag Dach Breitengrad 48,799668; Längengrad 8,995959; Azimut 150 ; Neigung 45 ; Generatorleistung 6,64 kWp

2, Eintrag Gaube Breitengrad 48,799668; Längengrad 8,995959; Azimut 150 ; Neigung 26 ; Generatorleistung 4,15 kWp

hno2fe avatar Aug 12 '26 13:08 hno2fe

It could be that in the Forecast.Solar (Home Assistant) the azimuth orientation of the PV modules is 360 degrees 0 = north, 90 = east, 180 = south, 270 = west and in EVCC the azimuth orientation of the PV modules in degrees. -180 = North, -90 = East, 0 = South, 90 = West, 180 = North are not compatible?

Kann es sein dass in der Forecast.Solar (Home Assistant) die Azimut Ausrichtung der PV-Module in 360 Grad 0 = Norden, 90 = Osten, 180 = Süden, 270 = West
und in EVCC die Azimut Ausrichtung der PV-Module in Grad. -180 = Norden, -90 = Osten, 0 = Süden, 90 = Westen, 180 = Norden nicht kompatibel sind ?

hno2fe avatar Aug 12 '26 14:08 hno2fe

My Solaredge system says Azimut 150, which is also what I have in Home Assitant's Forecast.Solar Intregartion.

But in your system I have to enter azimuth -30.

This depends on the following points: North system (geodesy/navigation): 0° = north 90° = East or West (depending on definition) 180° = south

South system (photovoltaics/astronomy): 0° = south (optimal orientation to the sun) East = negative values (e.g. -90°) West = positive values (e.g. +90°) North = ± 180°

Danke für die Hilfe

In meinem Solaredge System steht Azimut 150 drin so habe ich es auch bei Home Assitant in der Forecast.Solar Intregartion eingegen .

Bei euch im System muss ich aber Azimut -30 eingeben .

Das hängt von folgenden Punkten ab : Nord-System (Geodäsie/Navigation): 0° = Norden 90° = Osten oder Westen (je nach Definition) 180° = Süden

Süd-System (Photovoltaik/Astronomie): 0° = Süden (optimale Ausrichtung zur Sonne) Osten = negative Werte (z. B. -90°) Westen = positive Werte (z. B. +90°) Norden = ± 180°

Thanks for the help

hno2fe avatar Aug 12 '26 14:08 hno2fe

The EVCC forecast mismatch is expected if only one roof section is registered in EVCC's Forecast.Solar config. Check that both surfaces are entered independently in EVCC's site config with matching azimuth, tilt, and kWp values - HA and EVCC maintain separate Forecast.Solar configurations.

Alternatively, point EVCC at HA's aggregated Forecast.Solar sensor via the HA API instead of configuring Forecast.Solar directly in EVCC.

For a multi-roof setup with independent orientations, Volcast handles per-string forecasting natively - may be worth comparing accuracy alongside your current setup.

m-bartosiak avatar Aug 12 '26 21:08 m-bartosiak