16
SWITCH OUTLET GROUP (COMMAND)
Command to switch a group of outlets ON or OFF.
SEND
<command>
<outlets grp=”
outlets
”>
OSTATE
</outlets>
</command>
outlets
= affected outlets bitmap, expressed in hex. LSB (bit 0)
represents outlet 1, bit 3 represents outlet 4
OSTATE
= 0: switch outlet OFF
OSTATE
= 1: switch outlet ON
RECEIVE
None
No response
Example: switch
ON
outlets 2 and 4
.
<command><outlets grp=”0a”>1</outlets></command>
Bit 7
N/A
Bit 6
N/A
Bit 5
N/A
Bit 4
N/A
Bit 3
Outlet 4
Bit 2
Outlet 3
Bit 1
Outlet 2
Bit 0
Outlet 1
0
0
0
0
1
0
1
0
CYCLE OUTLET (COMMAND)
Command to power cycle an individual outlet.
SEND
<command>
<cycleoutlet id=”
outlet
”/>
</command>
outlet
= outlet number to power cycle
RECEIVE
None
No response
Example: to power cycle outlet 2.
<command><cycleoutlet id=”
2
”/></command>