Set

class st.zwave.CommandClass.Basic.Set

Dynamically versioned BASIC_SET

Supported versions: 1,2; unique base versions: 1

cmd_class: number

0x20

cmd_id: number

0x01

version: number

1

args: st.zwave.CommandClass.Basic.SetV1Args
construct(module, args)

Construct a BASIC_SET object at the module instance serialization version.

Parameters
Return type

st.zwave.CommandClass.Basic.Set

class st.zwave.CommandClass.Basic.SetV1: st.zwave.Command

v1 and forward-compatible v2 BASIC_SET

cmd_class: number

0x20

cmd_id: number

0x01

version: number

1

args: st.zwave.CommandClass.Basic.SetV1Args

command-specific arguments

init(module, args)

Initialize a v1 and forward-compatible v2 BASIC_SET object.

Parameters
serialize()

Serialize v1 or forward-compatible v2 BASIC_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 or forward-compatible v2 BASIC_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Basic.SetV1Args

class st.zwave.CommandClass.Basic.SetV1Args
value: integer

[0,255]