2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

10_ZWave.pm: BARRIER_OPERATOR patch from krikan (Forum #71593)

git-svn-id: https://svn.fhem.de/fhem/trunk@14205 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-05-06 11:32:59 +00:00
parent c6c34f3d2a
commit e6bca9ed44

View File

@ -373,7 +373,16 @@ my %zwave_class = (
}, },
APPLIANCE => { id => '64' }, APPLIANCE => { id => '64' },
DMX => { id => '65' }, DMX => { id => '65' },
BARRIER_OPERATOR => { id => '66' }, BARRIER_OPERATOR => { id => '66',
set => { barrierClose=> "0100",
barrierOpen => "01ff" },
get => { barrierState=> "02" },
parse => { "..6603(..)"=> '($1 eq "00" ? "barrierState:closed" :
($1 eq "fc" ? "barrierState:closing" :
($1 eq "fd" ? "barrierState:stopped" :
($1 eq "fe" ? "barrierState:opening" :
($1 eq "ff" ? "barrierState:open" :
"barrierState:".hex($1))))))'} },
ENTRY_CONTROL => { id => '6f' }, ENTRY_CONTROL => { id => '6f' },
CONFIGURATION => { id => '70', CONFIGURATION => { id => '70',
set => { configDefault=>"04%02x80", set => { configDefault=>"04%02x80",
@ -5118,6 +5127,13 @@ s2Hex($)
Alias for basicValue, to make mapping from the incoming events easier. Alias for basicValue, to make mapping from the incoming events easier.
</li> </li>
<br><br><b>Class BARRIER_OPERATOR</b>
<li>barrierClose<br>
start closing the barrier.</li>
<li>barrierOpen<br>
start opening the barrier.
</li>
<br><br><b>Class BASIC_WINDOW_COVERING</b> <br><br><b>Class BASIC_WINDOW_COVERING</b>
<li>coveringClose<br> <li>coveringClose<br>
Starts closing the window cover. Moving stops if blinds are fully closed or Starts closing the window cover. Moving stops if blinds are fully closed or
@ -5622,6 +5638,11 @@ s2Hex($)
devices in this group<br> devices in this group<br>
</li> </li>
<br><br><b>Class BARRIER_OPERATOR</b>
<li>barrierState<br>
request state of the barrier.
</li>
<br><br><b>Class BASIC</b> <br><br><b>Class BASIC</b>
<li>basicStatus<br> <li>basicStatus<br>
return the status of the node as basicReport:XY. The value (XY) depends on return the status of the node as basicReport:XY. The value (XY) depends on
@ -6131,6 +6152,9 @@ s2Hex($)
<li>assocGroupName_X:name</li> <li>assocGroupName_X:name</li>
<li>assocGroupCmdList_X:AABBCCDD...</li> <li>assocGroupCmdList_X:AABBCCDD...</li>
<br><br><b>Class BARRIER_OPERATOR</b>
<li>barrierState:[ closed | [%] | closing | stopped | opening | open ]</li>
<br><br><b>Class BASIC</b> <br><br><b>Class BASIC</b>
<li>basicReport:X (for version 1), basicReport:X target y duration z <li>basicReport:X (for version 1), basicReport:X target y duration z
(for version 2 or greater)</li> (for version 2 or greater)</li>