[Nut-upsuser] LiebertPSP

Tim Gould tgould at reverb.com.au
Thu Nov 10 18:36:44 UTC 2011


On 10/10/2011, at 23:20 , Charles Lepple wrote:

> On Oct 1, 2011, at 6:28 PM, Charles Lepple wrote:
> 
>> On Sep 30, 2011, at 5:51 PM, Tim Gould wrote:
>> 
>>> ups.status: ALARM OB LB RB
>> 
>> It appears that my trick for matching the 1e-7 didn't work because that structure only stores integers, not floating point numbers. Oops.
>> 
>> Arnaud: since this scaling issue has come up before, should we look at some sort of generic scale correction system at another layer in usbhid-ups?
> 
> Unfortunately, I don't have time for a generic fix at the moment, but I figure something is better than nothing. Here's another stab at correcting the ups.status output. Also available via GitHub (commit 48b47b6). The patch is against the SVN trunk.
> 
> <LiebertPSP-scalefactor-002.patch>

Sorry for the extended delay replying. Some improvement:

battery.charge.low: 38
battery.charge.warning: 38
battery.type: PbAc
device.mfr: Emerson Network Power
device.model: LiebertPSA
device.serial:           
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.6.2-3316M
driver.version.data: Belkin HID 0.13
driver.version.internal: 0.35
output.voltage.nominal: 24.000000
ups.mfr: Emerson Network Power
ups.model: LiebertPSA
ups.productid: 0001
ups.serial:           
ups.status: OB
ups.vendorid: 10af


-DDD output attached. Thanks, Tim.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: liebert-002.txt.gz
Type: application/x-gzip
Size: 2723 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20111111/b138b1e1/attachment.bin>


More information about the Nut-upsuser mailing list