Control and settings through http order – deXlan IP POWER 068420 User Manual

Page 20

Advertising
background image

IP POWER 9258 USER MANUAL

X.X,

- 19 -

8. Control and Settings Through HTTP Order

User can control the 9258’s action directly though the HTTP orders.
The format of the HTTP order is :

http://username:[email protected]/Set.cmd?CMD=***Power+para1=*+p
ara2=*+para3=*


Explanations of each part of the order:
Username : 9258’s username, default username is admin
Password : 9258’s password, default password is 12345678
XXX.XXX.XXX.XXX the IP Address of 9258
CMD=***Power : the function module of 9258
para1 ~ para3 parameters


Example 1 : control the power supply of 9258:

http://admin:[email protected] /Set.cmd?CMD=SetPower+
p60=1+p61=1+p62=1+p63=0


This command control IP Power 9258 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>



* Function of 9258 :
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 9258 IP address as 192.168.1.10

username is admin

password is 12345678

9258

as send out thiis command , 9258 will get message as follow: :

<html>P60=1,P61=1,P62=1,P63=0</html>

VER.

Advertising