BUG-TRACKER Solar Forecast ML

Super, danke für das Feedback.. dann mache ich mal auf meiner Liste " 9/11" einen Haken dran :slight_smile: :slight_smile:

Fehlermeldung im Log mit 54.0.2 (HAOS noch auf 10.4)

2026-11-05 23:49:11 - custom_components.solar_forecast_ml.data.db_manager - WARNING - Database stayed locked for 35.0s across 1 attempts: database is locked
2026-11-05 23:50:48 - custom_components.solar_forecast_ml.sensors.sensor_actual_sot - WARNING - SFML actual live-state refresh deferred for 1s: database is locked
2026-11-05 23:52:01 - custom_components.solar_forecast_ml.forecast.forecast_weather - INFO - Background forecast update task cancelled
2026-11-05 23:52:06 - custom_components.solar_forecast_ml.data.db_manager - WARNING - Database stayed locked for 35.0s across 1 attempts: database is locked
2026-11-05 23:52:06 - custom_components.solar_forecast_ml.data.data_operational_forecast_handler - WARNING - Operational reforecast settings unavailable (database is locked); keeping last known settings
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.data.db_manager - INFO - Database closed
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - Failed to load OperationalHybridForecastSensor: 'NoneType' object has no attribute 'execute'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - OPS day forecast unreadable, customer view uses regular rows: 'NoneType' object has no attribute 'execute'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - OPS day forecast unreadable, customer view uses regular rows: 'NoneType' object has no attribute 'execute'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - OPS day forecast unreadable, customer view uses regular rows: 'NoneType' object has no attribute 'execute'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - OPS day forecast unreadable, customer view uses regular rows: 'NoneType' object has no attribute 'execute'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - OPS day forecast unreadable, customer view uses regular rows: 'NoneType' object has no attribute 'execute'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - ConservativePlanningForecastSensor: failed to load forecast lock state: 'NoneType' object has no attribute 'execute'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_actual_sot - WARNING - SFML actual live-state refresh deferred for 2s: 'NoneType' object has no attribute 'in_transaction'
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.data.data_operational_forecast_handler - WARNING - Operational reforecast settings unavailable ('NoneType' object has no attribute 'execute'); keeping last known settings
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.data.data_operational_forecast_handler - WARNING - Operational reforecast settings unavailable ('NoneType' object has no attribute 'execute'); keeping last known settings
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.data.data_operational_forecast_handler - WARNING - Operational reforecast settings unavailable ('NoneType' object has no attribute 'execute'); keeping last known settings
2026-11-05 23:52:08 - custom_components.solar_forecast_ml.sensors.sensor_base - WARNING - Failed to load HybridForecastStatusSensor: 'NoneType' object has no attribute 'execute'

SFML 54.0.02 - Neueinrichtung:

Die erste Gruppe wird gespeichert. Gruppe 2-4 verschwinden im Nirvana, auch nach mehrmaligem wiedereingeben.

TFS meckert dann auch, weil Gruppe 2-4 nicht bestätigt ist.

Neustart auf HA 2026.10.4

Hallo Zara, hallo zusammen,

bei mir trifft die Prognose seit Wochen den Tagesertrag praktisch nicht, und die KI ist nach über 5 Wochen immer noch in der Lernphase. Vielleicht könnt ihr einschätzen, ob das normal ist oder ob bei mir etwas nicht stimmt.

System

  • Home Assistant 2026.11.0
  • Solar Forecast ML V54.0.2, nur SFML (ohne STATS, EAI, GPM, S-INV)
  • Standort: Nordwestmecklenburg (Ostseenähe)
  • Installiert am 02.10.2026, danach Updates auf V50 (13.10.), V52 (ca. 24.10.), V52.0.4 (31.10.), V54.0.2 (05.11.)

Anlage (Enpal, Hybrid-Wechselrichter 5 kW, Speicher 8,7 kWh brutto / 7,78 kWh nutzbar)

  • 16 Module, 5,4 kWp, keine Einspeisebegrenzung
  • Gruppe 1: 2,7 kWp, 45°, Azimut 200°, Sensor DC-Leistung String 2
  • Gruppe 2: 2,7 kWp, 25°, Azimut 200°, Sensor DC-Leistung String 1
  • Wechselrichter max. 5 kW eingetragen, Speicher aktiv (SOC + Solar-zu-Batterie-Sensor)
  • Pirate-Weather-Key aktiv, Wintermodus an
  • Daten kommen über die Enpal-Webparser-Integration

