Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get to work with 2 UPS #408

Open
kwalkington opened this issue Feb 10, 2025 · 1 comment
Open

Cannot get to work with 2 UPS #408

kwalkington opened this issue Feb 10, 2025 · 1 comment

Comments

@kwalkington
Copy link

It worked with 1!

Here is the config:
'''
users:

  • username: kyleups
    password: kyleups1234
    instcmds:
    • all
      actions: []
      devices:
  • name: cyperpower_ups_1
    driver: usbhid-ups
    port: auto
    config:
    • vendorid = 1
  • name: cyperpower_ups_2
    driver: usbhid-ups
    port: auto
    config:
    • vendorid = 2
      mode: netserver
      shutdown_host: false
      '''
@kwalkington
Copy link
Author

I found the solution and want to document it for others.
I have 2 different Cyberpower UPS's. The model is identical. The serial number is not found on the physical units, but I needed something to individually identify them. I could not figure out how to identify by which usb it was plugged into. If I had only one plugged in and left config blank, it would find one. In the HA intergration, it shows the serial number. I noted this. Unplugged that UPS from the usb and switched to the other. Restart add-on and note serial. Then plug both in and change the config to this:

  • name: cyperpower_ups_1
    driver: usbhid-ups
    port: auto
    config:
    • serial = abc123....
  • name: cyperpower_ups_2
    driver: usbhid-ups
    port: auto
    config:
    • serial = abc1234.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant