From c5dbfe043ceac17ba84a5ffcda5cc5576b9423fa Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 30 Apr 2015 12:25:35 +0000 Subject: [PATCH] 10_ZWave.pm: accept (again) text parameter for config commands git-svn-id: https://svn.fhem.de/fhem/trunk@8501 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 3a1f7923d..3d9583eef 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -31,18 +31,14 @@ my %zwave_class = ( ZIP_SERVER => { id => '24', }, SWITCH_BINARY => { id => '25', set => { off => "0100", - on => "01FF", - reportOn => "03FF", - reportOff => "0300", }, + on => "01FF" }, get => { swbStatus => "02", }, parse => { "03250300" => "state:off", "032503ff" => "state:on", }, } , SWITCH_MULTILEVEL => { id => '26', set => { off => "0100", on => "01FF", - dim => "01%02x", - reportOn => "03FF", - reportOff => "0300", }, + dim => "01%02x" }, get => { swmStatus => "02", }, parse => { "032603(.*)"=> '($1 eq "00" ? "state:off" : ($1 eq "ff" ? "state:on" : @@ -508,7 +504,7 @@ ZWave_Cmd($$@) return "$type $cmd needs $parTxt" if($nArg != int(@a)); } - if($cmdFmt !~ m/%s/) { + if($cmdFmt !~ m/%s/ && $cmd !~ m/^config/) { for(my $i1 = 0; $i1
  • off
    switch the device off
  • -
  • reportOn,reportOff
    - activate/deactivate the reporting of device state changes to the - association group.


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