stündliche Speicherung des Forecasts angepasst

This commit is contained in:
Nils Reiners
2025-10-07 22:34:16 +02:00
parent 9ccb1e042b
commit ba6ff9f6c3

View File

@@ -51,7 +51,7 @@ upper_roof_west = PvWattsSubarrayConfig(name="west", pdc0_w=7*p_module, tilt_deg
cfgs = [upper_roof_north, upper_roof_south, upper_roof_east, upper_roof_west]
pv_plant = PvWattsPlant(site, cfgs)
now = datetime.now(TZ)
now = datetime.now()
next_forecast_at = (now + dt.timedelta(hours=1)).replace(minute=0, second=0, microsecond=0)
while True:
now = datetime.now()