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 instance

  • args (st.zwave.CommandClass.Battery.ReportV1Args or st.zwave.CommandClass.Battery.ReportV2Args or st.zwave.CommandClass.Battery.ReportV3Args) – command-specific arguments

Return type

st.zwave.CommandClass.Battery.Report

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
serialize()

Serialize v1 BATTERY_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 BATTERY_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Battery.ReportV1Args

class st.zwave.CommandClass.Battery.ReportV1Args
battery_level: integer

see Battery.battery_level

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
serialize()

Serialize v2 BATTERY_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 BATTERY_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Battery.ReportV2Args

class st.zwave.CommandClass.Battery.ReportV2Args
battery_level: integer

see Battery.battery_level

replace_recharge: integer

[0,3]

low_fluid: boolean
overheating: boolean
backup_battery: boolean
rechargeable: boolean
charging_status: integer

see Battery.charging_status

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
serialize()

Serialize v3 BATTERY_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v3 BATTERY_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Battery.ReportV3Args

class st.zwave.CommandClass.Battery.ReportV3Args
battery_level: integer

see Battery.battery_level

replace_recharge: integer

[0,3]

low_fluid: boolean
overheating: boolean
backup_battery: boolean
rechargeable: boolean
charging_status: integer

see Battery.charging_status

disconnected: boolean
low_temperature_status: boolean