2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 01:46:08 +00:00

76_SolarForecast.pm: contrib 0.48.0

git-svn-id: https://svn.fhem.de/fhem/trunk@24533 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2021-05-28 20:57:10 +00:00
parent 5f25f4cfc3
commit d0e299314f

View File

@ -2044,6 +2044,7 @@ sub _transferInverterValues {
my $pvuf = $pvunit =~ /^kW$/xi ? 1000 : 1;
my $pv = ReadingsNum ($indev, $pvread, 0) * $pvuf; # aktuelle Erzeugung (W)
$pv = $pv < 0 ? 0 : $pv; # Forum: https://forum.fhem.de/index.php/topic,117864.msg1159718.html#msg1159718
push @$daref, "Current_PV<>". $pv." W";
$data{$type}{$name}{current}{generation} = $pv; # Hilfshash Wert current generation Forum: https://forum.fhem.de/index.php/topic,117864.msg1139251.html#msg1139251