[Nut-upsdev] newhidups (2.03-pre2) not working with APC Back-UPS

Arnaud Quette aquette.dev at gmail.com
Thu Jan 26 21:18:02 UTC 2006


Hey Peter,

... just quickly passing by ...
2006/1/26, Charlie Brady <charlieb-nut-upsdev at e-smith.com>:
>
>
> On Thu, 26 Jan 2006, Peter Selinger wrote:
> ...
>
Path: UPS.PowerSummary.ACPresent, Type: Input, Value: 1.000000
> Path: UPS.PowerSummary.ACPresent, Type: Feature, Value: 1.000000
> ...
> Can't find object UPS.PowerSummary.PresentStatus.ACPresent



a perfect example of the need of multiple item definition.
you should add
  { "ups.status", 0, 1, "UPS.PowerSummary.ACPresent", NULL, "%.0f",
HU_FLAG_OK, &online_info[0] },

in apc-hid.h to complement the "PresentStatus" version. The first existing
will be used. See mge-hid for an example

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060126/77ecfb46/attachment.html


More information about the Nut-upsdev mailing list