mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +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:
parent
4e85aec339
commit
ac2a845de4
@ -321,6 +321,8 @@ CUL_HM_Parse($$)
|
|||||||
push @event, "motion:"; #added peterp
|
push @event, "motion:"; #added peterp
|
||||||
# A0D258410143DFABC82AD0601240E
|
# 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)
|
CUL_HM_SendCmd($shash, "++8002".$id.$src."0101${state}00",1,0)
|
||||||
if($id eq $dst && $cmd ne "8002"); # Send Ack
|
if($id eq $dst && $cmd ne "8002"); # Send Ack
|
||||||
|
Loading…
Reference in New Issue
Block a user