Homematic Schliesser-Kontakt Status Update wegen Sabotage
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1452 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -667,19 +667,10 @@ CUL_HM_Parse($$)
|
||||
my $lst = defined($1) ? $1 : "00";
|
||||
my $chn = "01";
|
||||
|
||||
if($p =~ m/^0601000E$/) {
|
||||
if($p =~ m/^0601..00$/) {
|
||||
push @event, "alive:yes";
|
||||
|
||||
} elsif($p =~ m/^0601..00$/) {
|
||||
push @event, "cover:closed";
|
||||
push @event, "alive:yes";
|
||||
|
||||
} elsif($p =~ m/^0601..0E$/) {
|
||||
push @event, "cover:open";
|
||||
push @event, "state:sabotage";
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
# Multi-channel device: Switch to the shadow source hash
|
||||
# for the HM-SCI-3-FM
|
||||
$chn = $1 if($p =~ m/^(..)(..)/);
|
||||
@@ -699,9 +690,10 @@ CUL_HM_Parse($$)
|
||||
|
||||
} else {
|
||||
$lst = "00"; # for the ack
|
||||
|
||||
}
|
||||
|
||||
if($p =~ m/^0601..0E$/) {
|
||||
push @event, "state:sabotage";
|
||||
}
|
||||
|
||||
CUL_HM_SendCmd($shash, "++8002$id$src${chn}01${lst}00",1,0) # Send Ack
|
||||
|
||||
@@ -3105,8 +3105,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
||||
alive<br>
|
||||
test $t<br>
|
||||
<li>threeStateSensor (all)<br>
|
||||
cover closed<br>
|
||||
cover open<br>
|
||||
sabotage<br>
|
||||
alive<br>
|
||||
<li>threeStateSensor (HM-SEC-WDS)<br>
|
||||
contact wet<br>
|
||||
|
||||
Reference in New Issue
Block a user