mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
10_ZWave.pm: Fix SWITCH_MULTILEVEL V4 (Forum #96848)
git-svn-id: https://svn.fhem.de/fhem/trunk@18503 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d17d06a139
commit
47b261948c
@ -83,11 +83,12 @@ my %zwave_class = (
|
|||||||
stop => "05" },
|
stop => "05" },
|
||||||
get => { swmStatus => "02",
|
get => { swmStatus => "02",
|
||||||
swmSupported=> "06" },
|
swmSupported=> "06" },
|
||||||
parse => { "..2603(.*)"=> '($1 eq "00" ? "state:off" :
|
parse => { "..2603(..)"=> '($1 eq "00" ? "state:off" :
|
||||||
($1 eq "ff" ? "state:on" :
|
($1 eq "ff" ? "state:on" :
|
||||||
"state:dim ".hex($1)))',
|
"state:dim ".hex($1)))',
|
||||||
"052603(..)(..)(..)" => 'sprintf("swmStatus:%s target %s '.
|
"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",
|
"..260100.."=> "state:setOff",
|
||||||
"..2601ff.."=> "state:setOn",
|
"..2601ff.."=> "state:setOn",
|
||||||
"..260420" => "state:swmBeginUp",
|
"..260420" => "state:swmBeginUp",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user