Tageswerte Prognose / Ist

Tag Prognose Ist
27.10. 16,6 6,9 kWh
28.10. 16,3 9,3 kWh
30.10. 12,0 2,9 kWh
03.11. 4,9 6,7 kWh
04.11. 12,3 7,9 kWh
05.11. 11,2 18,7 kWh
06.11. 12,4 1,8 kWh
07.11. 12,2 15,4 kWh
08.11. 11,6 3,6 kWh

Auffällig

  • Die Prognose liegt fast jeden Tag bei 11–14 kWh, der echte Ertrag schwankt zwischen 1,8 und 18,7 kWh. Trübe und sonnige Tage werden kaum unterschieden.
  • AI Status und AI Gate Status stehen seit Beginn auf „forecast_learning“.
  • System Status steht fast durchgehend auf „warning“ („The forecast is still updating. No action is required.“), nur direkt nach einem Neustart kurz „ok“.
  • Ø Genauigkeit 7 Tage: 54 %.
  • Anfang Oktober lag die Prognose eher zu niedrig, seit Ende Oktober meist deutlich zu hoch.

Bekannte Datenlücken

  • 01.11. ab ca. 12:40: String-Sensoren versehentlich deaktiviert, abends wieder aktiv
  • 02.11.: Enpal-Box nach Internetausfall mehrere Stunden offline

Fragen

  1. Ist es normal, dass die KI nach über 5 Wochen (mit Kalibrierungs-Neustart durch V50) noch nicht freigegeben ist?
  2. Woran kann es liegen, dass die Prognose kaum zwischen trüben und sonnigen Tagen unterscheidet?
  3. Ist der dauerhafte System Status „warning“ so gewollt?

Falls ihr weitere Daten braucht, liefere ich die gern nach.

Sorry wenn ich hier im falschen Post bin.

Vielen Dank und viele Grüße

Frank

Hallo @franksch50
Ich muss mir unbedingt deine DB und LOG ansehen um hier klare Hilfe zu geben und zu sehen was das Problem ist, ob zum Beispiel falsche Sensor-Werte in der DB gelandet sind, es ein anderes Problem gibt. Du hast PN!

Ich schaue es mir an, ob ich etwas finde das es erklären könnte. Sollte ich etwas zur Kontrolle von Dir brauchen, melde ich mich via PN.

Moin @Tom-HA , ist nicht mehr nötig.

Ich bin Deinem alten Rat befolgt und habe HA über Safari aufgerufen und nicht über die Mac HA App – jetzt geht’s.

Wollte Dir schon schreiben, dass ich keinen Fehler im Option-Flow gefunden habe!

Bei mir sind heute nach dem EOD sowohl bei meiner Produktiv-Instanz als auch beim Testsystem (der “Lehrling” aus dem Ergebnis-Sammelthread) die Schattendaten aus der Prognose in STATS und der Schatten-Karte verschwunden, gerade wo sie jetzt gepasst hätten.

Kann das daran liegen, dass es zu wenig stabil sonnige Tage gab und die Schatten daher verworfen wurden, oder ist das ein Effekt der Änderungen am Stack mit dem letzten Update?

Im Log des Produktivsystems steht seit gestern beim EOD folgendes:

2026-11-17 23:30:12 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [_system_] for 2026-11-17: No shadow detection data available
2026-11-17 23:30:12 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 1] for 2026-11-17: No shadow detection data available
2026-11-17 23:30:12 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 2] for 2026-11-17: No shadow detection data available
2026-11-17 23:30:12 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Sensorless shadow observation stand: evaluable=0/0, ready_bins=0/0; promotion_eligible=false

Vorher:

2026-11-15 23:30:13 - custom_components.solar_forecast_ml.data.data_shadow_pattern_learning - INFO - Shadow pattern learning for 2026-11-15 [_system_]: 6 hours, 1 patterns updated, 0 fixed obstructions
2026-11-15 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning SUCCESS [_system_] for 2026-11-15: 6 hours learned, 1 patterns updated, 0 fixed obstructions
2026-11-15 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 1] for 2026-11-15: No shadow detection data available
2026-11-15 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 2] for 2026-11-15: No shadow detection data available
2026-11-15 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Sensorless shadow observation stand: evaluable=355/2131, ready_bins=4/4; promotion_eligible=false

