iboot-dc_v181024e
iBoot-DC
Page 10
5.4.
URL Control
iBoot-DC can be controlled directly by sending a completely formed URL through a browser window or
HTTP command. The URL syntax for control is:
http://<address>?s=<status>&t=<time>&u=<user>&p=<password>
Where:
<address> =
the IP Address of the device, or DNS name that resolves to the IP Address,
Including any HTTP Port if not standard 80
<status> =
The status to change the outlet to:
0 = Off
1 = On
2 = Query only, no outlet change
<time> =
The amount of time to cycle
<user> =
user or admin depending on password used
<password> =
password associated with user
Syntax notes:
The order of the variables is not significant.
The user and password are not required when Auto-Login feature is enabled
(see Section 6.8 for security options.)
Examples:
http://192.168.1.254?s=1&u=user&p=user
Turn the outlet on for the default user.
Reboot for 5 seconds with Auto-Login
http://192.168.1.254:8080?s=2&u=admin&p=admin
Return status using http port 8080
URL Command Responses
iBoot-DC will return an response to a URL command as follows:
<location id> <status>
The full http response is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>iBoot Status</title>
</head>
<body>
<locationID>iBoot-DC</locationID>
<status>OFF</status>
</body>
</html>