o -x vendorid=051d* (APC)
o -x product=".*(Smart|Back)-?UPS.*"
bus = regex
Select a UPS on a specific USB bus or group of busses. The argument is a regular expression that must match the bus name where the UPS is connected (e.g. bus="002", bus="00[2-3]").
subdriver = string
Select a serial-over-USB subdriver to use. You have a choice between phoenix, ippon, cypress, and krauler. When using this option, it is mandatory to also specify the vendorid and productid.
langid_fix = value
Apply the language ID workaround to the krauler subdriver. This is mandatory for some devices to work (LDLC, Dynamix and others). You must to provide value (0x409 or 0x4095), according to your device entry in NUT hardware compatibility list (HCL).
This driver supports some instant commands (see upscmd(8)):
beeper.toggleToggle the UPS beeper. (Not available on some hardware.)
load.onTurn on the load immediately.
load.offTurn off the load immediately (see KNOWN PROBLEMS).
shutdown.returnTurn off the load and return when power is back. Uses the timers defined by ondelay and offdelay.
shutdown.stayoffTurn off the load and remain off (see KNOWN PROBLEMS). Uses the timer defined by offdelay.
shutdown.stopStop a shutdown in progress.
test.battery.start.deepPerform a long battery test (Not available on some hardware.)
test.battery.start.quickPerform a (10 second) battery test.
test.battery.start valuePerform a battery test for the duration of value minutes.
test.battery.stopStop a running battery test (not available on some hardware.)
Due to popular demand, this driver will report a guesstimated battery.charge and optionally battery.runtime, provided you specified a couple of the EXTRA ARGUMENTS listed above.
If you specify both battery.voltage.high and battery.voltage.low in ups.conf(5), but dont enter runtimecal, it will guesstimate the state of charge by looking at the battery voltage alone. This is not reliable under load, as this only gives reasonably accurate readings if you disconnect the load, let the battery rest for a couple of minutes and then measure the open cell voltage. This just isnt practical if the power went out and the UPS is providing power for your systems.
battery.voltage - battery.voltage.low battery.charge = ------------------------------------------ x 100 % battery.voltage.high - battery.voltage.low
There is a way to get better readings without disconnecting the load but this requires one to keep track on how much (and how fast) current is going in- and out of the battery. If you specified the runtimecal, the driver will attempt to do this. Note however, that this heavily relies on the values you enter and that the UPS must be able to report the load as well. There are quite a couple of devices that report 0 % (or any other fixed value) at all times, in which case this obviously doesnt work.
The driver also has no way of determining the degradation of the battery capacity over time, so youll have to deal with this yourself (by adjusting the values in runtimecal). Also note that the driver guesses the initial state of charge based on the battery voltage, so this may be less than 100 %, even when you are certain that they are full. There is just no way to reliably measure this between 0 and 100 % full charge.
This is better than nothing (but not by much). If any of the above calculations is giving you incorrect readings, you are the one that put in the values in ups.conf(5), so dont complain with the author. If you need something better, buy a UPS that reports battery.charge and battery.runtime all by itself without the help of a NUT driver.
The blazer drivers having replaced the megatec ones, some configuration changes may be required by users switching to blazer.
Part of this, the following megatec options, in ups.conf, have to be changed:
battvoltsYou need to use default.battery.voltage.high and default.battery.voltage.low
dtr and rtsYou need to use cablepower
ignoreoffThis parameter can simply be discarded, since it was a wrong understanding of the specification.
Some UPS commands arent supported by all models. In most cases, the driver will send a message to the system log when the user tries to execute an unsupported command. Unfortunately, some models dont even provide a way for the driver to check for this, so the unsupported commands will silently fail.
Both the load.off and shutdown.stayoff instant commands are meant to turn the load off indefinitely. However, some UPS models dont allow this.
Some models report a bogus value for the beeper status (will always be enabled or disabled). So, the beeper.toggle command may appear to have no effect in the status reported by the driver when, in fact, it is working fine.
The temperature and load value is known to be bogus in some models.
Arjen de Korte <adkorte-guest at alioth.debian.org>, Alexander Gordeev <lasaine at lvk.cs.msu.su>
blazer_ser(8), nutupsdrv(8), upsc(8), upscmd(8), upsrw(8)
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
The NUT HCL: http://www.networkupstools.org/stable-hcl.html
|Network UPS Tools 2&.7&.3&.||BLAZER_USB (8)||12/29/2015|