Report
- class st.zwave.CommandClass.Meter.Report
Dynamically versioned METER_REPORT
Supported versions: 1,2,3,4,5,6; unique base versions: 1,2,3,4
- cmd_class: number
0x32
- cmd_id: number
0x02
- version: number
1,2,3,4
- args: st.zwave.CommandClass.Meter.ReportV1Args or st.zwave.CommandClass.Meter.ReportV2Args or st.zwave.CommandClass.Meter.ReportV3Args or st.zwave.CommandClass.Meter.ReportV4Args
- construct(module, args)
Construct a METER_REPORT object at the module instance serialization version.
- Parameters
module (
st.zwave.CommandClass.Meter
) – command class module instanceargs (
st.zwave.CommandClass.Meter.ReportV1Args or st.zwave.CommandClass.Meter.ReportV2Args or st.zwave.CommandClass.Meter.ReportV3Args or st.zwave.CommandClass.Meter.ReportV4Args
) – command-specific arguments
- Return type
- class st.zwave.CommandClass.Meter.ReportV1: st.zwave.Command
v1 METER_REPORT
- cmd_class: number
0x32
- cmd_id: number
0x02
- version: number
1
- args: st.zwave.CommandClass.Meter.ReportV1Args
command-specific arguments
- init(module, args)
Initialize a v1 METER_REPORT object.
- Parameters
module (
st.zwave.CommandClass.Meter
) – command class module instanceargs (
st.zwave.CommandClass.Meter.ReportV1Args
) – command-specific arguments
- serialize()
Serialize v1 METER_REPORT arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v1 METER_REPORT payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Meter.ReportV1Args
- meter_type: integer
see
Meter.meter_type
- size: integer
[0,7]
- scale: integer
see
Meter.scale
- precision: integer
[0,7]
- meter_value: number
[-2147483648,2147483647]
- class st.zwave.CommandClass.Meter.ReportV2: st.zwave.Command
v2 METER_REPORT
- cmd_class: number
0x32
- cmd_id: number
0x02
- version: number
2
- args: st.zwave.CommandClass.Meter.ReportV2Args
command-specific arguments
- init(module, args)
Initialize a v2 METER_REPORT object.
- Parameters
module (
st.zwave.CommandClass.Meter
) – command class module instanceargs (
st.zwave.CommandClass.Meter.ReportV2Args
) – command-specific arguments
- serialize()
Serialize v2 METER_REPORT arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v2 METER_REPORT payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Meter.ReportV2Args
- meter_type: integer
see
Meter.meter_type
- rate_type: integer
see
Meter.rate_type
- size: integer
[0,7]
- scale: integer
see
Meter.scale
- precision: integer
[0,7]
- meter_value: number
[-2147483648,2147483647]
- delta_time: integer
[0,65535]
- previous_meter_value: number
[-2147483648,2147483647]
- class st.zwave.CommandClass.Meter.ReportV3: st.zwave.Command
v3 METER_REPORT
- cmd_class: number
0x32
- cmd_id: number
0x02
- version: number
3
- args: st.zwave.CommandClass.Meter.ReportV3Args
command-specific arguments
- init(module, args)
Initialize a v3 METER_REPORT object.
- Parameters
module (
st.zwave.CommandClass.Meter
) – command class module instanceargs (
st.zwave.CommandClass.Meter.ReportV3Args
) – command-specific arguments
- serialize()
Serialize v3 METER_REPORT arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v3 METER_REPORT payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Meter.ReportV3Args
- meter_type: integer
see
Meter.meter_type
- rate_type: integer
see
Meter.rate_type
- size: integer
[0,7]
- precision: integer
[0,7]
- meter_value: number
[-2147483648,2147483647]
- delta_time: integer
[0,65535]
- previous_meter_value: number
[-2147483648,2147483647]
- class st.zwave.CommandClass.Meter.ReportV4: st.zwave.Command
v4 and forward-compatible v5,v6 METER_REPORT
- cmd_class: number
0x32
- cmd_id: number
0x02
- version: number
4
- args: st.zwave.CommandClass.Meter.ReportV4Args
command-specific arguments
- init(module, args)
Initialize a v4 and forward-compatible v5,v6 METER_REPORT object.
- Parameters
module (
st.zwave.CommandClass.Meter
) – command class module instanceargs (
st.zwave.CommandClass.Meter.ReportV4Args
) – command-specific arguments
- serialize()
Serialize v4 or forward-compatible v5,v6 METER_REPORT arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v4 or forward-compatible v5,v6 METER_REPORT payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Meter.ReportV4Args
- meter_type: integer
see
Meter.meter_type
- rate_type: integer
see
Meter.rate_type
- size: integer
[0,7]
- precision: integer
[0,7]
- meter_value: number
[-2147483648,2147483647]
- delta_time: integer
[0,65535]
- previous_meter_value: number
[-2147483648,2147483647]
- scale_2: integer
see
Meter.scale