Hi,
ich habe heute, plötzlich auf System 1 einen extremen Ausschlag im Forecast (wie schon fälschlich drüben im Bugtracker gepostet).
Meine Vermutung ist, dass das eventuell mt einem HA Schluckauf Anfang Mai zusammen hängt, da war der Tages kwh-Zähler kurz bei 0 und wieder hoch, dadurch hab ich bis heute einen falschen “Rekord Tag”.
Auch dir Prognose für die nächsten Tage ist extrem überzogen.
Hier gehen maximal so um die 5,4kWh (DC)
Das muss irgendwie durch den Early Morning Forecast passiert sein.
Bisher hatte dieser “Hickup” keinerlei Auswirkungen, besonders mit den neuen Safeguards in SFMl hätte ich eher vermutet, dass das ignoriert wird.
Offenbar schlägt das aber plötzlich durch, oder hier ist was anderes faul…
@Tom-HA soll ich dir ggf. mal Logs und db sicken?
Im Log für gestern abend 23:30 hab ich nicht auffälliges gefunden, die Anomaly taucht erstmalig nach dem 0:20 wetter-lauf auf und die weiteren “Wetter-Läufe” hab ich das hier gefunden:
Ende vom EOD-Lauf:
2026-05-25 23:50:07 - custom_components.solar_forecast_ml.forecast.forecast_rule_based_strategy - DEBUG - Skipping hourly predictions for locked dates: 2026-05-25, 2026-05-26, 2026-05-27
2026-05-25 23:50:07 - custom_components.solar_forecast_ml.forecast.forecast_rule_based_strategy - DEBUG - Forecast strategy summary: hours=72, regime_learning_available=57, regime_learning_shrinkage=51, similar_weather_adjustment=11, similar_weather_tfs_cap_relaxation=3, similar_weather_underforecast_relaxation=11, tfs_adaptive_blend=30, tfs_policy_adjustment=3
2026-05-25 23:50:07 - custom_components.solar_forecast_ml.forecast.forecast_orchestrator - INFO - Forecast complete: Today=4.06 kWh, Tomorrow=3.87 kWh, Day After=3.15 kWh, Method=physics
2026-05-25 23:50:18 - custom_components.solar_forecast_ml.forecast.forecast_orchestrator - DEBUG - Forecast storage skipped for locked morning forecasts: today, tomorrow, day_after_tomorrow
2026-05-25 23:50:18 - custom_components.solar_forecast_ml.core.core_coordinator_update_helpers - DEBUG - Forecast generated: today=4.06 kWh, tomorrow=3.87 kWh, method=physics, hourly_entries=72
2026-05-25 23:50:37 - custom_components.solar_forecast_ml.production.production_history - DEBUG - Peak time calculation: Using stored hourly production data
2026-05-25 23:51:04 - custom_components.solar_forecast_ml.core.core_coordinator_update_helpers - DEBUG - Forecast update skipped for locked morning forecasts: today, tomorrow, day_after_tomorrow
2026-05-25 23:51:04 - custom_components.solar_forecast_ml.core.core_coordinator_update_helpers - DEBUG - Forecasts saved to database (respecting locks)
2026-05-25 23:51:07 - custom_components.solar_forecast_ml.ai.ai_tiny_lstm - INFO - Early stopping at epoch 42
2026-05-25 23:51:10 - custom_components.solar_forecast_ml.ai.ai_tiny_lstm - INFO - Training complete: R2=0.869, RMSE=0.036 kWh, outputs=3, layers=2, heads=4
2026-05-25 23:51:10 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - LSTM trained: R²=0.869, epochs=42, layers=2, heads=4
2026-05-25 23:51:10 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Active model: LSTM (915 samples)
2026-05-25 23:51:10 - custom_components.solar_forecast_ml.coordinator - DEBUG - Hourly predictions cache refreshed: 24 today, 24 tomorrow, 24 day_after
2026-05-25 23:51:10 - custom_components.solar_forecast_ml.coordinator - DEBUG - Finished fetching solar_forecast_ml data in 539.464 seconds (success: True)
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Model weights saved to structured tables
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Weights saved to database
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_seasonal - DEBUG - Seasonal factors saved to database
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_predictor - DEBUG - Updated seasonal factors for 3 months
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_dni_tracker - DEBUG - DNI tracker saved to database
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Seasonal archive saved: spring/lstm (25827 weights)
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Seasonal archive saved: spring/ridge (4323 weights)
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Model archived for season spring/2026
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_predictor - INFO - Training complete: active=tiny_lstm, R²=0.869, RMSE=0.036kWh, samples=915, outputs=3
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.production.production_scheduled_tasks - INFO - AI model trained: R²=0.869, RMSE=0.036kWh, samples=915, features=36, outputs=3, attention=ON
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.coordinator - INFO - Coordinator notified of AI Training completion at 2026-05-25 23:51:17.505025+02:00. Accuracy: 0.8688392628421373
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.sensors.sensor_system_status - DEBUG - Status updated: event=ai_training, status=success, state=ok
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_dni_tracker - DEBUG - DNI tracker saved to database
2026-05-25 23:51:17 - custom_components.solar_forecast_ml.ai.ai_dni_tracker - INFO - DNI tracker end-of-day update complete
Erstmaliges auftauchen der Abweichung im Wetter-Lauf 0:20
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ================================================================================
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - MORNING ROUTINE EXECUTION - Attempt 1/3 for 2026-05-26
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ================================================================================
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - → Step 1/5: Validating prerequisites...
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - DEBUG - All prerequisites validated
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ✓ Prerequisites validated: 72 forecast hours, 72 weather hours
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - → Step 2/5: Creating hourly predictions in database...
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Checking and unlocking existing forecast locks...
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ 🔓 Found 24 existing predictions - will update
2026-05-26 00:30:03 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Preparing to update predictions for 3 days...
2026-05-26 00:30:04 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ Cleared 72 existing prediction slots for update
2026-05-26 00:30:04 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Processing 72 input forecast entries (3 days)...
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Calculating daily totals from saved predictions for 3 days...
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ → 2026-05-26: 6.56 kWh
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ → 2026-05-27: 7.90 kWh
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ → 2026-05-28: 6.86 kWh
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Saving daily forecasts to database for 3 days...
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - DEBUG - → Daily forecasts LOCKED for 3 days: locked=TRUE, locked_at=2026-05-26 00:30:04.017486+02:00
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Operational morning snapshot mirrored successfully
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Updating coordinator expected daily production...
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.data.data_state_handler - DEBUG - Expected daily production saved: 6.56 kWh
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Setting morning routine lock for 2026-05-26...
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - DEBUG - → Lock flag set: last_set_date = 2026-05-26
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - └─ SUMMARY:
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Input entries: 72 (3 days)
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Created predictions: 72
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Predictions per day:
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - - 2026-05-26: 24 hours, 6.56 kWh
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - - 2026-05-27: 24 hours, 7.90 kWh
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - - 2026-05-28: 24 hours, 6.86 kWh
2026-05-26 00:30:07 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Coordinator updated: Yes (today=6.56 kWh)
Mornig Routine (5:00)
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO -
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ================================================================================
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - MORNING ROUTINE EXECUTION - Attempt 1/3 for 2026-05-26
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ================================================================================
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - → Step 1/5: Validating prerequisites...
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - DEBUG - All prerequisites validated
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ✓ Prerequisites validated: 72 forecast hours, 72 weather hours
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - → Step 2/5: Creating hourly predictions in database...
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Checking and unlocking existing forecast locks...
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ 🔓 Found 24 existing predictions - will update
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ 🔓 Unlocking daily_forecast (was locked at 2026-05-26 00:30:04.017486+02:00 by morning_routine)
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Preparing to update predictions for 3 days...
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ Cleared 72 existing prediction slots for update
2026-05-26 05:00:23 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Processing 72 input forecast entries (3 days)...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Calculating daily totals from saved predictions for 3 days...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ → 2026-05-26: 6.57 kWh
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ → 2026-05-27: 8.05 kWh
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - │ → 2026-05-28: 6.86 kWh
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Saving daily forecasts to database for 3 days...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - DEBUG - → Daily forecasts LOCKED for 3 days: locked=TRUE, locked_at=2026-05-26 05:00:23.234342+02:00
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Operational morning snapshot mirrored successfully
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Updating coordinator expected daily production...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.data.data_state_handler - DEBUG - Expected daily production saved: 6.57 kWh
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ├─ Setting morning routine lock for 2026-05-26...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - DEBUG - → Lock flag set: last_set_date = 2026-05-26
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - └─ SUMMARY:
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Input entries: 72 (3 days)
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Created predictions: 72
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Predictions per day:
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - - 2026-05-26: 24 hours, 6.57 kWh
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - - 2026-05-27: 24 hours, 8.05 kWh
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - - 2026-05-28: 24 hours, 6.86 kWh
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - • Coordinator updated: Yes (today=6.57 kWh)
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ✓ Hourly predictions created successfully
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - → Step 3/5: Verifying data integrity...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - DEBUG - Integrity verified for 3 days starting from 2026-05-26, no duplicates
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ✓ Data integrity verified - no duplicates found
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - → Step 4/5: Refreshing coordinator cache...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.coordinator - DEBUG - Hourly predictions cache refreshed: 24 today, 24 tomorrow, 24 day_after
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - ✓ Coordinator cache refreshed
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.production.production_morning_routine - INFO - → Step 5/5: Triggering sensor updates...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.forecast.forecast_weather - INFO - Forecast using database: 72 hours across 3 days
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.sensors.sensor_data_collector - DEBUG - Collected external sensor data: {'temperature': 14.2, 'humidity': 84.0, 'wind_speed': 0.0, 'rain': 0.0, 'pressure': 1016.8, 'solar_radiation': 2.49, 'lux': 315.2}
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.forecast.forecast_orchestrator - DEBUG - Creating forecast (AI + Physics)...
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.forecast.forecast_orchestrator - DEBUG - Lag-Feature 'production_yesterday' = 4.76 kWh (from DB: 2026-05-25)
2026-05-26 05:00:25 - custom_components.solar_forecast_ml.forecast.forecast_orchestrator - INFO - TFS forecast: 9.74 kWh (score 1.00)
Da wird die Vorhersage für morgen sogar noch ein wenig krasser…





