76_SolarForecast: contrib Version 1.60.4

git-svn-id: https://svn.fhem.de/fhem/trunk@30512 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2025-11-09 21:38:38 +00:00
parent ee566b5cd7
commit e1840940a7

View File

@@ -12007,7 +12007,10 @@ sub _batChargeMgmt {
delete $data{$name}{current}{tomorrowConsDuringHrsPVGen}; # alte Summe bereinigen
}
else {
$data{$name}{current}{tomorrowConsDuringHrsPVGen} += $confc if($pvfc);
if ($pvfc) {
my $confwou = $confc * (100 - $wou) / 100; # Gewichtung Prognose-Verbrauch als Anteil "Eigennutzung" (https://forum.fhem.de/index.php?msg=1348429)
$data{$name}{current}{tomorrowConsDuringHrsPVGen} += $confwou;
}
}
}