From 529d1b2426d7fd0b36a7196880eb01789f77f798 Mon Sep 17 00:00:00 2001 From: pizmus <> Date: Thu, 16 Apr 2020 10:14:43 +0000 Subject: [PATCH] 66_EseraOneWire: add support for multi sensor 11133 git-svn-id: https://svn.fhem.de/fhem/trunk@21700 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/66_EseraMulti.pm | 9 +++++---- fhem/FHEM/66_EseraOneWire.pm | 2 +- fhem/FHEM/66_EseraTemp.pm | 8 ++++++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 386616638..efd9d2eaf 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. + - feature: 66_EseraOneWire: support multi sensor 11133 - change: 59_WUup: switch to packages - feature: 72_FB_CALLMONITOR: new attribute "internal-number-filter" to process only calls for specific internal numbers diff --git a/fhem/FHEM/66_EseraMulti.pm b/fhem/FHEM/66_EseraMulti.pm index 7b7dccdf0..0b95f6b5e 100644 --- a/fhem/FHEM/66_EseraMulti.pm +++ b/fhem/FHEM/66_EseraMulti.pm @@ -221,7 +221,7 @@ EseraMulti_Parse($$) readingsSingleUpdate($rhash, $nameOfReading, $value / 100000.0, 1); } } - elsif (($deviceType eq "11121") || ($deviceType eq "11132") || ($deviceType eq "11134") || ($deviceType eq "11135")) + elsif (($deviceType eq "11121") || ($deviceType eq "11132") || ($deviceType eq "11133") || ($deviceType eq "11134") || ($deviceType eq "11135")) { if ($readingId == 1) { @@ -255,7 +255,7 @@ EseraMulti_Parse($$) push(@list, $rname); return @list; } - elsif (($deviceType eq "DS2438") || ($deviceType eq "11121") || ($deviceType eq "11132") || ($deviceType eq "11134") || ($deviceType eq "11135")) + elsif (($deviceType eq "DS2438") || ($deviceType eq "11121") || ($deviceType eq "11132") || ($deviceType eq "11133") || ($deviceType eq "11134") || ($deviceType eq "11135")) { return "UNDEFINED EseraMulti_".$ioName."_".$oneWireId." EseraMulti ".$ioName." ".$oneWireId." ".$deviceType; } @@ -294,12 +294,13 @@ EseraMulti_Attr(@)