From b6847fbb04485fcc905e38f520f5ac91d6ada13e Mon Sep 17 00:00:00 2001 From: oskarfessel <> Date: Sat, 5 Apr 2014 09:37:26 +0000 Subject: [PATCH] Firmware erweitert, Anzeige der Dauer des Parameter-holens erweitert git-svn-id: https://svn.fhem.de/fhem/trunk@5444 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/23_LUXTRONIK2.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/23_LUXTRONIK2.pm b/fhem/FHEM/23_LUXTRONIK2.pm index e1e2c30f9..0a22d2641 100644 --- a/fhem/FHEM/23_LUXTRONIK2.pm +++ b/fhem/FHEM/23_LUXTRONIK2.pm @@ -49,8 +49,8 @@ sub LUXTRONIK2_doStatisticDelta ($$$$) ; my $modulVersion = "2014-03-31"; #List of firmware versions that are known to be compatible with this modul - my $testedFirmware = "#V1.54C#V1.60#V1.69#"; - my $compatibleFirmware = "#V1.54C#V1.60#V1.69#"; + my $testedFirmware = "#V1.52#V1.54C#V1.60#V1.69#"; + my $compatibleFirmware = "#V1.52#V1.54C#V1.60#V1.69#"; sub ######################################## LUXTRONIK2_Initialize($) @@ -838,7 +838,7 @@ LUXTRONIK2_UpdateDone($) readingsBulkUpdate($hash, "deviceTimeCalc", $value); my $delayDeviceTimeCalc=sprintf("%.0f",$a[29]-$a[22]); readingsBulkUpdate($hash, "delayDeviceTimeCalc", $delayDeviceTimeCalc); - my $durationFetchReadings = sprintf("%.2f",$a[30]-$a[29]); + my $durationFetchReadings = sprintf("%.5f",$a[30]-$a[29]); readingsBulkUpdate($hash, "durationFetchReadings", $durationFetchReadings); #Remember min and max reading durations, will be reset when initializing the device if ($hash->{fhem}{durationFetchReadingsMin} == 0 || $hash->{fhem}{durationFetchReadingsMin} > $durationFetchReadings) {