mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
76_SolarForecast: internal code change for data collection
git-svn-id: https://svn.fhem.de/fhem/trunk@29532 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
212641ccbd
commit
c521414c80
@ -2152,6 +2152,10 @@ sub _setreset { ## no critic "not used"
|
|||||||
delete $data{$name}{circular}{$circh}{pvrlsum};
|
delete $data{$name}{circular}{$circh}{pvrlsum};
|
||||||
delete $data{$name}{circular}{$circh}{pvfcsum};
|
delete $data{$name}{circular}{$circh}{pvfcsum};
|
||||||
delete $data{$name}{circular}{$circh}{dnumsum};
|
delete $data{$name}{circular}{$circh}{dnumsum};
|
||||||
|
|
||||||
|
for my $k (keys %{$data{$name}{circular}{$circh}}) {
|
||||||
|
delete $data{$name}{circular}{$circh}{$k} if($k =~ /^(pvrl_|pvfc_)/xs);
|
||||||
|
}
|
||||||
|
|
||||||
for my $hid (keys %{$data{$name}{pvhist}}) {
|
for my $hid (keys %{$data{$name}{pvhist}}) {
|
||||||
delete $data{$name}{pvhist}{$hid}{$circh}{pvcorrf};
|
delete $data{$name}{pvhist}{$hid}{$circh}{pvcorrf};
|
||||||
@ -2167,6 +2171,10 @@ sub _setreset { ## no critic "not used"
|
|||||||
delete $data{$name}{circular}{$hod}{pvrlsum};
|
delete $data{$name}{circular}{$hod}{pvrlsum};
|
||||||
delete $data{$name}{circular}{$hod}{pvfcsum};
|
delete $data{$name}{circular}{$hod}{pvfcsum};
|
||||||
delete $data{$name}{circular}{$hod}{dnumsum};
|
delete $data{$name}{circular}{$hod}{dnumsum};
|
||||||
|
|
||||||
|
for my $k (keys %{$data{$name}{circular}{$hod}}) {
|
||||||
|
delete $data{$name}{circular}{$hod}{$k} if($k =~ /^(pvrl_|pvfc_)/xs);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for my $hid (keys %{$data{$name}{pvhist}}) {
|
for my $hid (keys %{$data{$name}{pvhist}}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user