45
EG-PM1W-001 SMART HOME SOCKET
All brands and logos are registered trademarks of their respective owners
7. Managing EG-PM1W-001 via your own software
To let you switch the sockets on or off from your own applications the
following command line interface syntax is supported:
pm.exe -[on | off] -device name -socket name
Examples:
"C:\Program Files\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=
< the socket name specified by the user>
Socket#SwitchState=<
TRUE/FALSE
>, where TRUE is when the
socket is switched on, or FALSE is when the socket is switched off