Multilevel Switch

Version supported : 4

Interview process

  1. Multilevel Switch Get

  2. Multilevel Switch Supported Get

Command Class Commands

Multilevel Switch Set

Trigger on new desired value of STATE

Mapping between attribute store and Set command :

Z-Wave Attribute Store

Attribute State

Z-Wave Set Field

VALUE

Desired

Target Value

DURATION

Desired

Duration

Multilevel Switch Get

Trigger on undefined reported value of STATE

Multilevel Switch Report

Mapping between Report command and attribute store :

Z-Wave Command Attribute

Z-Wave Attribute Store

Current Value

VALUE

Target Value

VALUE

Duration

DURATION

Multilevel Switch Supported Get

Trigger on undefined reported value of CAPABILITIES_REQUESTED

Multilevel Switch Supported Report

Mapping between Report command and attribute store :

Warning

We do nothing with this frame, just mark value of CAPABILITIES_REQUESTED in the attribute store that the capabilities have been requested.

Note

The structure of the attribute store is :

|__ STATE
|   |__ VALUE
|   |__ DURATION
|__ CAPABILITIES_REQUESTED

Unify Clusters

UAM files

UAM File

Cluster

Comments

OnOff_to_MultilevelSwitchCC.uam

OnOff.xml

Mapping with OnOff Cluster

Level_to_MultilevelSwitchCC.uam

Level.xml

Mapping with Level Cluster

Bindings

Z-Wave Attribute Store

Cluster attribute

Comments

VALUE

OnOff On/Off

Z-Wave -> Cluster (Read Only)

VALUE

Level CurentLevel

Z-Wave <-> Cluster (Read/Write)

DURATION

Level TransitionTime

Z-Wave <-> Cluster (Read/Write)

DURATION

Level RemainingTime

Z-Wave -> Cluster (Read Only)

0

Level MinLevel

Z-Wave -> Cluster (Read Only)

99

Level MaxLevel

Z-Wave -> Cluster (Read Only)

Command actions

Action

MQTT Topic

Comments

Move to Level in time

ucl/by-unid/+/+/Level/Commands/MoveToLevel { "Level": 50, "TransitionTime": 50, "OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }

Will set VALUE to 50 and DURATION to 50 second

Move to Level in time

ucl/by-unid/+/+/Level/Commands/Move { "MoveMode": 1, "Rate": 10,"OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }

Move to Level in time

ucl/by-unid/+/+/Level/Commands/Step { "StepMode": 1,"StepSize": 10, "TransitionTime": 30,"OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }

Stop at Current Level now

ucl/by-unid/+/+/Level/Commands/Stop { "OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }

Move to Level in time with OnOff

ucl/by-unid/+/+/Level/Commands/MoveToLevelWithOnOff { "Level": 50, "TransitionTime": 50, "OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }}

Move to Level in time with OnOff

ucl/by-unid/+/+/Level/Commands/MoveWithOnOff { "MoveMode": 1, "Rate": 10, "OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }

Move to Level in time with OnOff

ucl/by-unid/+/+/Level/Commands/StepWithOnOff { "StepMode": 1,"StepSize": 10, "TransitionTime": 30,"OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }

Stop at Current Level now with OnOff

ucl/by-unid/+/+/Level/Commands/StopWithOnOff { "OptionsMask": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0},"OptionsOverride": {"ExecuteIfOff" : 0, "CoupleColorTempToLevel" : 0} }

Get Current Level

ucl/by-unid/+/+/Level/Attributes/CurrentLevel/Desired { "value": 10}    ucl/by-unid/+/+/Level/Attributes/CurrentLevel/Reported { "value": 10}

Reported and Desired value

Get Remaining Time

ucl/by-unid/+/+/Attributes/RemainingTime/Reported { "value": 60}

Only Report value

Get Transition Time

ucl/by-unid/+/+/Attributes/OnOffTransitionTime/Desired { "value": 60}   ucl/by-unid/+/+/Attributes/OnOffTransitionTime/Reported { "value": 60}

Reported and Desired value