From 9b9e4645f63fdee40b9cbd3bc463b0654cd47a39 Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Fri, 28 May 2021 20:57:10 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.48.0 git-svn-id: https://svn.fhem.de/fhem/trunk@24533 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 31696b0a6..dac85b458 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -2044,7 +2044,8 @@ 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