
EG-PM2
PROGRAMMABLE POWER OUTLET STRIP
All brands and logos are registered trademarks of their respective owners
5. Managing EG-PM2 via your own software
To let you switch the sockets from your own applications the
following command line interface syntax is supported:
pm.exe -[on | off] -device name -socket name
Examples:
"C:\Program Files\Energenie\Power Manager\pm.exe" -on -EG-PM -
Socket1
"E:\Utils\PM3\pm.exe" -off -My EG-PM -Table lamp
Execute pm.exe with -info key (pm.exe –info) to get the complete
information about the status of the current devices.
For each of the connected devices the following information will then
be provided and placed into Info.ini file in the Power Manager folder:
DeviceName - the user specified device name
Socket#name, where # is replaced by a certain socket number - the
user specified socket name
Socket#SwitchState, where # is replaced by a certain socket number
- TRUE, when the socket is switched on, FALSE, when the socket is
switched off
Comentários a estes Manuais