Nach dem Update auf 46.0.4 gibt es bei mir (Intel NUC, Ubuntu, HA docker installation) ein neues Problem, dass mir gerade beim Blick in das Log aufgefallen ist:
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.forecast.forecast_weather - DEBUG - Background forecast update starting...
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.forecast.forecast_weather - INFO - Force update - fetching from Open-Meteo API...
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.data_open_meteo_client - INFO - Fetched 96 hours from Open-Meteo (source=open-meteo:multi-model models=ecmwf_ifs025,icon_d2,icon_eu, GHI: 0 - 663 W/m2, ICON-D2 hours=66)
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping transaction
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping transaction
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping transaction
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping transaction
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
...
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.db_manager - DEBUG - Database is closed, skipping execute
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.data_open_meteo_client - INFO - Saved 96 hours to weather_cache_open_meteo table (RAW)
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.data.data_open_meteo_client - INFO - Accepted 96 Open-Meteo hours (GHI: 0 - 663 W/m2, coverage={'2026-09-07': 24, '2026-09-08': 24, '2026-09-09': 24})
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.forecast.forecast_weather - INFO - Force update successful: 96 hours
2026-09-07 19:46:22 - custom_components.solar_forecast_ml.forecast.forecast_weather - DEBUG - Background update complete: 96 hours
2026-09-07 19:57:21 - custom_components.solar_forecast_ml.forecast.forecast_weather - INFO - Forecast using database: 96 hours across 4 days
2026-09-07 19:57:21 - custom_components.solar_forecast_ml.sensors.sensor_data_collector - DEBUG - Collected external sensor data: {'temperature': 21.2, 'humidity': 67.0, 'wind_speed': 3.5, 'rain': 0.0, 'pressure': 1014.1, 'solar_radiation': 2.06, 'lux': 260.8}
Sind immer so bummelig 700 Zeilen debug messages in der selben Sekunde.
Das tritt bei fast jedem Open Meteo Zugriff auf, aber nicht bei jedem:
2026-09-07 20:05:00 - custom_components.solar_forecast_ml.production.production_forecast_regeneration - INFO - Operational reforecast: Refreshing weather data from API...
2026-09-07 20:05:00 - custom_components.solar_forecast_ml.data.data_weather_pipeline_manager - INFO - Pipeline: Refreshing all weather sources (force)...
2026-09-07 20:05:00 - custom_components.solar_forecast_ml.data.data_open_meteo_client - INFO - Fetched 96 hours from Open-Meteo (source=open-meteo:multi-model models=ecmwf_ifs025,icon_d2,icon_eu, GHI: 0 - 663 W/m2, ICON-D2 hours=66)
2026-09-07 20:05:02 - custom_components.solar_forecast_ml.data.data_open_meteo_client - INFO - Saved 96 hours to weather_cache_open_meteo table (RAW)
2026-09-07 20:05:02 - custom_components.solar_forecast_ml.data.data_open_meteo_client - INFO - Accepted 96 Open-Meteo hours (GHI: 0 - 663 W/m2, coverage={'2026-09-07': 24, '2026-09-08': 24, '2026-09-09': 24})
2026-09-07 20:05:02 - custom_components.solar_forecast_ml.data.data_weather_pipeline_manager - DEBUG - Pipeline: Open-Meteo data available (source=api, status=ok, age=0.0003906938888888889)
2026-09-07 20:05:03 - custom_components.solar_forecast_ml.data.data_weather_expert_blender - DEBUG - WttrIn: Saved 24 hours to DB
2026-09-07 20:05:03 - custom_components.solar_forecast_ml.data.data_weather_expert_blender - DEBUG - BrightSky: Saved 49 hours to DB
2026-09-07 20:05:03 - custom_components.solar_forecast_ml.data.data_weather_pipeline_manager - INFO - Pipeline: Expert sources: wttr.in: OK, Bright Sky: OK, Pirate Weather: disabled
Da fehlt wohl ein geeignetes wait command, und so läuft der Versuch, auf die DB zuzugreifen in close loop OSLT.
Update: Seitdem gestern abend um 19:27 einmalig etwas früher, als stündlich um XX:46 Uhr das “fetching from Open-Meteo” ausgeführt wurde, sind die Locking-Sequenzen verschwunden. Das nächste fetching from Open-Meteo wurde dann um 20:46 gemacht und seither ist Ruhe. Ich werde es weiter beobachten.