diff --git a/FHEM/23_LUXTRONIK2.pm b/FHEM/23_LUXTRONIK2.pm index 05d90cbc1..03222aec5 100644 --- a/FHEM/23_LUXTRONIK2.pm +++ b/FHEM/23_LUXTRONIK2.pm @@ -851,9 +851,9 @@ LUXTRONIK2_UpdateDone($) && $a[11] == 1 && $averageAmbientTemperature >= $thresholdHeatingLimit) { if ($ambientTemperature>=10 ) { - $value = "Heizungsgrenze (Soll 15°C)"; + $value = "Heizungsgrenze (Soll 1°C)"; } else { - $value = "Frostschutz (Soll 20°C)"; + $value = "Frostschutz (Soll 20°C)"; } } else { $value = $heatingState{$a[46]}; @@ -861,9 +861,9 @@ LUXTRONIK2_UpdateDone($) # Consider heating reduction limit if ($a[46] == 0) { if ($thresholdTemperatureSetBack <= $ambientTemperature) { - $value .= " ".LUXTRONIK2_CalcTemp($a[47])." C"; + $value .= " ".LUXTRONIK2_CalcTemp($a[47])."°C"; } else { - $value = "Normal da < $thresholdTemperatureSetBack C"; + $value = "Normal da < ".$thresholdTemperatureSetBack."°C"; } } } @@ -910,9 +910,9 @@ LUXTRONIK2_UpdateDone($) LUXTRONIK2_storeReadings $hash, "counterHoursHeatPump", $a[33], 3600, $doStatistic, $heatPumpPower; LUXTRONIK2_storeReadings $hash, "counterHoursHeating", $a[34], 3600, $doStatistic, $heatPumpPower; LUXTRONIK2_storeReadings $hash, "counterHoursHotWater", $a[35], 3600, $doStatistic, $heatPumpPower; - LUXTRONIK2_storeReadings $hash, "counterHeatQHeating", $a[36], 10, ($a[19] !~ /no/ ? $doStatistic : 0), 0; - LUXTRONIK2_storeReadings $hash, "counterHeatQHotWater", $a[37], 10, ($a[19] !~ /no/ ? $doStatistic : 0), 0; - LUXTRONIK2_storeReadings $hash, "counterHeatQTotal", $a[36] + $a[37], 10, ($a[19] !~ /no/ ? $doStatistic : 0), 0; + LUXTRONIK2_storeReadings $hash, "counterHeatQHeating", $a[36], 10, ($a[19] !~ /no/ ? $doStatistic : 0), -1; + LUXTRONIK2_storeReadings $hash, "counterHeatQHotWater", $a[37], 10, ($a[19] !~ /no/ ? $doStatistic : 0), -1; + LUXTRONIK2_storeReadings $hash, "counterHeatQTotal", $a[36] + $a[37], 10, ($a[19] !~ /no/ ? $doStatistic : 0), -1; # Input / Output status @@ -949,7 +949,7 @@ LUXTRONIK2_UpdateDone($) $value .= "$opStateHeatPump1
\n"; $value .= "$opStateHeatPump2
\n"; $value .= "$opStateHeatPump3
\n"; - $value .= "Brauchwasser: $hotWaterTemperature°C"; + $value .= "Brauchwasser: ".$hotWaterTemperature."°C"; readingsBulkUpdate($hash,"floorplanHTML",$value); } # State update @@ -1602,7 +1602,7 @@ LUXTRONIK2_doStatisticDelta ($$$$$) my $activeTariff = ReadingsVal($name,"activeTariff",0); - if ( $electricalPower >0 || ($electricalPower == 0 && $periodSwitch > 0) ) { + if ( $electricalPower >=0 ) { my $readingNamePower = $readingName; $readingNamePower =~ s/Hours/Electricity/ ; if ($activeTariff > 0) {