6
the node asked.
Meter Get Command: [Command Class Meter, Meter Get, Scale =0x06(PF)]
Meter Report Command:
[Command Class Meter
,
Meter Report
,
Rate Type = 0x01
,
Meter Type =
0x01
,
Precision = 2
,
Scale = 0x06
,
Size = 1 Bytes
,
Meter Value(PF)]
Example:
Scale = 0x06 (PF)
Precision = 2
Size = 1 (1 Byte of PF)
Meter Value 1 = 0x63(PF) (It means that the load power factor is 0.99)
2-3 Multi Channel Command Class Version 3
DS-100 also support Muti Channel command class (version 3), which include
BINARY_SWITCH_GET, BINARY_SWITCH_SET, BASIC_GET, BASIC_SET,
METER_SUPPORTED_GET, METER_RESET, METER_GET
You may control or get report from 3 endpoints of DS-100
2-3-1 BINARY_SWITCH_GET,
You may get the ON/OFF state from every endpoint, when endpoint set to 1,
DS-100 will reply state of Relay1. If endpoint set to 2, DS-100 will reply state of
Relay2. If endpoint set to 3, DS-100 will reply ON (0xFF) when either Relay 1
or Relay2 is ON, report OFF (0x00) when both Relay 1 and Relay2 are OFF.
Below is an example show a source endpoint 5 send a Get command to
DS-100 endpoint 3.
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
range from 1~3)
Command Class = 0x25
(Command_Class_Switch_Binary =
0x25)
Command =0x02
(Switch_Binary_Get = 0x02)
Below is the example show DS-100 report to last command
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x03
Since the endpoint is 3 so DS-100 will
reply ON(0xFF) when either Relay 1 or
Relay2 is ON, report OFF (0x00) when
both Relay 1 and Relay2 are OFF
(Bit Destination End Point = 0x05)
(Bit Address =0
;
Destination End Point)
Command Class = 0x25
(Command_Class_Switch_Binary =