From e6bca9ed44b1c2580fd843b2ea736cd49b8c8ea8 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 6 May 2017 11:32:59 +0000 Subject: [PATCH] 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 --- fhem/FHEM/10_ZWave.pm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 24f57835c..f88d8b789 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -373,7 +373,16 @@ my %zwave_class = ( }, APPLIANCE => { id => '64' }, 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' }, CONFIGURATION => { id => '70', set => { configDefault=>"04%02x80", @@ -5118,6 +5127,13 @@ s2Hex($) Alias for basicValue, to make mapping from the incoming events easier. +

Class BARRIER_OPERATOR +
  • barrierClose
    + start closing the barrier.
  • +
  • barrierOpen
    + start opening the barrier. +
  • +

    Class BASIC_WINDOW_COVERING
  • coveringClose
    Starts closing the window cover. Moving stops if blinds are fully closed or @@ -5622,6 +5638,11 @@ s2Hex($) devices in this group
  • +

    Class BARRIER_OPERATOR +
  • barrierState
    + request state of the barrier. +
  • +

    Class BASIC
  • basicStatus
    return the status of the node as basicReport:XY. The value (XY) depends on @@ -6131,6 +6152,9 @@ s2Hex($)
  • assocGroupName_X:name
  • assocGroupCmdList_X:AABBCCDD...
  • +

    Class BARRIER_OPERATOR +
  • barrierState:[ closed | [%] | closing | stopped | opening | open ]
  • +

    Class BASIC
  • basicReport:X (for version 1), basicReport:X target y duration z (for version 2 or greater)