Health Report

class st.zwave.CommandClass.Battery.HealthReport

Dynamically versioned BATTERY_HEALTH_REPORT

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

cmd_class: number

0x80

cmd_id: number

0x05

version: number

2

args: st.zwave.CommandClass.Battery.HealthReportV2Args
construct(module, args)

Construct a BATTERY_HEALTH_REPORT object at the module instance serialization version.

Parameters
Return type

st.zwave.CommandClass.Battery.HealthReport

class st.zwave.CommandClass.Battery.HealthReportV2: st.zwave.Command

v2 and forward-compatible v3 BATTERY_HEALTH_REPORT

cmd_class: number

0x80

cmd_id: number

0x05

version: number

2

args: st.zwave.CommandClass.Battery.HealthReportV2Args

command-specific arguments

init(module, args)

Initialize a v2 and forward-compatible v3 BATTERY_HEALTH_REPORT object.

Parameters
serialize()

Serialize v2 or forward-compatible v3 BATTERY_HEALTH_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 or forward-compatible v3 BATTERY_HEALTH_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Battery.HealthReportV2Args

class st.zwave.CommandClass.Battery.HealthReportV2Args
maximum_capacity: integer

[0,255]

size: integer

[0,7]

scale: integer

[0,3]

precision: integer

[0,7]

battery_temperature: number

[-2147483648,2147483647]