From 500e6f8cccaebda6f5ebf680e2160f421c46407e Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sat, 20 Feb 2016 07:27:48 +0000 Subject: [PATCH] 10_ZWave.pm: add setOn/setOff to SWITCH_MULTILEVEL (Forum #49568) git-svn-id: https://svn.fhem.de/fhem/trunk@10884 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 8c1dd3aff..5de8c8cfb 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -70,6 +70,8 @@ my %zwave_class = ( parse => { "032603(.*)"=> '($1 eq "00" ? "state:off" : ($1 eq "ff" ? "state:on" : "state:dim ".hex($1)))', + "..260100.."=> "state:setOff", + "..2601ff.."=> "state:setOn", "..260420" => "state:swmBeginUp", "..260460" => "state:swmBeginDown", "..2605" => "state:swmEnd" } }, @@ -3796,6 +3798,7 @@ ZWave_Parse($$@) } my ($baseHash, $baseId, $ep) = ("",$id,""); + 056008 00 0200 if($arg =~ /^..6006(..)(.*)/) { # MULTI_CHANNEL CMD_ENCAP, V1, Forum #36126 $ep = $1; $baseHash = $modules{ZWave}{defptr}{"$homeId $id"}; @@ -5199,6 +5202,8 @@ s2Hex($)

Class SWITCH_MULTILEVEL
  • state:on
  • state:off
  • +
  • state:setOn
  • +
  • state:setOff
  • state:dim value
  • state:swmBeginUp
  • state:swmBeginDown