Reset

class st.zwave.CommandClass.Meter.Reset

Dynamically versioned METER_RESET

Supported versions: 2,3,4,5,6; unique base versions: 2,6

cmd_class: number

0x32

cmd_id: number

0x05

version: number

2,6

args: st.zwave.CommandClass.Meter.ResetV2Args or st.zwave.CommandClass.Meter.ResetV6Args
construct(module, args)

Construct a METER_RESET object at the module instance serialization version.

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

  • args (st.zwave.CommandClass.Meter.ResetV2Args or st.zwave.CommandClass.Meter.ResetV6Args) – command-specific arguments

Return type

st.zwave.CommandClass.Meter.Reset

class st.zwave.CommandClass.Meter.ResetV2: st.zwave.Command

v2 and forward-compatible v3,v4,v5 METER_RESET

cmd_class: number

0x32

cmd_id: number

0x05

version: number

2

args: st.zwave.CommandClass.Meter.ResetV2Args

command-specific arguments

init(module, args)

Initialize a v2 and forward-compatible v3,v4,v5 METER_RESET object.

Parameters
serialize()

Serialize v2 or forward-compatible v3,v4,v5 METER_RESET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 or forward-compatible v3,v4,v5 METER_RESET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Meter.ResetV2Args

class st.zwave.CommandClass.Meter.ResetV2Args
class st.zwave.CommandClass.Meter.ResetV6: st.zwave.Command

v6 METER_RESET

cmd_class: number

0x32

cmd_id: number

0x05

version: number

6

args: st.zwave.CommandClass.Meter.ResetV6Args

command-specific arguments

init(module, args)

Initialize a v6 METER_RESET object.

Parameters
serialize()

Serialize v6 METER_RESET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v6 METER_RESET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Meter.ResetV6Args

class st.zwave.CommandClass.Meter.ResetV6Args
meter_type: integer

see Meter.meter_type

meter_value: str