[Nut-upsuser] Can not match USB UPS
Charles Lepple
clepple at gmail.com
Fri Dec 14 03:05:58 GMT 2018
On Dec 13, 2018, at 9:47 PM, André Hänsel <andre at webkr.de> wrote:
>
> Hi list, I seem to need another pair of eyes.
>
> Here's my ups.conf:
>
> [myups]
> driver = usbhid-ups
> port = auto
> vendor = 051d
> product = 0002
> serial = 4B1717P25055
It's subtle, but "vendor" matches the vendor *string*, and "vendorid" matches the hex USB ID. Same for "product" vs "productid". Ref: https://networkupstools.org/docs/man/usbhid-ups.html
Note that you only need enough options to uniquely match an UPS, so the serial string is probably sufficient.
More information about the Nut-upsuser
mailing list