[Nut-upsuser] Incorrect scale on values for TRIPPLITE UPS

dwilliss at inebraska.com dwilliss at inebraska.com
Wed Dec 7 06:19:22 UTC 2016


I’m setting up a new system and installed a new UPS with nut.
System Specifics:

OS: Debian 3.16.36
Nut version: 2.7.2
Install method: apt-get
Device: TRIPPLITE SMART1300LCDT using usbhid-ups driver

Problem:
The output from upsc has a few incorrect values.  They appear to be a matter of scale.

root at server:/etc/nut# upsc tripplite at localhost
Init SSL without certificate database
battery.charge: 97
battery.charge.low: 10
battery.charge.warning: 30
battery.runtime: 7354
battery.type: PbAC
battery.voltage: 0.0  ← Wrong
battery.voltage.nominal: 24.0
device.mfr: Tripp Lite
device.model: TRIPP LITE UPS
device.serial: 2630DVLSM872100097
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.7.2
driver.version.data: TrippLite HID 0.81
driver.version.internal: 0.38
input.frequency: 6020.0   ← Wrong
input.transfer.high: 150.0
input.transfer.low: 92.0
input.voltage: 0.0  ← Wrong
input.voltage.nominal: 120
output.current: 60.00
output.frequency: 6020.0  ← Wrong
output.frequency.nominal: 60
output.voltage: 0.0  ← Wrong
output.voltage.nominal: 120
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 9
ups.mfr: Tripp Lite
ups.model: TRIPP LITE UPS
ups.power: 64.0
ups.power.nominal: 1300
ups.productid: 3016
ups.serial: 2630DVLSM872100097
ups.status: OL CHRG
ups.timer.reboot: 65535
ups.timer.shutdown: 65535
ups.timer.start: 65535
ups.vendorid: 09ae
ups.watchdog.status: 0

The debug output of the driver is quite long, so here are the relevant lines.
Note how the frequency values have a value of 6020 which should probably be 60.20 and the voltages are, for example .001214 which should be 121.4

   0.406677     Checking device (09AE/3016) (001/002)
   0.487716     - VendorID: 09ae
   0.487738     - ProductID: 3016
   0.487755     - Manufacturer: Tripp Lite
   0.487770     - Product: TRIPP LITE UPS
   0.487786     - Serial Number: 2630DVLSM872100097
   0.487801     - Bus: 001
   0.487816     Trying to match device
   0.487835     Device matches
   0.495723     HID descriptor length 878
   0.700727     Report Descriptor size = 878
   0.701027     Using subdriver: TrippLite HID 0.81
   0.755724     Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120
   0.759722     Path: UPS.PowerSummary.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 0.001214
   0.856189     Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120
   0.869186     Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60
   0.878190     Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 1300
   0.882185     Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 0.001214
   0.886188     Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 6020
   0.890185     Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 0.00122
   0.894188     Path: UPS.PowerConverter.Output.Frequency, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 6020
   0.898189     Path: UPS.PowerConverter.Output.Current, Type: Feature, ReportID: 0x46, Offset: 0, Size: 16, Value: 60
   0.902185     Path: UPS.PowerConverter.Output.ActivePower, Type: Feature, ReportID: 0x47, Offset: 0, Size: 16, Value: 64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161207/b61ec404/attachment.html>


More information about the Nut-upsuser mailing list