mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
Added multi-channel for threeStateSensor: HM-SCI-3-FM
git-svn-id: https://svn.fhem.de/fhem/trunk@1391 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
79cc282bf4
commit
457b354e8b
@ -661,6 +661,15 @@ CUL_HM_Parse($$)
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
# Multi-channel device: Switch to the shadow source hash
|
||||||
|
# for the HM-SCI-3-FM
|
||||||
|
my $chn = $2 if($p =~ m/^(..)(..)/);
|
||||||
|
if($chn && $chn ne "01" && $chn ne "00") {
|
||||||
|
my $sshash = $modules{CUL_HM}{defptr}{"$src$chn"};
|
||||||
|
$shash = $sshash if($sshash);
|
||||||
|
$name = $shash->{NAME};
|
||||||
|
}
|
||||||
|
|
||||||
my %txt;
|
my %txt;
|
||||||
%txt = ("C8"=>"open", "64"=>"tilted", "00"=>"closed");
|
%txt = ("C8"=>"open", "64"=>"tilted", "00"=>"closed");
|
||||||
%txt = ("C8"=>"wet", "64"=>"damp", "00"=>"dry") # by peterp
|
%txt = ("C8"=>"wet", "64"=>"damp", "00"=>"dry") # by peterp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user