Get
- class st.zwave.CommandClass.Alarm.Get
Dynamically versioned ALARM_GET
Supported versions: 1,2; unique base versions: 1,2
- cmd_class: number
0x71
- cmd_id: number
0x04
- version: number
1,2
- args: st.zwave.CommandClass.Alarm.GetV1Args or st.zwave.CommandClass.Alarm.GetV2Args
- construct(module, args)
Construct an ALARM_GET object at the module instance serialization version.
- Parameters
module (
st.zwave.CommandClass.Alarm
) – command class module instanceargs (
st.zwave.CommandClass.Alarm.GetV1Args or st.zwave.CommandClass.Alarm.GetV2Args
) – command-specific arguments
- Return type
- class st.zwave.CommandClass.Alarm.GetV1: st.zwave.Command
v1 ALARM_GET
- cmd_class: number
0x71
- cmd_id: number
0x04
- version: number
1
- args: st.zwave.CommandClass.Alarm.GetV1Args
command-specific arguments
- init(module, args)
Initialize a v1 ALARM_GET object.
- Parameters
module (
st.zwave.CommandClass.Alarm
) – command class module instanceargs (
st.zwave.CommandClass.Alarm.GetV1Args
) – command-specific arguments
- serialize()
Serialize v1 ALARM_GET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v1 ALARM_GET payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Alarm.GetV2: st.zwave.Command
v2 ALARM_GET
- cmd_class: number
0x71
- cmd_id: number
0x04
- version: number
2
- args: st.zwave.CommandClass.Alarm.GetV2Args
command-specific arguments
- init(module, args)
Initialize a v2 ALARM_GET object.
- Parameters
module (
st.zwave.CommandClass.Alarm
) – command class module instanceargs (
st.zwave.CommandClass.Alarm.GetV2Args
) – command-specific arguments
- serialize()
Serialize v2 ALARM_GET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v2 ALARM_GET payload.
- Returns
deserialized arguments
- Return type