egctl(1)


NAME

   egctl - EnerGenie EG-PMS-LAN control utility

SYNOPSIS

   egctl NAME [S1 S2 S3 S4]

DESCRIPTION

   egctl is a program to control the state of EnerGenie Programmable surge
   protector with LAN interface. It uses native EG-PMS-LAN  data  exchange
   protocol  version  2.0  or  2.1,  not HTTP. When executed with the only
   argument it dumps the state  of  the  specified  device.  If  all  five
   arguments  are  specified, it changes the state of the device and dumps
   the new state.

OPTIONS

   NAME   The name of the device to control (as it  is  specified  in  the
          configuration file). This name has no relation to the IP address
          or the domain name.

   Sn     The action to perform on n-th socket. Possible values  are:  on,
          off, toggle and left.

CONFIGURATION

   Configuration file is a table of devices. Each device is described on a
   separate line; fields on each line are separated  by  tabs  or  spaces.
   Lines starting with '#' are comments, blank lines are ignored.

   The first field
          Name  of device. It is a string that will be used to address the
          device in the utility commands. It is not necessary  to  be  the
          same as Server name in the web interface.

   The second field
          Protocol. Supported protocols are: pms20 and pms21.

   The third field
          IP address of device.

   The fourth field
          TCP  port  of  device.   (Power  Manager  client port in the web
          interface).

   The fifth field
          Password.

SUPPORTED DEVICES

   Device        Protocol
   
   EG-PMS-LAN    pms20
   EG-PMS2-LAN   pms21

EXAMPLES

   Suppose a user has two EG-PMS-LAN devices configured as follows:

          1. 192.168.0.10, port 5000, password hackme
          2. 192.168.10.10, port 5001, password hackmesoftly

   In order to control them using the utility the user needs to  create  a
   configuration file like the following:

          eg1 pms20 192.168.0.10  5000 hackme
          eg2 pms20 192.168.10.10 5001 hackmesoftly

   Now she can get the status of the devices with commands

          egctl eg1
          egctl eg2

   and switch the state of the AC power sockets with a command like

          egctl eg1 on left left off

FILES

   ~/.egtab
          user's configuration file

   /etc/egtab
          system-wide configuration file

BUGS

   This program cannot modify the internal schedule of the device.

AUTHOR

   Written by Vitaly Sinilin <vs@kp4.ru>

TRADEMARKS

   EnerGenie is a registered trademark of Gembird Holding B.V.





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.