2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

76_SolarForecast: contrib 1.32.0

git-svn-id: https://svn.fhem.de/fhem/trunk@29112 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2024-08-26 21:31:45 +00:00
parent 92c6e7393e
commit a2650d4aa8

View File

@ -2043,11 +2043,13 @@ sub _setreset { ## no critic "not used"
$paref->{reorg} = 1; # den Tag Stunde "99" reorganisieren
$paref->{reorgday} = $dday;
$paref->{histname} = '';
setPVhistory ($paref);
delete $paref->{reorg};
delete $paref->{reorgday};
delete $paref->{histname};
}
else {
delete $data{$type}{$name}{pvhist}{$dday};
@ -2073,11 +2075,13 @@ sub _setreset { ## no critic "not used"
$paref->{reorg} = 1; # den Tag Stunde "99" reorganisieren
$paref->{reorgday} = $dday;
$paref->{histname} = '';
setPVhistory ($paref);
delete $paref->{reorg};
delete $paref->{reorgday};
delete $paref->{histname};
}
else {
for my $hr (sort keys %{$data{$type}{$name}{pvhist}{$dday}}) {
@ -10612,7 +10616,7 @@ sub _estConsumptionForecast {
$pre = 'DEBUG> - WARNING -';
}
Log3 ($name, $vl, "$name $pre The stored Energy consumption of day/hour $m/$nhhr is negative. This appears to be an error and this hour is taken into account in the consumption forecast with the value '0'.");
Log3 ($name, $vl, "$name $pre The stored Energy consumption of day/hour $m/$nhhr is negative. This appears to be an error and this hour is taken into account in the consumption forecast with value '0'.");
}
for my $c (sort{$a<=>$b} keys %{$acref}) { # historischen Verbrauch aller registrierten Verbraucher aufaddieren