diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 720c00d50..4e176105d 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -15764,10 +15764,10 @@ sub _flowGraphic { my $pnodesum = __normDecPlaces ($ppall + $pv2node); # Erzeugung Summe im Knoten $node2bat -= $pv2bat; # Knoten-Bat -> abzüglich Direktladung (pv2bat) #Log3 ($name, 1, "$name - pv2bat: $pv2bat, node2bat:$node2bat "); - $pnodesum += $node2bat < 0 ? abs $node2bat : - $node2bat; # V 1.46.4 - Batterie ist voll und SolarLader liefert an Knoten + $pnodesum += $node2bat < 0 ? abs $node2bat : 0; # V 1.46.4 - Batterie ist voll und SolarLader liefert an Knoten #my $node2home = __normDecPlaces ($cself + $ppall); # Energiefluß vom Knoten zum Haus: Selbstverbrauch + alle Producer (Batterie-In/Solar-Ladegeräte sind nicht in SelfConsumtion enthalten) - my $node2home = __normDecPlaces ($pnodesum - $node2grid); # V 1.46.4 - Energiefluß vom Knoten zum Haus + my $node2home = __normDecPlaces ($pnodesum - $node2grid - ($node2bat > 0 ? $node2bat : 0)); # V 1.46.4 - Energiefluß vom Knoten zum Haus ## SVG Box initialisieren mit Grid-Icon #########################################