[Nut-upsuser] Incorrect Values From usbhid-ups

Bill S kenwood0622 at gmail.com
Fri Mar 28 13:08:10 UTC 2014

On Fri, Mar 28, 2014 at 8:12 AM, Charles Lepple <clepple at gmail.com> wrote:

> I'll be honest, I haven't really done much with the CGI scripts lately. For debugging values, it is probably better to be closer to the driver. I'd recommend using "upsc" or the driver logs.
> To that end, the .ac.txt and .bat.txt files both show 24.0 V:
>    0.081935     Entering libusb_get_report
>    0.082018     Report[get]: (2 bytes) => 09 f0
>    0.082029     Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x09, Offset: 0, Size: 8, Value: 24
>    0.082035     Entering libusb_get_report
>    0.082115     Report[get]: (2 bytes) => 0a f0
>    0.082124     Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 8, Value: 24

I know there are two 12V batteries in series that provide 24V which is
what is being shown, but an actual 24V for new fully charged batteries
seems low to me.  Between that and the fact that there are no tenths
of a volt shown and the battery is shown as 24.0 both on AC and on
battery makes me think we are not seeing the actual battery battery
voltage but some nominal or default value.  I do not think the battery
voltage is actually being tracked.  ???

> To your other point about refreshing the CGI display, you could try adding a tag to reload the page at a specific interval. I'm not sure if that forces the images to be reloaded, or if the images need a "no-cache" header in their HTTP headers.
> I tend to use collectd to monitor NUT statistics over time:
>    https://collectd.org/wiki/index.php/Plugin:NUT

I will take a look at that.  Thanks

> --
> Charles Lepple
> clepple at gmail
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

More information about the Nut-upsuser mailing list