_____________________________________________________________________________
IP POWER PAGE 21 OF 32
http://
username
:
password
@
a.b.c.d
/Set.cmd?CMD=
command
+
outlet_id
=1/0+
out
let_id
=1/0
Where:
username
The username you use to login to the IP Power (default is
admin
)
password T
he password you use to login to the IP Power (default is
12345678
)
a.b.c.d
The IP address of the IP Power (default is
192.168.0.50
)
command
GetPower to read the status (specifying outlets is not required)
SetPower to turn on or off the ports (power setting for each outlet must
be specified after the command)
port_id
(SetPower only)
P60
Port 1
P61
Port 2
P62
Port 3
P63
Port 4
Example 1:
The HTTP command:
http://admin:[email protected]. 50/Set.cmd?CMD=GetPower
Returns the power status for each outlet in the following format (outlets 5 to 8 may
be ignored):
<html>P60=0,P61=0,P62=0,P63=0,P64=0,P65=0,P66=0,P67=0</html>
In the above example, all outlets are off.
Example 2:
The HTTP command:
http://admin:[email protected]/Set.cmd?CMD=SP60=1+P61=0+P
62=0+P63=1
_____________________________________________________________________________
IP POWER PAGE 22 OF 32
Turns the power on for the first (P60) and fourth (P63) outlets, and turns power off
for the second (P61) and third (P62) outlets. Returns the power status for each
outlet in the following format:
<html>P60=1,P61=0,P62=0,P63=1</html?>
Example 3:
The HTTP command: to control the 9258 operation at a specified time
http://username:[email protected]/Set.cmd?CMD=SetSPowe
r
=**+YY=****+MM=**+DD=**+HH=**+MN=**+SS=**+PARAM=****+ONOFF=*
Where:
Control parameters are 1A 1B 2A 2B 3A 3B 4A 4B.
A = connect power
B = disconnect power
YY=****+MM=**+DD=**+HH=**+MN=**+SS=* : time parameter
YY:
year (20YY), 01 = 2001
MM: month (0 1-12)
DD:
date (01-31)
HH:
hour (24 hours: 0- 23)
MN: minute (1-60)
SS:
second (1-60)
PARAM=*: time schedule parameter. Parameter list as follows:
128
Once only
127
Every day
31
Week days (Monday to Friday)
96
Weekend days (Saturday and Sunday)
ONOFF=*: operate parameter
0 open
1
close
For example: