diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 12d81307a..c8533e561 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -5194,11 +5194,12 @@ END3 } for my $c1 (@consumers) { - my $power = ConsumerVal ($hash, $c1, "power", 0); + my $power = ConsumerVal ($hash, $c1, "power", 0); + my $rpcurr = ConsumerVal ($hash, $c1, "rpcurr", ""); # Reading für akt. Verbrauch angegeben ? my $swstate = ConsumerVal ($hash, $c1, "state", "undef"); # Schaltzustand des Consumerdevices $currentPower = ReadingsNum ($name, "consumer${c1}_currentPower", 0); - if (!$currentPower && $swstate eq "on") { # Workaround wenn Verbraucher ohne Leistungsmessung + if (!$rpcurr && $swstate eq "on") { # Workaround wenn Verbraucher ohne Leistungsmessung $currentPower = $power; } @@ -7539,7 +7540,7 @@ Ein/Ausschaltzeiten sowie deren Ausführung vom SolarForecast Modul übernehmen