Get

class st.zwave.CommandClass.Meter.Get

Dynamically versioned METER_GET

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

cmd_class: number

0x32

cmd_id: number

0x01

version: number

1,2,3,4

args: st.zwave.CommandClass.Meter.GetV1Args or st.zwave.CommandClass.Meter.GetV2Args or st.zwave.CommandClass.Meter.GetV3Args or st.zwave.CommandClass.Meter.GetV4Args
construct(module, args)

Construct a METER_GET object at the module instance serialization version.

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

  • args (st.zwave.CommandClass.Meter.GetV1Args or st.zwave.CommandClass.Meter.GetV2Args or st.zwave.CommandClass.Meter.GetV3Args or st.zwave.CommandClass.Meter.GetV4Args) – command-specific arguments

Return type

st.zwave.CommandClass.Meter.Get

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

v1 METER_GET

cmd_class: number

0x32

cmd_id: number

0x01

version: number

1

args: st.zwave.CommandClass.Meter.GetV1Args

command-specific arguments

init(module, args)

Initialize a v1 METER_GET object.

Parameters
serialize()

Serialize v1 METER_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 METER_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Meter.GetV1Args

class st.zwave.CommandClass.Meter.GetV1Args
class st.zwave.CommandClass.Meter.GetV2: st.zwave.Command

v2 METER_GET

cmd_class: number

0x32

cmd_id: number

0x01

version: number

2

args: st.zwave.CommandClass.Meter.GetV2Args

command-specific arguments

init(module, args)

Initialize a v2 METER_GET object.

Parameters
serialize()

Serialize v2 METER_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 METER_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Meter.GetV2Args

class st.zwave.CommandClass.Meter.GetV2Args
scale: integer

see Meter.scale

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

v3 METER_GET

cmd_class: number

0x32

cmd_id: number

0x01

version: number

3

args: st.zwave.CommandClass.Meter.GetV3Args

command-specific arguments

init(module, args)

Initialize a v3 METER_GET object.

Parameters
serialize()

Serialize v3 METER_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v3 METER_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Meter.GetV3Args

class st.zwave.CommandClass.Meter.GetV3Args
scale: integer

see Meter.scale

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

v4 and forward-compatible v5,v6 METER_GET

cmd_class: number

0x32

cmd_id: number

0x01

version: number

4

args: st.zwave.CommandClass.Meter.GetV4Args

command-specific arguments

init(module, args)

Initialize a v4 and forward-compatible v5,v6 METER_GET object.

Parameters
serialize()

Serialize v4 or forward-compatible v5,v6 METER_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v4 or forward-compatible v5,v6 METER_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Meter.GetV4Args

class st.zwave.CommandClass.Meter.GetV4Args
scale: integer

see Meter.scale

rate_type: integer

see Meter.rate_type

scale_2: integer

see Meter.scale