Report
- class st.zwave.CommandClass.Battery.Report
Dynamically versioned BATTERY_REPORT
Supported versions: 1,2,3; unique base versions: 1,2,3
- cmd_class: number
0x80
- cmd_id: number
0x03
- version: number
1,2,3
- args: st.zwave.CommandClass.Battery.ReportV1Args or st.zwave.CommandClass.Battery.ReportV2Args or st.zwave.CommandClass.Battery.ReportV3Args
- construct(module, args)
Construct a BATTERY_REPORT object at the module instance serialization version.
- Parameters
module (
st.zwave.CommandClass.Battery
) – command class module instanceargs (
st.zwave.CommandClass.Battery.ReportV1Args or st.zwave.CommandClass.Battery.ReportV2Args or st.zwave.CommandClass.Battery.ReportV3Args
) – command-specific arguments
- Return type
- class st.zwave.CommandClass.Battery.ReportV1: st.zwave.Command
v1 BATTERY_REPORT
- cmd_class: number
0x80
- cmd_id: number
0x03
- version: number
1
- args: st.zwave.CommandClass.Battery.ReportV1Args
command-specific arguments
- init(module, args)
Initialize a v1 BATTERY_REPORT object.
- Parameters
module (
st.zwave.CommandClass.Battery
) – command class module instanceargs (
st.zwave.CommandClass.Battery.ReportV1Args
) – command-specific arguments
- serialize()
Serialize v1 BATTERY_REPORT arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v1 BATTERY_REPORT payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Battery.ReportV2: st.zwave.Command
v2 BATTERY_REPORT
- cmd_class: number
0x80
- cmd_id: number
0x03
- version: number
2
- args: st.zwave.CommandClass.Battery.ReportV2Args
command-specific arguments
- init(module, args)
Initialize a v2 BATTERY_REPORT object.
- Parameters
module (
st.zwave.CommandClass.Battery
) – command class module instanceargs (
st.zwave.CommandClass.Battery.ReportV2Args
) – command-specific arguments
- serialize()
Serialize v2 BATTERY_REPORT arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v2 BATTERY_REPORT payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Battery.ReportV2Args
- battery_level: integer
- replace_recharge: integer
[0,3]
- low_fluid: boolean
- overheating: boolean
- backup_battery: boolean
- rechargeable: boolean
- charging_status: integer
- disconnected: boolean
- class st.zwave.CommandClass.Battery.ReportV3: st.zwave.Command
v3 BATTERY_REPORT
- cmd_class: number
0x80
- cmd_id: number
0x03
- version: number
3
- args: st.zwave.CommandClass.Battery.ReportV3Args
command-specific arguments
- init(module, args)
Initialize a v3 BATTERY_REPORT object.
- Parameters
module (
st.zwave.CommandClass.Battery
) – command class module instanceargs (
st.zwave.CommandClass.Battery.ReportV3Args
) – command-specific arguments
- serialize()
Serialize v3 BATTERY_REPORT arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v3 BATTERY_REPORT payload.
- Returns
deserialized arguments
- Return type