2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

Released may become a state for an FSB61

git-svn-id: https://svn.fhem.de/fhem/trunk@1787 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-08-11 06:43:14 +00:00
parent f77954dfa8
commit 9d59b94a66
2 changed files with 12 additions and 3 deletions

View File

@ -67,7 +67,7 @@ EnOcean_Initialize($)
$hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 " . $hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 " .
"showtime:1,0 loglevel:0,1,2,3,4,5,6 model " . "showtime:1,0 loglevel:0,1,2,3,4,5,6 model " .
"subType:switch,contact,sensor,windowHandle,SR04,MD15,PM101,". "subType:switch,contact,sensor,windowHandle,SR04,MD15,PM101,".
"dimmer,dimmCtrl actualTemp"; "dimmer,dimmCtrl,FSB61 actualTemp";
for(my $i=0; $i<@ptm200btn;$i++) { for(my $i=0; $i<@ptm200btn;$i++) {
$ptm200btn{$ptm200btn[$i]} = "$i:30"; $ptm200btn{$ptm200btn[$i]} = "$i:30";
@ -273,9 +273,10 @@ EnOcean_Parse($$)
} }
# released events are disturbing when using a remote, since it overwrites # released events are disturbing when using a remote, since it overwrites
# the "real" state immediately # the "real" state immediately.
# In the case of an ElTako FSB61 the state should remain released (by Thomas)
my $event = "state"; my $event = "state";
$event = "buttons" if($msg =~ m/released$/); $event = "buttons" if($msg =~ m/released$/ && $st ne "FSB61");
push @event, "3:$event:$msg"; push @event, "3:$event:$msg";

View File

@ -3904,6 +3904,14 @@ A line ending with \ will be concatenated with the next one, so long lines
<li>buttons:released <li>buttons:released
<li>buttons:<BtnX> released<br> <li>buttons:<BtnX> released<br>
</ul> </ul>
<li>FSB61 (set subType to FSB61 manually)<br>
<ul>
<li>released<br>
The status of the device my become "released", this is not the case
for a normal switch.
</ul>
<li>windowHandle (HOPPE SecuSignal). Set the subType attr to windowHandle. <li>windowHandle (HOPPE SecuSignal). Set the subType attr to windowHandle.
<ul> <ul>
<li>closed <li>closed