76_SolarForecast: contrib V1.58.2

git-svn-id: https://svn.fhem.de/fhem/trunk@30284 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2025-09-13 08:09:56 +00:00
parent 6b9bfc7909
commit 18230a4a35

View File

@@ -11974,12 +11974,12 @@ sub __batChargeOptTargetPower {
Log3 ($name, 1, "$name DEBUG> ChargeOTP - max OTP Bat $bn: $mn W, sum need: $sn Wh, number hrs: $mv, average: $avg W");
}
storeReading ('Battery_ChargeOptTargetPower_'.$bn, $otp.' W');
storeReading ('Battery_ChargeOptTargetPower_'.$bn, $target.' W');
}
if ($paref->{debug} =~ /batteryManagement/) {
Log3 ($name, 1, "$name DEBUG> ChargeOTP - The limit for grid feed-in is $fipl W");
Log3 ($name, 1, "$name DEBUG> ChargeOTP - NOTE: The hours printed below are the estimated number of hours on the current day with at least the respective PV surplus.");
Log3 ($name, 1, "$name DEBUG> ChargeOTP - NOTE: The hours listed below are the estimated number of hours remaining on the current day with at least the respective PV surplus..");
for my $k (sort { $a <=> $b } keys %{$hsurp}) {
for my $bat (sort @batteries) {