mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
66_EseraOneWire: add support for multi sensor 11133
git-svn-id: https://svn.fhem.de/fhem/trunk@21700 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1de61c55a3
commit
529d1b2426
@ -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
|
||||
|
@ -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(@)
|
||||
<li>DS2438</li>
|
||||
<li>11121 (Esera product number)</li>
|
||||
<li>11132 (Esera product number, multi sensor Unterputz)</li>
|
||||
<li>11133 (Esera product number, multi sensor Unterputz)</li>
|
||||
<li>11134 (Esera product number, multi sensor Aufputz)</li>
|
||||
<li>11135 (Esera product number, multi sensor Outdoor)</li>
|
||||
</ul>
|
||||
With deviceType DS2438 this device generates readings with un-interpreted data<br>
|
||||
from DS2438. This can be used with any DS2438 device, independent of an Esera <br>
|
||||
product. With deviceType 11121/11132/11134/11135 this module provides interpreted<br>
|
||||
product. With deviceType 11121/11132/11133/11134/11135 this module provides interpreted<br>
|
||||
readings like humidity or dew point.<br>
|
||||
</ul>
|
||||
|
||||
@ -334,7 +335,7 @@ EseraMulti_Attr(@)
|
||||
<li>VSense</li>
|
||||
<li>temperature</li>
|
||||
</ul>
|
||||
readings for Esera 11121/11132/11134/11135:<br>
|
||||
readings for Esera 11121/11132/11133/11134/11135:<br>
|
||||
<ul>
|
||||
<li>temperature</li>
|
||||
<li>humidity</li>
|
||||
|
@ -86,7 +86,7 @@ EseraOneWire_Initialize($)
|
||||
$hash->{Clients} = ":EseraDigitalInOut:EseraTemp:EseraMulti:EseraAnalogInOut:EseraIButton:EseraCount:EseraShutter:";
|
||||
$hash->{MatchList} = { "1:EseraDigitalInOut" => "^DS2408|^11220|^11233|^11228|^11229|^11216|^SYS1|^SYS2",
|
||||
"2:EseraTemp" => "^DS1820",
|
||||
"3:EseraMulti" => "^DS2438|^11121|^11134|^11135",
|
||||
"3:EseraMulti" => "^DS2438|^11121|^11132|^11133|^11134|^11135",
|
||||
"4:EseraAnalogInOut" => "^SYS3",
|
||||
"5:EseraIButton" => "^DS2401",
|
||||
"6:EseraCount" => "^DS2423",
|
||||
|
@ -176,8 +176,12 @@ EseraTemp_Parse($$)
|
||||
}
|
||||
else
|
||||
{
|
||||
my $nameOfReading = "temperature";
|
||||
readingsSingleUpdate($rhash, $nameOfReading, $value / 100.0, 1);
|
||||
Log3 $rname, 5, "EseraTemp ($rname) - parse, value ".$value." readingId ".$readingId;
|
||||
if ($readingId == 0)
|
||||
{
|
||||
my $nameOfReading = "temperature";
|
||||
readingsSingleUpdate($rhash, $nameOfReading, $value / 100.0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
my @list;
|
||||
|
Loading…
Reference in New Issue
Block a user