WWW.VEMMIO.COM
switch ON an d OFF both relay 1 an d relay 2
[Command Cla ss Basic, Basi c Set, Value = 1~99, 255(0xFF)]:
the load at tached to the Sw itch turns on.
[Command Cla ss Basic, Basi c Set, Value = 0(0x 00)]: the load
attache d to the Switch turns o ff.
[Command Cla ss Switch Binar y, Switch Binary Se t, Value =
1~99, 255(0xFF)]: the loa d attached to th e Switch turns on .
[Command Cla ss Switch Binar y, Switch Binary Se t, Value =
0(0x00)]: the loa d attached to th e Switch turns of f.
2. Z-Wave’s Groups (As sociation Comm and Class Version 2)
The Switch ca n be set to send r eports t o control asso ciated Z-Wave devices. It sup ports 3 a ssociation g roups which
every grou p has one nod e support . Group1~Grou p3 suppor t
SWITCH_BINARY_REPORT,
METER_REPORT_COMMAND_V3
For group 1, th e Double Switch will repo rt (1) ON/OFF st atus
of Relay1 and Relay 2 (2) Instant Power Con sumption (Watt) of
Relay1 and Relay2 (3 ) Accumulated Pow er Consumptio n (KWh)
of Relay1 and Relay 2 to Z-Wave Controller.
For group 2, t he Double Sw itch will report (1) ON/OFF st atus
of Relay1 (2) Inst ant Power Con sumption ( Watt) of Relay1 (3)
Accumulate d Power Consumption (K Wh) of Relay1 to Z-Wave
Controller.
For group 3, t he Double Sw itch will report (1) ON/OFF st atus
of Relay2 (2) Ins tant Power Con sumption (Watt) of Relay2 (3 )
Accumulate d Power Consumption (K Wh) of Relay2 to Z-Wave
Controller.
2-1 Auto report to Gro uping 1 ~3 (Maximum N ode 1)
2-1-1 O n/Off Event Repo rt
When “on” or “off” s tate has been changed, i t will send Bina ry
Switch Repor t to the nodes o f Group1~3.
Binary Swi tch Report
ON:[Command Cla ss Switch Bina ry, Switch Binar y Report ,
Value =255 (0xFF)]
OFF:[Comma nd Class Switc h Binary, Switch B inary Rep ort,
Value =0 (0x 00)]
2-1-2 Instant Power Consum ption vary over 5% re port
When the po wer consumption o f load vary over 5% , it will send
Meter repo rt to the nodes o f Group
Meter Repor t Command:
[Command Cla ss Meter, Meter Report , Rate Type = 0x01, Meter Type = 0x01,
Precision = 1 , Scale = 0x02 , Size = 4, Meter Value (W) ]
2-1-3 overload alarm report command
When DOU BLE SWITCH d etects th e overload, i t will send
Alarm Repor t to the corresp ond Group.
The content of A larm Report
Alarm report command: [Command_Class_Ala rm, Alarm_Re-
port, Ala rm Type = 0x08,
Alarm Level = 0x FF]
2-2 Response to Mete r Get Command
The Doubl e Switch will rep ort its (1) instant Power Con sumption (Watt) o r (2) accumula ted power con sumption( KWH) or
(3) AC load Voltage ( V) or (4) AC load cur rent ( I ) (5) load power
factor (PF ) to Z-Wave Controller aft er receive the M eter Get
Command fr om Z-Wave Controller.
2-2-1 Instant Power Consum ption (Watt) of Sw itch
When recei ving Meter Get Comman d, it will report Meter Re port Com mand to the node a sked.
Meter Get Co mmand: [Com mand Class Me ter, Meter Get,
Scale =0x02(W)]
Meter Repor t Command:
[Command Cla ss Meter, Meter Report , Rate Type = 0x01, Meter Type = 0x01,
Precision = 1 , Scale = 0x02 , Size = 4, Meter Value (W) ]
2-2-2 Accumulated Power Co nsumption (K W/h)
When recei ving Meter Get Comman d, it will report Meter Re port Com mand to the node a sked.
Meter Get Co mmand:
[Command Cla ss Meter, Meter Get, S cale = 0x00 K W/h)]
Meter Repor t Command:
[Command Cla ss Meter, Meter Repor t, Rate Type = 0x01, Me ter Type =0x01 , Precision = 2 , Scale = 0x 00, Size = 4, M eter
Value (KWh)]
Accumulate d power consu mption (K W/h) = (Meter Value
2*65536) + (Meter Value 3 *256) + (Meter Val ue 4) = 800 .35
(KW/h )
2-2-3 Clearing accum ulated power con sumption
Whenever re-start counting the accumulated power consumption is need ed, you can use M eter Reset Comma nd to clear it.
Meter Reset C ommand: [Command Class Meter, Meter Reset]
2-2-4 AC load Voltage (V )
When recei ving Meter Get Comman d, it will report Meter Re port Com mand to the node a sked.
Meter Get Co mmand: [Comm and Class Me ter, Meter Get,
Scale =0x04(V)]
Meter Repor t Command:
[Command Cla ss Meter, Meter Report , Rate Type = 0x01, Meter Type = 0x01, Pre cision = 1, Sc ale = 0x04, Size = 2, Mete r
Value(V)]
2-2-5 AC load current ( I )
When recei ving Meter Get Comman d, it will report Meter Re port Com mand to the node a sked.
Meter Get Co mmand: [Comm and Class Me ter, Meter Get,
Scale =0 x05(I)]
Meter Repor t Command:
[Command Cla ss Meter, Meter Report , Rate Type = 0x01, Meter Type = 0x01,
Precision = 2 , Scale = 0x05 , Size = 2, Meter Value (I)]
2-2-6 load power fa ctor (PF)
When recei ving Meter Get Comman d, it will report Meter Re port Com mand to the node a sked.
Meter Get Co mmand: [Comm and Class Me ter, Meter Get,
Scale =0x06 (PF)]
Meter Repor t Command:
[Command Cla ss Meter, Meter Rep ort, Rate Type = 0x 01,
Meter Type = 0x01 , Precision = 2, Sc ale = 0x06, Size = 1 By tes,
Meter Value(PF)]
2-3 Multi Channe l Command Class Ver sion 3
DOUBLE S WITCH also suppo rts Multi Chann el command class
(version 3), whi ch include
BINARY_SWITCH_GET, BINARY_SWITCH_SET, BASIC_GET,
BAS IC_ SE T,
METER_SUPPORTED_GET, METER_RESET, METER_GET
You may control or get r eport fro m 3 endpoint s of DOUBL E
SWITCH.
2-3-1 BINARY_SWITCH _GET,
You may get the ON/O FF state from ev ery endp oint, when
endpoint s et to 1, DOUBLE SWI TCH will reply state of Relay1 .
If endpoint s et to 2, DOUB LE SWITCH will re ply state of Relay 2.
If endpoint s et to 3, DOU BLE SWITCH w ill reply ON (0 xFF)
when eithe r Relay 1 or Relay2 is ON, repor t OFF (0x00) wh en
both Relay 1 and Re lay2 are OFF. Below is a n example sh owing a source en dpoint 5 sen ding a Get comm and to DOUB LE
SWITCH endp oint 3.
Please note: t he below tab les prese nt informati on for the foll owing:
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Po int = 0x05 (this is the endp oint of
command inquirer here we
assume end point is 5, if the
inquirer doesn’t suport multi
Channel this v alue will be 0)
(Bit Address+Destination End
Point = 0x03 )
(Bit Address =0; Destinati on
End Point rang e from 1~3)
Command Cla ss = 0x25 (Command_Class_Switch_Bi-
nary = 0x 25)
Command =0x02 (Switch_ Binary_Get = 0 x02)
Below is the ex ample show D OUBLE SW ITCH repor t to last
command
Source End Po int = 0x03 Since the en dpoint is 3 so
DOUBLE S WITCH will reply
ON(0xFF ) when either R elay
1 or Relay2 is ON , report OFF
(0x0 0) when both Relay 1 a nd
Relay2 are OFF
(Bit Address+Destination End
Point = 0x05 )
(Bit Address = 0; Destination
End Point
Command Cla ss = 0x25 (Command_Class_Switch_
Binary=0x25)
Parameter 1 = 0 xFF (ON=0xFF, OFF=0x00 )
2-3-2 BINARY_SWITCH _SET
By using BINA RY_SWITCH _SE T Command o f Multi Channe l
Command Cla ss Encapsul ation Comman d, you can s witch Relay1 ON/OFF by s etting end point to 1, or s witch Relay2 ON /
OFF by settin g endpoint to 2, or s witch both Relay1 and R elay2
ON/OFF by set ting endpoin t to 3
The exampl e of the comman d shows that s witch off re lay1 of
DOUBLE SWITCH
Source End Po int = 0x01 (this is the endp oit of com-
mand inquirer here
we assume edn point is 1, if the
inquirer doesn’t
suport mu lti channel, th is
value will be 0)
(Bit Address+Destination End
Point=0x01)
(Bit Address = 0; Destination
End Point rang e 1-3
Command Cla ss = 0x25 (Command_Class_Switch_
Binary=0x25)
Command =0x01 (Switch_ Binary_S et = 0x01)
Parameter 1 = 0 x00 (ON=0xF F , OFF=0x0 0)
2-3-3 METER_SUPPORTED_GET
This comman d is to ask the endpo int of DOUBLE S WITCH what
kind of meter da ta can be repor ted.
The exampl e shows how to get th e meter repor t type
Source End Po int = 0x01 (this is the endp oint of
command inquirer here we
assume end point is 1, if the
inquirer doesn’t support Multi
Channel this v alue will be 0)
(Bit Address+Destination End
Point = 0x03 )
(Bit Address =0; Destinati on
End Point range1~3)
Command Cla ss = 0x32 (Command_Cla ss_Meter_V3
= 0x32)
Command =0x03 (Meter_Supp orted_Get =
0x03)
Below is the ex ample show D OUBLE SW ITCH repor t to last
command
Source End Po int = 0x03
(Bit Address+Destination End Point = 0x01)
Command Cla ss = 0x32
Command Cla ss = 0x32
(Command_Cla ss_Meter_V3
= 0x32)
Command =0x04 (Meter_Supp orted_Repo rt
= 0x04)
Parameter 1 = 0 x81 (Meter Reset =1, Me ter
Typ e=0 x0 1)
Parameter 2 = 0 x75 (Scale Supp orted =
KWh +W+V+A+Powe r Facto r
= 0x75)
2-3-4 METER_RESET
This comman d is to reset the Acc umulated Power Co nsumption
(KWh) to 0
The exampl e shows how to rese t the KWh
Source End Po int = 0x03 (this is the endp oint of com-
mand
inquirer, here we assume
endpoint is 3, if the inquirer
doesn’t sup port multi
Channel this v alue will be 0)
(Bit Address+Destination End
Point = 0x01)
(Bit Address = 0; Destination
End Point = rang e 1-3
Command Cla ss = 0x32 (Command_Cla ss_Meter_V3
= 0x32)
Command =0x05 (Meter Reset = 0 x05)
2-3-5 METER _GET:
Using meter get c ommand to get the K WH, W, V, I, PF from en dpoint of DOU BLE SWITCH 2-3-5 -1 Get KWH from endp oint
Meter_GET example:
Source End Po int = 0x05 (this is the endp oint of
command inquirer, here we
assume end point is 5, if the
inquirer doesn’t support multi
Channel this v alue will be 0)
(Bit Address+Destination End
Point = 0x03 )
(Bit Address =0 ; Destination
End Point range1~3)
Command Cla ss = 0x32 (Command_Cla ss_Meter_V3
= 0x32)
Command =0x01 (Meter_Get = 0x 01)
Parameter 1 = 0 x00 (Scale = KW H = 0X00)
Accumulated power consumption (KWH) Report example:
Source End Po int = 0x03 (Meter repo rt = Endpoint3)
(Bit Address+Destination End
Point = 0x05 )
(Bit Address =0; Destinati on
End Point = comm and in-
quirer’s Endpoint value)
Command Cla ss = 0x32 (Command_Cla ss_Meter_V3
= 0x32)
Command =0x02 (Meter_Report = 0x02)
Parameter 1 = 0 x21 (Scale Bit2 = 0 , Rate Type =
0x01, Meter Type=0x01)
Parameter 2 = 0 x44 (Precision = 2, S cale Bit1Bit0
= 0, Size = 4)
Accumulated Power Con-
sumption =0x000005FD =
15.33 KWh
Parameter 3 = 0 x00
Parameter 4 = 0 x00
Parameter 5 = 0 x05
Parameter 6 = 0 xFD
2-3-5-2 Get Insta nt Power Consum ption (Watt) fro m endpoint
METER_GET example:
Source End Po int = 0x05 (this is the endp oint of
command inquirer, here we
assume end point is 5, if the
inquirer doesn’t support multi
Channel this v alue will be 0)
(Bit Address+Destination End
Point =0x03)
(Bit Address =0:Des tination
End Point rang e 1~3)
Command Cla ss = 0x32 ( Command_Class_Meter_V3
= 0x32)
Command = 0 x01 (Meter_Get = 0x01)
Parameter 1 = 0 x10 (Scale = W = 0x0 2)
DOUBLE S WITCH Insta nt Power Cons umption ( W) Repor t
example:
Source End Po int = 0x03 (Meter repo rt = Endpoint 3)
(Bit Address+Destination End
Point = 0x05 )
(Bit Address =0 ; Destination
End Point = comm and in-
quirer’s Endpoint value)