diff --git a/fhem/contrib/ch.eick/Photovoltaik/KI_Prognose/PV_KI_Prognose.py b/fhem/contrib/ch.eick/Photovoltaik/KI_Prognose/PV_KI_Prognose.py index 560e023d1..2bb0a7dba 100644 --- a/fhem/contrib/ch.eick/Photovoltaik/KI_Prognose/PV_KI_Prognose.py +++ b/fhem/contrib/ch.eick/Photovoltaik/KI_Prognose/PV_KI_Prognose.py @@ -240,13 +240,13 @@ while loop_date <= end_date: # Zu kleine Werte werden verworfen if (Prognose < 20): if (verbose >= 4): - print("Forecast value to smale") + print("Forecast value to smale : " + str(Prognose)) Prognose = 0 # Zu große Werte werden limitiert # Achtung, die yield Prognose Werte sind Angaben zum Ende der Stunde if (Prognose > 0): - timestamp = date+" %02d:00:00" % (dfhour_start['VALUE'].values[0]+loop_hour) + timestamp = date+" %02d:00:00" % (dfhour_start['VALUE'].values[0]+loop_hour-1) Limit = int(round(dfask.loc[dfask['TIMESTAMP'] == timestamp].yield_max.values[0],0)) if (verbose >= 4): # Hier wird beim Anzeigen der Wert um eine Stunde vorher angezeigt diff --git a/fhem/contrib/ch.eick/Photovoltaik/Wechselrichter/RAW_WR_1_Speicher_1_ExternControl.txt b/fhem/contrib/ch.eick/Photovoltaik/Wechselrichter/RAW_WR_1_Speicher_1_ExternControl.txt index b9ecbf141..5d8d47228 100644 --- a/fhem/contrib/ch.eick/Photovoltaik/Wechselrichter/RAW_WR_1_Speicher_1_ExternControl.txt +++ b/fhem/contrib/ch.eick/Photovoltaik/Wechselrichter/RAW_WR_1_Speicher_1_ExternControl.txt @@ -536,7 +536,7 @@ defmod WR_1_Speicher_1_ExternControl DOIF ###################################### if (AttrVal("$SELF","verbose",0) >=3){ ## (die Uhrzeiten wurden bereits durch Solar_forecast() im WR_1 Device eingetragen)\ Log 3, "$SELF cmd_7 : Batterie SpeicherMiddayControlRunning vorbereitet";;\ Log 3, "$SELF cmd_7 : Batterie Yield_fc0_middayhigh_start ".ReadingsVal("WR_ctl","Yield_fc0_middayhigh_start", "00:00")." gesetzt";;\ - Log 3, "$SELF cmd_7 : Batterie Yield_fc0_middayhigh_stop ".ReadingsVal("WR_ctl","Yield_fc0_middayhigh_stop ", "00:00")." gesetzt";;\ + Log 3, "$SELF cmd_7 : Batterie Yield_fc0_middayhigh_stop ".ReadingsVal("WR_ctl","Yield_fc0_middayhigh_stop" , "00:00")." gesetzt";;\ };;\ } else { ## Kein Mittagshoch\ Log 3, "$SELF cmd_7 : SpeicherMiddayControl es wird kein Middayhigh geben";;\