Beim “Lehrling” sieht es so aus:

2026-11-17 23:30:13 - custom_components.solar_forecast_ml.data.data_shadow_pattern_learning - INFO - Shadow pattern learning for 2026-11-17 [_system_]: 4 hours, 1 patterns updated, 0 fixed obstructions
2026-11-17 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning SUCCESS [_system_] for 2026-11-17: 4 hours learned, 1 patterns updated, 0 fixed obstructions
2026-11-17 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 1] for 2026-11-17: No shadow detection data available
2026-11-17 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 2] for 2026-11-17: No shadow detection data available
2026-11-17 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Sensorless shadow observation stand: evaluable=40/663, ready_bins=1/2; promotion_eligible=false

Auf der Karte sind die Schatten aber auch weg, so waren zuletzt identisch mit dem Produktivsystem.

Screenshot vergangener Donnerstag:

Screenshot jetzt:

Das schaue ich mir umgehend an!!!

Danke. Wenn du die DB brauchst, kann ich sie dir gerne schicken.

Hallo @Tom-HA,

wie versprochen ein Update nach ein paar Tagen mit V56 (aktuell V56.0.8, HA 2026.11.1).

Anlage (inzwischen nachgemessen, stimmt genau):

  • Gruppe 1: 2,7 kWp, 45°, Azimut 200°
  • Gruppe 2: 2,7 kWp, 25°, Azimut 200°
  • Hybrid-WR 5 kW, Speicher 7,78 kWh nutzbar, keine Einspeisebegrenzung

Was sich seit V56 verbessert hat:
Der Tagesverlauf passt jetzt viel besser, und an trüben bis gemischten Tagen trifft die Prognose gut:

  • 12.11.: 6,6 kWh Prognose / 5,8 kWh Ist
  • 15.11.: 10,4 kWh / 10,6 kWh – fast punktgenau, beide Gruppen 95–97 %

Was auffällt:
An klaren Sonnentagen liegt die Prognose seit V56 systematisch rund 40 % zu tief – und zwar auf beiden Gruppen gleichmäßig:

  • 13.11.: 8,05 kWh / 13,43 kWh
  • 14.11.: 8,04 kWh / 15,39 kWh (Gruppe 45°: 4,6 / 8,7 – Gruppe 25°: 3,5 / 6,6)

Der Verlauf über den Tag stimmt dabei, nur die Höhe ist etwa halbiert. Vor V56 war es eher umgekehrt: an trüben Hochnebel-Tagen deutlich zu hoch.

Sonstiges:

  • AI Status steht weiterhin auf „forecast_learning“.
  • STATS meldet seit dem Update gestern Abend mehrfach: „No weather data available from Solar Forecast ML“.

Screenshot der STATS-Wochenübersicht hänge ich an. Wenn du DB oder Log nochmal brauchst, schicke ich sie gern wieder.

Viele Grüße
Frank

Hi!

SFML läuft eigentlich ganz gut, nur seit einigen Tagen bekomme ich immer den Fehler “Training failed: Training worker timed out after 1800 seconds”
Was kann ich machen?

Log:

