Hello
Not sure if this is the correct category to post my question. I have two CyberPower UPS and I want to add them to my NUT Server. Both have identical vendor ID’s but different serial numbers. They are being “seen” by HA. If someone has successfully added multiple UPS to a NUT server within HA, could you kindly post the “Devices” section of the .yaml file so I can see what I’m doing incorrectly?
This is what I have. Thanks in advance for any help that can be provided.
Not sure I can help as I have only been playing with this recently, but I actually don’t understand what the problem is. If I understand correctly, you have 2 UPSs connected to your HA System and that the NUT Server Add-On is configured for these 2 UPSs, and the HA NUT Integration does indeed see these 2 UPSs as 2 NUT Devices.
BTW, according to the Documentation, remote_ups_name only applies if the mode: netclient
I’m trying to add two UPS’s to a single NUT server. The .yaml within the NUT server doesn’t like the code I’ve imputed, so if someone has successfully added two UPS’s to a NUT server then I’m hoping they would post the “device” portion of the .yaml file (from the NUT Server) so I can compare mine to theirs. Thanks.
I tried this but it didn’t work. Sorry I’m not very good at coding, so I’m really flying blind. Thanks for the help. I have changed the way the product and vendor ID’s are imputed. I’m not sure where the quotes would go for Vendorid / Productid / Seial. I have to post the whole code so you can see the error message. I’ve intentionally removed the username and password. Thanks
I don’t see anything obvious, but may want to make vendorid and productid all lower-case. Separately, want to make the mode netserver, but it is likely the default anyway.
Another suggestion would be to start over and start with the example in the Docs and get it to pass the configuration test, and once it passes then start making changes little by little to see where the failure is at.
Hello
This is frustrating. I’ve been watching this video where the gentleman is able to add a second UPS to the NUT Server and add the integration. For some reason I can’t replicate it. Here is my code for a single UPS:
This is the configuration file I used to get the two UPS’s to work with the NUT server (note the small “x” are replace real numbers within each serial number):
devices:
- name: Data_Rack
driver: usbhid-ups
port: auto
config:
- serial = P1FNQ2xxxx20
- name: Modem_Router
driver: usbhid-ups
port: auto
config:
- serial = CXXPQxxxx95
mode: netserver
shutdown_host: false
list_usb_devices: true