
- 59 -
Controlling the Device
CGI HTTP Commands
CGI Commands allow you to easily integrate the 9858 with other systems and programs. Please
read the instructions carefully on how to use the Http:// Commands
To use http:// Commands open up a web browser and type in the command that you would like to
use.
1. User authorization .There are 3 formats :
For example : IP address 192.168.1.18
,
Username : admin. Password : 12345678
1.1
http://admin:[email protected]/set.cmd?cmd=getpower
1.2
http://192.168.1.18/set.cmd?user=admin+pass=1cmd=getpower
The above 2 way also for HTTPS
2. Command
set.cmd?cmd=
All command do not separate capital / lower case , the connect symbol between
commands can be
“
+
”
,“
&
”
and
“
?
”
.
2.1 To get firmware version : getversion
http://192.168.1.18/set.cmd?cmd=getversion
System return :
CGI Command : Data follows
Version=9258W_N_v1.0.0.1
2.2 To get MACaddress
:
getmac
http://192.168.1.18/set.cmd?cmd=getmac
System return
:
CGI Command : Data follows
mac=00929000008F
2.3 To get the status of power on/ off
:
getpower
http://192.168.1.18/set.cmd?cmd=getpower
System return
:
CGI Command : Data follows
p61=0, p62=0, p63=0, p64=0
P61 to P64 means : POWER1 to POWER4
2.4 To set the power on / off
:
setpower&p6x=0 or 1
p6x=0 means off
,
p6x=1means ON
,
x can be 1 to 4 ( power1 to power 4)