diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 1f0fd1661..fb470e663 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -34,7 +34,7 @@ my %zwave_class = ( BASIC => { id => '20', set => { basicValue => "01%02x", }, get => { basicStatus => "02", }, - parse => { "..200.(.*)" => '"basicReport:$1"',}, }, + parse => { "..200.(.*)"=> '"basicReport:$1"',}, }, CONTROLLER_REPLICATION => { id => '21', }, APPLICATION_STATUS => { id => '22', }, ZIP_SERVICES => { id => '23', }, @@ -47,7 +47,17 @@ my %zwave_class = ( get => { swbStatus => "02", }, parse => { "03250300" => "state:off", "032503ff" => "state:on", }, } , - SWITCH_MULTILEVEL => { id => '26', }, + SWITCH_MULTILEVEL => { id => '26', + set => { off => "0100", + on => "01FF", + dim => "01%02x", + reportOn => "03FF", + reportOff => "0300", }, + get => { swmStatus => "02", }, + #03260363 reported in http://forum.fhem.de/index.php?t=rview&th=10216 + parse => { "032603(.*)"=> '($1 == "00" ? "state:off" : + ($1 == "ff" ? "state:on" : + "state:dim ".hex($1)))',}, }, SWITCH_ALL => { id => '27', }, SWITCH_TOGGLE_BINARY => { id => '28', }, SWITCH_TOGGLE_MULTILEVEL => { id => '29', }, @@ -523,6 +533,12 @@ ZWave_Undef($$) activate/deactivate the reporting of device state changes to the association group. +

Class SWITCH_MULTILEVEL +
  • on, off, reportOn, reportOff
    + the same as for SWITCH_BINARY.
  • +
  • dim value
    + dim to the requested value (0..100)
  • +

    Class CONFIGURATION
  • configByte cfgAddress 8bitValue
    configWord cfgAddress 16bitValue
    @@ -567,6 +583,12 @@ ZWave_Undef($$) return the status of the node, as state:on or state:off.
  • +

    Class SWITCH_MULTILEVEL +
  • swmStatus
    + return the status of the node, as state:on, state:off or state:dim value. +
  • + +

    Class SENSOR_BINARY
  • sbStatus
    return the status of the node, as state:open or state:closed. @@ -639,6 +661,11 @@ ZWave_Undef($$)
  • state:on
  • state:off
  • +

    Class SWITCH_MULTILEVEL +
  • state:on
  • +
  • state:off
  • +
  • state:dim value
  • +

    Class SENSOR_BINARY
  • state:open
  • state:closed