diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 263dd6303..1a6431781 100644 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -83,11 +83,12 @@ my %zwave_class = ( stop => "05" }, get => { swmStatus => "02", swmSupported=> "06" }, - parse => { "..2603(.*)"=> '($1 eq "00" ? "state:off" : + parse => { "..2603(..)"=> '($1 eq "00" ? "state:off" : ($1 eq "ff" ? "state:on" : "state:dim ".hex($1)))', "052603(..)(..)(..)" => 'sprintf("swmStatus:%s target %s '. - 'duration %s", hex($1), hex($2), ZWave_duration($3))', # V4 + 'duration %s", hex($1), hex($2), + ZWave_time2byte($hash,hex($3)))', # V4 "..260100.."=> "state:setOff", "..2601ff.."=> "state:setOn", "..260420" => "state:swmBeginUp",