Set
- class st.zwave.CommandClass.Indicator.Set
Dynamically versioned INDICATOR_SET
Supported versions: 1,2,3,4; unique base versions: 1,2
- cmd_class: number
0x87
- cmd_id: number
0x01
- version: number
1,2
- args: st.zwave.CommandClass.Indicator.SetV1Args or st.zwave.CommandClass.Indicator.SetV2Args
- construct(module, args)
Construct an INDICATOR_SET object at the module instance serialization version.
- Parameters
module (
st.zwave.CommandClass.Indicator
) – command class module instanceargs (
st.zwave.CommandClass.Indicator.SetV1Args or st.zwave.CommandClass.Indicator.SetV2Args
) – command-specific arguments
- Return type
- class st.zwave.CommandClass.Indicator.SetV1: st.zwave.Command
v1 INDICATOR_SET
- cmd_class: number
0x87
- cmd_id: number
0x01
- version: number
1
- args: st.zwave.CommandClass.Indicator.SetV1Args
command-specific arguments
- init(module, args)
Initialize a v1 INDICATOR_SET object.
- Parameters
module (
st.zwave.CommandClass.Indicator
) – command class module instanceargs (
st.zwave.CommandClass.Indicator.SetV1Args
) – command-specific arguments
- serialize()
Serialize v1 INDICATOR_SET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v1 INDICATOR_SET payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Indicator.SetV1Args
- value: integer
see
Indicator.value
- class st.zwave.CommandClass.Indicator.SetV2: st.zwave.Command
v2 and forward-compatible v3,v4 INDICATOR_SET
- cmd_class: number
0x87
- cmd_id: number
0x01
- version: number
2
- args: st.zwave.CommandClass.Indicator.SetV2Args
command-specific arguments
- init(module, args)
Initialize a v2 and forward-compatible v3,v4 INDICATOR_SET object.
- Parameters
module (
st.zwave.CommandClass.Indicator
) – command class module instanceargs (
st.zwave.CommandClass.Indicator.SetV2Args
) – command-specific arguments
- serialize()
Serialize v2 or forward-compatible v3,v4 INDICATOR_SET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v2 or forward-compatible v3,v4 INDICATOR_SET payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Indicator.SetV2Args
- indicator_0_value: integer
- indicator_objects: list[st.zwave.CommandClass.Indicator.SetV2ArgsIndicatorObjects]
- class st.zwave.CommandClass.Indicator.SetV2ArgsIndicatorObjects
- indicator_id: integer
- property_id: integer
- value: integer
see
Indicator.value