2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

10_ZWave.pm: decode set dim commands (Forum #103769)

git-svn-id: https://svn.fhem.de/fhem/trunk@20179 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-09-17 06:53:16 +00:00
parent 68b40b0e3a
commit bb4dc7593a

View File

@ -88,8 +88,9 @@ my %zwave_class = (
"state:dim ".hex($1)))',
"052603(..)(..)(..)" => 'sprintf("swmStatus:%s target %s '.
'duration %s", hex($1), hex($2), ZWave_byte2time($3))', # V4
"..260100.."=> "state:setOff",
"..2601ff.."=> "state:setOn",
"..2601(..).."=> '($1 eq "00" ? "state:setOff" :
($1 eq "ff" ? "state:setOn" :
"state:setDim ".hex($1)))',
"..260420" => "state:swmBeginUp",
"..260460" => "state:swmBeginDown",
"..2604(..)(..)(..)(..)" => 'ZWave_swmParse($1,$2,$3,$4)',