Instruction Manual
<off>script to power off</off>
<cycle>script to cycle power</cycle>
<status>script to write power status
<speed>baud rate</speed> <charsize>character size</charsize>
<stop>stop bits</stop>
<parity>parity setting</parity> </powerstrip>
The id appears on the web page in the list of available devices types to configure.
The outlets describe targets that the scripts can control. For example a power control board may control several different outlets. The
There are four possible scripts: on, off, cycle and status
When a script is run, it’s standard input and output is redirected to the appropriate serial port. The script receives the outlet and port in the outlet and port environment variables respectively.
The script can be anything that can be executed within the shell.
All of the existing scripts in /etc/powerstrips.xml use the pmchat utility.
pmchat works just like the standard unix “chat” program, only it ensures interoperation with the port manager.
The final options, speed, charsize, stop and parity define the recommended or default settings for the attached device.
120