> 2026-11-17 23:30:03 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Night cleanup: VACUUM disabled (DB auto-optimizes)
> 2026-11-17 23:30:03 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - EOD training uses already persisted actuals
> 2026-11-17 23:30:06 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - AI training started: 2 outputs
> 2026-11-17 23:31:27 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Prepared 970 training samples from 60 days, 2 outputs
> 2026-11-17 23:31:27 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Panel-group training diagnostics: health=OK, samples=970, real_targets=970 (100.0%), direct_real_targets=970, residual_completed_targets=0, current_mixed_fallback=0, current_capacity_fallback=0, current_fallback_ratio=0.0%, legacy_topology_fallback=0, legacy_partial_fallback=0, legacy_fallback_ratio=0.0%, sum_mismatch_hours=0, partial_sum_exceeds_total_hours=0, range_rejections=0, topology_rejections=0, legacy_unknown_topology_rejections=0, invalid_value_rejections=0, training_range=2026-09-19..2026-11-17, current_fallback_range=none, legacy_fallback_range=none, affected_range=none
> 2026-11-17 23:31:31 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Training Ridge with 970 samples...
> 2026-11-17 23:31:53 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Ridge trained: R²=0.728, alpha=55.0000
> 2026-11-17 23:31:53 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Training LSTM with 970 samples...
> 2026-11-17 23:32:02 - custom_components.solar_forecast_ml.core.core_train_worker - INFO - Training worker: Training V3.0: 970 samples, 200 epochs, 2 outputs
> 2026-11-17 23:32:04 - custom_components.solar_forecast_ml.forecast.forecast_orchestrator - INFO - Forecast refresh (coordinator update) complete: today=1.58 kWh, tomorrow=2.77 kWh, day_after=3.10 kWh, method=AI + Physics
> 2026-11-17 23:48:19 - custom_components.solar_forecast_ml.core.core_train_worker - INFO - Training worker: Epoch 10: train=0.0041, val=0.0011, lr=0.004970
> 2026-11-18 00:00:01 - custom_components.solar_forecast_ml.production.production_tracker - INFO - Midnight reset - Final production time for previous day: 7.45 hours
> 2026-11-18 00:00:01 - custom_components.solar_forecast_ml.data.db_manager - INFO - Cleared conservative planning tracking fields: date=2026-11-18 reason=daily_peak_reset_date_rollover
> 2026-11-18 00:00:21 - custom_components.solar_forecast_ml.data.data_open_meteo_client - INFO - Open-Meteo refresh: 96 h (source=open-meteo:multi-model models=ecmwf_ifs025,icon_d2,icon_eu, ICON-D2 47 h, GHI 0–281 W/m²)
> 2026-11-18 00:01:55 - custom_components.solar_forecast_ml.core.core_train_worker - WARNING - Training worker subprocess timed out after 1800 seconds.
> 2026-11-18 00:01:55 - custom_components.solar_forecast_ml.ai.ai_predictor - ERROR - Training failed: Training worker timed out after 1800 seconds

System:

Home Assistant green
Home Assistant OS 2026.11.2 / 18.4
SFML 56.0.8

:crayon:by HarryP: Code-/Logzeilen formatiert (bitte immer in </> einbinden)
s.a.: (Neues Update & Features - Hier in der Community 🫶)

Hallo @andreasbe

der Fix ist schon im kommenden Update. Danke für deine Unterstützung und Meldung! - lieg im Kern an der HW

Heute beim EOD hat das Schattenlernen wieder geklappt, und die sensorless-Daten waren wieder da:

2026-11-18 23:30:13 - custom_components.solar_forecast_ml.data.data_shadow_pattern_learning - INFO - Shadow pattern learning for 2026-11-18 [_system_]: 6 hours, 0 patterns updated, 0 fixed obstructions
2026-11-18 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning SUCCESS [_system_] for 2026-11-18: 6 hours learned, 0 patterns updated, 0 fixed obstructions
2026-11-18 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 1] for 2026-11-18: No shadow detection data available
2026-11-18 23:30:13 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Shadow pattern learning skipped [Gruppe 2] for 2026-11-18: No shadow detection data available
2026-11-18 23:30:14 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - Sensorless shadow observation stand: evaluable=356/2182, ready_bins=4/4; promotion_eligible=false

Schattenkarte ist aber immer noch leer.

Hallo @michi84

Schatten kann es nur geben, wenn die Sonne auch “scheint”. Bei Bewölung ist der Anteil von Diffuss-Licht größer und Schatten fällt nicht ins Gewicht.
Auch ist Schattenwurf abhängig von der Sonnenhöhe / Jahrezeit. Daher ist es per se kein Fehler, ich behalte es im Auge - aktuell schaut es aber alles korrekt aus.

Hinweis: Schatten ist kein “fester Wert” sondern abhängig von der Bewölkung und gilt immer für die Prognose am aktuellen / morgigen Tag.

Lg

Zara

Es gab in den vergangenen Tagen recht viel Diffus-Licht, dann könnte es daran liegen.

Mit V60 wird bei mir in STATS beim GPM nur eine leere Seite angezeigt.
Beim ersten Laden der GPM-Seite erscheint ein Teil für 1-2 Sekunden:

Danach nur noch eine leere Seite:

Die Finanz-Ansicht lädt auch recht langsam.

Ist bekannt und wird umgehend gefixt. Kommt noch heute

Eine vermutete Akku-Abregelung kann ich mir nicht erklären und halte sie angesichts der Erträge in diesem Umfang auch für unwahrscheinlich.
Vor dem letzten Update (V 60) war dieses Verhalten nicht zu beobachten.