mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
76_SolarForecast.pm: contrib 0.17.1
git-svn-id: https://svn.fhem.de/fhem/trunk@24035 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5b9d8a4752
commit
fb108c2936
@ -3187,7 +3187,7 @@ sub collectSummaries {
|
|||||||
|
|
||||||
for my $h (1..47) {
|
for my $h (1..47) {
|
||||||
next if(!$data{$type}{$name}{nexthours}{"NextHour".sprintf "%02d",$h});
|
next if(!$data{$type}{$name}{nexthours}{"NextHour".sprintf "%02d",$h});
|
||||||
my $pvfc = $data{$type}{$name}{nexthours}{"NextHour".sprintf "%02d",$h}{pvforecast};
|
my $pvfc = $data{$type}{$name}{nexthours}{"NextHour".sprintf "%02d",$h}{pvforecast} // 0;
|
||||||
|
|
||||||
$next4HoursSum->{PV} += $pvfc if($h <= 3);
|
$next4HoursSum->{PV} += $pvfc if($h <= 3);
|
||||||
$restOfDaySum->{PV} += $pvfc if($h <= $rdh);
|
$restOfDaySum->{PV} += $pvfc if($h <= $rdh);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user