60
EG-PMS2-WLAN PROGRAMMABLE WLAN
SURGE PROTECTOR
All brands and logos are registered trademarks of their respective owners
8. Managing EG-PMS2-WLAN 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 -My
EnerGenie -Socket1
"E:\Utils\PM3\pm.exe" -off -My EnerGenie -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