Code Monkey home page Code Monkey logo

genpower's Introduction

genpower README
---------------

$Id$

This is the 1.0.6 release of the genpower (Generic Power 
Monitoring for *nix) package. Genpower was once known as Unipower,
but its name was changed because of trademark issues.

The code was originally written by Tom Webster <[email protected]>,
and was subsequently modified by:
  Brian White <[email protected]>
  Jhon H. Caicedo O. <[email protected]>
  Thomas Quinot <[email protected]>
  Nico Augustijn <[email protected]>

The project is now hosted on github:
  https://github.com/quinot/genpower

FEATURES ADDED IN 1.0.6

 * Battery failure logging

FEATURES ADDED IN 1.0.5

 * Fix inverter kill time computation

FEATURES ADDED IN 1.0.4

 * Corrected problem copying strings from config file
 * Now reads config file during startup
 * Minor source-code cleanup
 * Write messages to syslog

FEATURES ADDED IN 1.0.3

 * Bug fixes and portability enhancements.

 * Support for the following UPS units:
   OneUPS+
   CyberPower SL w/stock cable
   TrippLite OmniSmart PNP 675
   TrippLite BC Pro w/73-0724 cable
   APC Back-UPS Pro (several cable types)
   Blackout Buster
   USV 500P
   Trust Energy Protector

FEATURES ADDED IN 1.0.2

 * Support for Tripplite Omnismart 450 PNP.

FEATURES ADDED IN 1.0.1

 * Users can now select from preconfigured UPS and cable 
   configurations at runtime.  With a sufficient body of UPS and 
   cable configurations, this should allow most users to just 
   compile genpower 'right out of the box' and select the desired 
   configuration while installing.

 * genpower will return an error code if it is unable to kill the 
   UPS's inverter during the shutdown process.  This allows for 
   better error handling.

 * genpower can now use the serial data transmit line for 
   inverter shutdown with the normal command syntax.


WHAT GENPOWER DOES:

The genpower package is basically a hack of Miquel van 
Smoorenburg's powerd daemon, which is distributed in the SysVInit 
package.  The express aim of the genpower package is to add 
additional functionally and a simpler means of configuring UPS 
monitoring, in a full featured suite that can be configured to 
work with most UPSs featuring an RS232 monitoring port.

Depending on the UPS, cable, and the manner in which the genpower 
package is configured, the genpower package provides the 
following features:

 * Line power sensing, to detect when the power has failed and 
   initiate a delayed shutdown, or other appropriate actions.  
   This facility also allows the system to cancel the shutdown if 
   power is restored before the system is shutdown.

 * Low battery detection, to detect when the UPS's battery is 
   running low and initiate an immediate shutdown.

 * Physical cable detection, to detect connection errors.

 * The ability to kill the UPS's inverter.  This shuts the 
   inverter on the UPS off, to prevent the system from draining 
   the UPS's battery after it has shutdown.  This allows the 
   system to restart itself, as if the power had been turned on 
   when line power is restored. 

   Additionally, this helps the UPS to retain enough power to 
   deal with power yo-yos, where the power comes up and goes down 
   several times before being fully restored.

 * The unitest program, included in the genpower package, will 
   monitor the status of a serial line and report changes in the 
   status of the line.  The information provided by unitest can 
   then be used to configure the genpower package for your UPS 
   and cable combination.

Instructions for configuring the genpower package are contained 
in the documentation (genpower.docs) and should be read carefully 
before proceeding.

Please let me know if you find any problems, if you have 
suggestions for enhancing the package, or if you have information 
on connecting genpower to a UPS that isn't covered in the 
documentation.

Tom Webster
[email protected]
07/07/95

genpower's People

Contributors

quinot avatar

Stargazers

Jeffrey H. Johnson avatar Stephen Gutknecht avatar

Watchers

James Cloos avatar  avatar  avatar Jeffrey H. Johnson avatar

genpower's Issues

Using apcupsd/NUT_tools backend for genpowerd.

Feature request:

ATM, genpowerd is a standard UPS daemon for UNIX. However, many and many UPSes do not use serial line connections any more. There are other daemons dedicated to providing USP support.

Could I ask for a feature to be added: to use apcupsd or/and Network UPS Tools as a back-end for genpowerd?

It would allow to introduce support to many more devices available on the market.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.