2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

76_Solarforcast: contrib 0.3.0

git-svn-id: https://svn.fhem.de/fhem/trunk@23583 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2021-01-22 10:06:56 +00:00
parent 62c11396bd
commit 92e63bc486

View File

@ -2317,8 +2317,8 @@ sub calcFromHistory {
$pvfc += $pvhh->{$dayfa}{$hour}{pvfc} // 0; $pvfc += $pvhh->{$dayfa}{$hour}{pvfc} // 0;
} }
my $pvavg = $pvrl / $anzavg; my $pvavg = sprintf "%.2f", $pvrl / $anzavg;
my $fcavg = $pvfc / $anzavg; my $fcavg = sprintf "%.2f", $pvfc / $anzavg;
Log3 ($name, 4, "$name - PV History -> average hour ($hour) -> real: $pvavg, forecast: $fcavg"); Log3 ($name, 4, "$name - PV History -> average hour ($hour) -> real: $pvavg, forecast: $fcavg");