IP Power Manager XL-IPM401 User’s Guide
19
www.xtendlan.com
2.5.2.11
Control and Settings through HTTP commands
User can control the XL-IPM401’s action directly though the HTTP orders.
The format of the HTTP order is :
http://username:[email protected]/Set.cmd?CMD=***Power+para1=*+para2=*+para3=*..
Explanations of each part of the order:
¾
Username : XL-IPM401’s username, default username is admin
¾
Password : XL-IPM401’s password, default password is 12345678
¾
XXX.XXX.XXX.XXX the IP Address of XL-IPM401
¾
CMD=***Power : the function module of XL-IPM401
¾
para1 ~ para3 parameters
Example 1 : control the power supply of XL-IPM401:
http://admin:[email protected] /Set.cmd?CMD=S p60=1+p61=1+p62=1+p63=0
This command control XL-IPM401 IP address at 192.168.1.0, user name is admin and password is 12345678.
This order will: turn on the power of outlet1 (p60), turn on the power of outlet2 (p61), turn on the power of
outlet3 (p62), turn off the power of outlet4 (p63).
When this order is sent, the IP Power will return the following message:
<html>P60=1,P61=1,P62=1,P63=0</html>
Functions of XL-IPM401:
1.
SetPower
: to control I/O - read parameter as follow
out1 set parameter as 0 (output1 disconnect power )or 1(output1 connect power)
out2-out4 same as out1
2.
GetPower :
to read I/O pasameter - read parameter as follow
out1 if parameter reply as 0 (output1 disconnect power )or 1(output1 connect power)
out2-out4 same as out1
http:// /admin:1234567@ 192.168.1.100/Set.cmd?CMD=GetPower
the above command control XL-IPM401 IP address as 192.168.1.10, username is admin, password is
12345678.
XL-IPM401, as send out this command , XL-IPM401 will get message as follow: :
<html>P60=1,P61=1,P62=1,P63=0</html>