Multiple UPS of the same type, netserver

I’m trying to get 2, APC UPS’ of the same model connected to NUT.
In the log it seems to be seeing both correctly, but the 2nd UPS is showing as unavailable.

Here is my YAML.

users:
  - username: *****
    password: *****
    instcmds:
      - all
    actions: []
devices:
  - name: myups1
    driver: usbhid-ups
    port: auto
    powervalue: 1
    config:
      - serial = B*********
      - vendorid = 051d
      - productid = 0002
  - name: myups2
    driver: usbhid-ups
    port: auto
    powervalue: 0
    config:
      - serial = J*********
      - vendorid = 051d
      - productid = 0002
mode: netserver
shutdown_host: true
list_usb_devices: true

If I connect just one at a time, it works fine.
lsusb shows both devices.

Don’t know if this makes a difference or not.
I see powervalues are different? Since same model and type shouldn’t they be the same?
Are serial numbers, full and complete as possible?

Seems it doesn’t like it. There is another way via MQTT and snmp.

1 Like

I believe the powervalue variable is to identify which UPS the host is connected to for power. 0 in this case is telling it just to monitor that system.

The serials are as complete as I can see. I got the serial numbers from the NUT integration itself.

In this post, they successfully got things worked by using the serial numbers. I did the same, but no luck.

Any other ideas?

What about VendorID and ProductID? Have you looked for those (numbers versus names)? Order of the Ids may be important here also.

They are the same Vendor and Product IDs unfortunately.