1. Overview
AirLive SA-102 User Manual
11
1.6.4.4. METER_RESET
This command is to reset the Accumulated Power Consumption (KWh) to 0. The example
show how to reset the KWh
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x03
(this is the endpoint of command
inquirer, here we assume endpoint is 3
,
if
the inquirer doesn’t support multi
Channel this value will be 0)
(Bit Destination End Point = 0x01)
(Bit Address =0
;
Destination End Point
range1~3)
Command Class = 0x32
( Command_Class_Meter_V3 = 0x32)
Command =0x05
( Meter_Reset = 0x05)
1.6.4.5. METER_GET
Using meter get command to get the KWH, W, V, I, PF from endpoint of SA-102
1.6.4.5.1. Get KWH from endpoint
Meter_GET example
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x05
(this is the endpoint of command inquirer,
here we assume endpoint is 5
,
if the
inquirer doesn’t support multi Channel
this value will be 0)
(Bit Destination End Point = 0x03)
(Bit Address =0
;
Destination End Point
range1~3)
Command Class = 0x32
( Command_Class_Meter_V3 = 0x32)
Command =0x01
(Meter_Get = 0x01)
Parameter 1 = 0x00
(Scale = KWH = 0x00)
Accumulated power consumption (KWH) Report example:
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x03
(Meter report = Endpoint3)
(Bit Destination End Point = 0x05)
(Bit Address =0
;
Destination End Point =