8. Direct Control Using HTTP Commands

Power outlet status and control:

The IP Power provides an alternate method for directly setting and getting the status of the power outlets through HTTP commands. This is particularly useful for controlling the IP Power’s outlets using an automated script.

The format of these commands is:

http://username:password@a.b.c.d/Set.cmd?CMD=command+outlet_id=1/0+outlet_id=1/0

Where:

 

 

username

The username you use to login to the IP Power (default is admin)

password

The 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:12345678@192.168.0. 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:12345678@192.168.0.50/Set.cmd?CMD=SetPower+P60=1+P61=0+P62=0+P63

=1

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:

_____________________________________________________________________________

IP POWER

PAGE 19 OF 24

<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:password@XXX.XXX.XXX.XXX/Set.cmd?CMD=SetSchedule+Power

=**+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

0open

1 close

For example:

http://

/admin:12345678@192.168.1.10/Set.cmd?CMD=SetSchedule+Power=1A+YY=2006+MM=02

+DD=16+HH=06+MN=02+SS=16+PARAM=128+ONOFF=1

The above command controls the IP Power at IP address 192.168.1.0, user name is admin and password is 12345678. This 9258 will connect power of outlet 1 (p60), once only on 2006/2/16 06:02.

NOTE

￿Use + to separate each parameter, e.g. to simply power on outlet 1: http://admin:12345678@192.168.1.10/Set.cmd?CMD=SetPower+P60=1

￿The command syntax is case sensitive so be selective using upper and lower case in command format.

￿The free tool wget is useful for sending these HTTP commands. For example, to send the command in Example 1, you could use:

_____________________________________________________________________________

IP POWER

PAGE 20 OF 24

Page 10
Image 10
Addtron Technology 9258 quick start Direct Control Using Http Commands

9258 specifications

Addtron Technology has made significant strides in the networking industry with its innovative product, the Addtron Technology 9258. This device serves as a pivotal solution for businesses and organizations looking to enhance their network infrastructure and optimize data transmission. The 9258 is particularly designed for environments that require robust and reliable connectivity, making it an essential component in today’s digital landscape.

One of the standout features of the Addtron Technology 9258 is its high-speed performance. Equipped with advanced networking capabilities, this device supports data transfer rates that can reach up to Gigabit speeds. This high throughput is crucial for applications that demand fast and uninterrupted access to data, such as video conferencing, online transactions, and large file transfers.

In terms of technologies, the 9258 utilizes state-of-the-art VLAN (Virtual Local Area Network) support, enabling users to segment their network for improved security and performance. This feature is particularly beneficial for organizations that handle sensitive information, as it allows for the isolation of data streams, thus minimizing potential security breaches.

Another significant characteristic of the Addtron Technology 9258 is its User-Friendly Management Interface. The device comes with a web-based management platform, which allows network administrators to easily configure settings, monitor performance, and manage network traffic in real-time. This intuitive interface simplifies the management process, ensuring that organizations can maintain optimal network performance without extensive technical expertise.

The 9258 is also designed with scalability in mind. As businesses grow and their networking demands increase, the Addtron Technology 9258 can seamlessly integrate with additional networking devices. This adaptability ensures that organizations can expand their network infrastructure without the need for complete overhauls.

Moreover, the 9258 offers advanced security features, including robust firewalls and encryption protocols, to protect against unauthorized access and data breaches. This commitment to security ensures peace of mind for businesses that rely heavily on their network for day-to-day operations.

In conclusion, Addtron Technology 9258 is a comprehensive networking solution that combines high-speed performance, advanced technologies, and user-friendly management tools. Its scalability and security features make it an ideal choice for businesses seeking to enhance their network infrastructure and ensure reliable connectivity.