[Nut-upsuser] Adding tripplite smart1500 UPS to tripplite_usb
clepple at gmail.com
Fri Mar 17 15:29:20 UTC 2006
On 3/3/06, Brian Mathis <brian.mathis at gmail.com> wrote:
> battery.voltage: 0.00
Found a bug here. I need a refresher course on floating-point math :-/
> battery.voltage.nominal: 36
> driver.name: tripplite_usb
> driver.parameter.port: /dev/hiddev0
> driver.version: 2.1.0
> driver.version.internal : 0.6
> input.voltage: 119
> input.voltage.nominal: 120
> ups.debug.D: 37 37 38 37 0d 00 00 '7787...'
> ups.debug.M: 30 30 38 31 0d 00 00 '0081...'
> ups.debug.S: 31 34 30 00 5a 30 0d '140.Z0.'
Here's the problem: I don't have all the states mapped out yet for ups.debug.S.
If you have time to run the battery down on this UPS (preferrably
without anything important running on that UPS), I can add the
ups.status states for this model. I used to have this written down
somewhere, but I can't find it, and I'm not sure when I'll have a
chance to run those tests again.
You would just need to compile a table with states like "on AC", "on
battery", "low battery", "outlets off", etc. with the corresponding
ups.debug.S value. Let me know if you need help.
- Charles Lepple
More information about the Nut-upsuser