[Nut-upsdev] APC nominal power patch

vasos noxelia at gmail.com
Mon Dec 6 16:38:12 UTC 2010

On 06/12/2010 01:34 μμ, Arjen de Korte wrote:
> Citeren vasos <noxelia at gmail.com>:
>> i just want to share a quick n dirty patch to support nominal power 
>> in APC ups's.
>> I was not sure about the name of the nut key and put it to 
>> ups.power.nominal
> Thanks for your patch. The naming scheme of NUT can be found in 
> 'docs/new-names.txt', where you'll find that the correct name for this 
> would be 'ups.power'.
> Having said that, in case of extensions to usbhid-ups drivers we 
> usually prefer to receive the output of the driver running debug mode 
> (make sure to stop NUT before running the below command as root):
> /path/to/usbhid-ups -DD -a <upsname> >APC_SmartUPS_RS_550.log 2>&1
> Let the above run for about 30 seconds and post the (gzip'ed) logfile 
> here. We might be able to extract more useful information from it to 
> even better support your UPS.
> Best regards, Arjen

here is your debug..

By the way the patch for power is INDEED for nominal power (i.e. the 
power rating) and not the current power. But it is for real power rether 
than aparent. Thus ups.realpower.nominal is the correct naming. I think 
that the Config* usbhid paths are nominal values in general.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: APC_BackUPS_RS_550.log.gz
Type: application/x-gzip
Size: 7979 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20101206/48190b61/attachment.bin>

More information about the Nut-upsdev mailing list