8000 GitHub - liambeguin/pw: Command line tool used to control a Digital Logger Ethernet Power Switch
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ pw Public

Command line tool used to control a Digital Logger Ethernet Power Switch

License

Notifications You must be signed in to change notification settings

liambeguin/pw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pw

pw is a simple bash script used to control a Digital Logger Ethernet Power Switch. It uses a configuration file stored in the user's home directory and allows the user to control multiple power switches.

Usage

USAGE
        pw [-v] [OPTION]

DESCRIPTION
        -v | verbose .......................... Enable verbose output
        -h | help [-v] ........................ Display this message
        [names | state | -s ] ................. Get the name and state of all outlets
        [1-8 | all | name]  [on | off | ccl] .. Activate, Deactivate or powercycle outlets
        [-d | delay] sec ...................... Set time to wait when power cycling
        [-w | whois | state | names]  [0-8] ... Get the name of a specific outlet
        rename  [1-8]  name ................... Rename an outlet

CONFIGURATION FILE
        By default, pw will use ~/.pw.conf as a configuration file.
        The configuration file contains three variable :
           * USER
           * PASSWORD
           * POWER_SWITCH_IP

        Creating a synlink of "pw" will allow you to use the same tool but with
        a different configuration thus allowing you to control another power swith.

About

Command line tool used to control a Digital Logger Ethernet Power Switch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0