2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

Motiondetector patch by peterp

git-svn-id: https://svn.fhem.de/fhem/trunk@958 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-07-24 13:00:23 +00:00
parent 4e85aec339
commit ac2a845de4

View File

@ -321,6 +321,8 @@ CUL_HM_Parse($$)
push @event, "motion:"; #added peterp
# A0D258410143DFABC82AD0601240E
}
push @event, "cover:closed" if($p =~ m/^0601..00$/); # By peterp
push @event, "cover:open" if($p =~ m/^0601..0E$/);
CUL_HM_SendCmd($shash, "++8002".$id.$src."0101${state}00",1,0)
if($id eq $dst && $cmd ne "8002"); # Send Ack