Truenas Scale second Ups

Deadfuntik

Dabbler
Joined
Jun 11, 2022
Messages
15
how to add a second ups to the system? there are two ups and each one works with its own driver, one with usb-hid and the second with blazer. the task is to monitor each of them through homeassistant. but I can only select one driver in the system. tell me how to make it work together?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
If you look at /usr/local/etc/nut/ups.conf, you'll see what the UI writes for one of the drivers. Set this for one UPS, and save the contents to Notepad. Set it for the other UPS to get the settings for the other UPS, and save that to Notepad.

Set the UI settings back to the first UPS, and then in the UI filed for Auxiliary parameters (ups.conf), paste in the settings for the other UPS from Notepad, including the [header] for the second UPS. Note, the [header] corresponds to the value of Identifier field, and must be different between the 2 UPSs.
 

Deadfuntik

Dabbler
Joined
Jun 11, 2022
Messages
15
If you look at /usr/local/etc/nut/ups.conf, you'll see what the UI writes for one of the drivers. Set this for one UPS, and save the contents to Notepad. Set it for the other UPS to get the settings for the other UPS, and save that to Notepad.

Set the UI settings back to the first UPS, and then in the UI filed for Auxiliary parameters (ups.conf), paste in the settings for the other UPS from Notepad, including the [header] for the second UPS. Note, the [header] corresponds to the value of Identifier field, and must be different between the 2 UPSs.
this is what I did first. such settings were on the router. and everything was stable there. and here it shows only one device (
 

Attachments

  • 2A4E16AD-272A-4E8F-824C-12A8C1FA0C52.png
    2A4E16AD-272A-4E8F-824C-12A8C1FA0C52.png
    329.8 KB · Views: 204

Deadfuntik

Dabbler
Joined
Jun 11, 2022
Messages
15
I'm sorry, I overlooked this. When adding, I thought there would be two devices at once. devices are added to homeassistant individually. topic can be closed)
 
Top