nut/docs/man/powerpanel.txt

139 lines
4.5 KiB
Text
Raw Permalink Normal View History

2011-01-26 09:35:08 +00:00
POWERPANEL(8)
=============
NAME
----
powerpanel - Driver for PowerPanel Plus compatible UPS equipment
NOTE
----
This man page only documents the hardware-specific features of the
2010-03-25 23:20:59 +00:00
powerpanel driver. For information about the core driver, see
2011-01-26 09:35:08 +00:00
linkman:nutupsdrv[8].
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
SUPPORTED HARDWARE
------------------
2010-03-25 23:20:59 +00:00
This driver supports CyberPower BC1200, PR2200 and many other similar
devices, both for the text and binary protocols. The driver will
autodetect which protocol is used.
2011-01-26 09:35:08 +00:00
EXTRA ARGUMENTS
---------------
This driver supports the following optional settings in linkman:ups.conf[5]:
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
*protocol=*['text,binary']::
2010-03-25 23:20:59 +00:00
Override the default autodetection of the protocol.
2011-01-26 09:35:08 +00:00
*manufacturer=*'value'::
2010-03-25 23:20:59 +00:00
If you don't like the autodetected value, you can override this by setting
it here.
2011-01-26 09:35:08 +00:00
*model=*'value'::
2010-03-25 23:20:59 +00:00
Like manufacturer above.
2011-01-26 09:35:08 +00:00
*serial=*'value'::
2010-03-25 23:20:59 +00:00
Like manufacturer above.
2011-01-26 09:35:08 +00:00
*ondelay=*'value'::
Time to wait before switching on the UPS (1 - 9999 minutes, 0=indefinite).
Only available with the text protocol driver (see <<_support_status,Support Status>>).
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
*offdelay=*'value'::
2010-03-25 23:20:59 +00:00
Time to wait before shutting down the UPS (6 - 600 seconds). Values below 60
seconds will be truncated to 6 seconds intervals, values above 60 seconds to
60 seconds intervals. Only available with the text protocol driver (see
2011-01-26 09:35:08 +00:00
<<_support_status,Support Status>>).
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
VARIABLES
---------
2010-03-25 23:20:59 +00:00
Depending on the type of your UPS unit, some of the following variables may
2011-01-26 09:35:08 +00:00
be changed with linkman:upsrw[8]. If the driver can't read a variable from the
UPS, it will not be made available.
*input.transfer.high*::
2010-03-25 23:20:59 +00:00
writable: high transfer voltage point in V
2011-01-26 09:35:08 +00:00
*input.transfer.low*::
2010-03-25 23:20:59 +00:00
writable: low transfer voltage point in V
2011-01-26 09:35:08 +00:00
*battery.charge.low*::
2010-03-25 23:20:59 +00:00
writable: remaining battery charge percentage for low battery warning
2011-01-26 09:35:08 +00:00
*output.voltage.nominal*::
2010-03-25 23:20:59 +00:00
writable: nominal output voltage in V
2011-01-26 09:35:08 +00:00
*ups.start.battery*::
2010-03-25 23:20:59 +00:00
writable: allow cold start from battery
2011-01-26 09:35:08 +00:00
COMMANDS
--------
2010-03-25 23:20:59 +00:00
Depending on the type of your UPS unit, some of the following commands may
be available.
2011-01-26 09:35:08 +00:00
* test.battery.start.quick, test.battery.stop
* beeper.enable, beeper.disable, beeper.toggle
* shutdown.return, shutdown.reboot, shutdown.stayoff
2010-03-25 23:20:59 +00:00
On many devices, these commands are unreliable, so before using them you
2011-01-26 09:35:08 +00:00
must verify that these work as expected (see <<_shutdown_issues,Shutdown Issues>>).
* shutdown.stop
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
SUPPORT STATUS
--------------
2010-03-25 23:20:59 +00:00
Vendor support is absent for this driver, so if you need some features that
are currently not available, provide ample documentation on what the driver
should sent to the UPS in order to make this work. If more information
would be available on the binary protocol, it would probably be possible to
2011-01-26 09:35:08 +00:00
make 'ondelay' and 'offdelay' configurable. So far, nobody has taken the time
to investigate what we should tell the UPS to make this work, and CyberPower
2010-03-25 23:20:59 +00:00
isn't willing to share this with us.
2011-01-26 09:35:08 +00:00
SHUTDOWN ISSUES
---------------
If the *shutdown.return* command on your UPS doesn't seem to work,
chances are that your UPS is an older model. Try a couple of different
settings for 'offdelay'. If no value in the range 6..600 works, your
2010-03-25 23:20:59 +00:00
UPS likely doesn't support this. In order to get the expected behaviour,
2011-01-26 09:35:08 +00:00
it requires *shutdown.stayoff* (when on battery) and *shutdown.reboot*
2010-03-25 23:20:59 +00:00
(when on mains). The driver will automatically fallback to these commands if
2011-01-26 09:35:08 +00:00
*shutdown.return* fails, and tries to detect which one should be used when
called with the '-k' option (or through *upsdrvctl shutdown*).
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
This isn't bullet-proof, however, and you should be prepared that the
2010-03-25 23:20:59 +00:00
power will either not be shutdown or that it doesn't return when the
power comes back. All models supported by the binary protocol and many
supported through the text protocol are affected by this.
2011-01-26 09:35:08 +00:00
KNOWN PROBLEMS
--------------
2010-03-25 23:20:59 +00:00
The CyberPower OP series don't offer direct voltage, charge, frequency
and temperature readings. Instead, they will return a binary value
that needs conversion to the actual value.
The exact conversion needed is unknown at the time of this writing,
hence an estimation was made based om readings from actual devices.
This may (probably will) be off, possibly a lot. Unless you can tell
us the exact mapping between values from the UPS and actual readings,
don't bother to complain. We've done the best we can based on the
limited information available. Remember, a UPS isn't a measuring
instrument.
2011-01-26 09:35:08 +00:00
AUTHORS
-------
Arjen de Korte <arjen@de-korte.org>, Doug Reynolds <mav@wastegate.net>
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
SEE ALSO
--------
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
The core driver:
~~~~~~~~~~~~~~~~
linkman:nutupsdrv[8]
2010-03-25 23:20:59 +00:00
2011-01-26 09:35:08 +00:00
Internet resources:
~~~~~~~~~~~~~~~~~~~
2010-03-25 23:20:59 +00:00
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/