mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 09:55:38 +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:
parent
767b83a414
commit
af133f9d6c
@ -2043,11 +2043,13 @@ sub _setreset { ## no critic "not used"
|
|||||||
|
|
||||||
$paref->{reorg} = 1; # den Tag Stunde "99" reorganisieren
|
$paref->{reorg} = 1; # den Tag Stunde "99" reorganisieren
|
||||||
$paref->{reorgday} = $dday;
|
$paref->{reorgday} = $dday;
|
||||||
|
$paref->{histname} = '';
|
||||||
|
|
||||||
setPVhistory ($paref);
|
setPVhistory ($paref);
|
||||||
|
|
||||||
delete $paref->{reorg};
|
delete $paref->{reorg};
|
||||||
delete $paref->{reorgday};
|
delete $paref->{reorgday};
|
||||||
|
delete $paref->{histname};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
delete $data{$type}{$name}{pvhist}{$dday};
|
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->{reorg} = 1; # den Tag Stunde "99" reorganisieren
|
||||||
$paref->{reorgday} = $dday;
|
$paref->{reorgday} = $dday;
|
||||||
|
$paref->{histname} = '';
|
||||||
|
|
||||||
setPVhistory ($paref);
|
setPVhistory ($paref);
|
||||||
|
|
||||||
delete $paref->{reorg};
|
delete $paref->{reorg};
|
||||||
delete $paref->{reorgday};
|
delete $paref->{reorgday};
|
||||||
|
delete $paref->{histname};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for my $hr (sort keys %{$data{$type}{$name}{pvhist}{$dday}}) {
|
for my $hr (sort keys %{$data{$type}{$name}{pvhist}{$dday}}) {
|
||||||
@ -10612,7 +10616,7 @@ sub _estConsumptionForecast {
|
|||||||
$pre = 'DEBUG> - WARNING -';
|
$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
|
for my $c (sort{$a<=>$b} keys %{$acref}) { # historischen Verbrauch aller registrierten Verbraucher aufaddieren
|
||||||
|
Loading…
x
Reference in New Issue
Block a user