Report

class st.zwave.CommandClass.Basic.Report

Dynamically versioned BASIC_REPORT

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

cmd_class: number

0x20

cmd_id: number

0x03

version: number

1,2

args: st.zwave.CommandClass.Basic.ReportV1Args or st.zwave.CommandClass.Basic.ReportV2Args
construct(module, args)

Construct a BASIC_REPORT object at the module instance serialization version.

Parameters
  • module (st.zwave.CommandClass.Basic) – command class module instance

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

Return type

st.zwave.CommandClass.Basic.Report

class st.zwave.CommandClass.Basic.ReportV1: st.zwave.Command

v1 BASIC_REPORT

cmd_class: number

0x20

cmd_id: number

0x03

version: number

1

args: st.zwave.CommandClass.Basic.ReportV1Args

command-specific arguments

init(module, args)

Initialize a v1 BASIC_REPORT object.

Parameters
serialize()

Serialize v1 BASIC_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 BASIC_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Basic.ReportV1Args

class st.zwave.CommandClass.Basic.ReportV1Args
value: integer

[0,255]

class st.zwave.CommandClass.Basic.ReportV2: st.zwave.Command

v2 BASIC_REPORT

cmd_class: number

0x20

cmd_id: number

0x03

version: number

2

args: st.zwave.CommandClass.Basic.ReportV2Args

command-specific arguments

init(module, args)

Initialize a v2 BASIC_REPORT object.

Parameters
serialize()

Serialize v2 BASIC_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 BASIC_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Basic.ReportV2Args

class st.zwave.CommandClass.Basic.ReportV2Args
current_value: integer

[0,255]

target_value: integer

[0,255]

duration: number or str

[0,7560] or “unknown” or “reserved”