From abd591b24498a9ec0ee45918cc025a5957e01fdf Mon Sep 17 00:00:00 2001 From: bjoernh <> Date: Sun, 25 Feb 2018 20:42:39 +0000 Subject: [PATCH] 14_CUL_TCM97001: Fix temperature reading git-svn-id: https://svn.fhem.de/fhem/trunk@16274 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/14_CUL_TCM97001.pm | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 39896f759..a561a1155 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 14_CUL_TCM97001: Fix temperature reading - bugfix: 49_SSCam: V3.3.0, code review, API bug fix of runview lastrec, commandref revised (forum:#84953) - bugfix: 73_ElectricityCalculator: Spelling error "di(s)abled" corrected diff --git a/fhem/FHEM/14_CUL_TCM97001.pm b/fhem/FHEM/14_CUL_TCM97001.pm index d39965e7d..d663f0bd6 100755 --- a/fhem/FHEM/14_CUL_TCM97001.pm +++ b/fhem/FHEM/14_CUL_TCM97001.pm @@ -613,7 +613,7 @@ CUL_TCM97001_Parse($$) $hasmode = TRUE; $hasbatcheck = TRUE; $haschannel = TRUE; - $id3 = $idType2 + $id3 = $idType2; } else { $name = "Unknown"; } @@ -1683,7 +1683,9 @@ CUL_TCM97001_Parse($$) $state="$state H: $valH"; Log3 $name, 4, "$iodev: CUL_TCM97001 $msgtype $name $id3 T: $val H: $valH"; } else { - $msgtype = "other"; + if ($model eq "W174") { + $msgtype = "other"; + } Log3 $name, 4, "$iodev: CUL_TCM97001 $msgtype $name $id3"; #Log3 $name, 4, "CUL_TCM97001 $msgtype $name $id3 "; }