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

Adding multiple UPSs with the script #4

Open
NightHawkATL opened this issue Nov 30, 2022 · 6 comments
Open

Adding multiple UPSs with the script #4

NightHawkATL opened this issue Nov 30, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@NightHawkATL
Copy link

I just tried the script and it did add ONE of my 3 UPS units. I have 1x APC and 2x CyberPower 1500VA units that I want to get working with NUT. I have installed and ran NUT before but always had issues so I was hopeful that this would solve my issues but it only setup 1 on the CGI page but did see all 3 when running the script.

image

@dzomaya
Copy link
Owner

dzomaya commented Nov 30, 2022

@NightHawkATL
This is a good feature I've kicked around. Thanks for creating the issue!

Yeah, right now the script does NOT add multiple devices:
https://github.com/dzomaya/NUTandRpi#monitoring-multiple-upses

In the interim, you can probably get the other 2 added if the 1st one is working and all three show up in your nut-scanner -UNq output.

For a deeper dive, Techo Tim's video is a good resource for that use case (it's linked right above that section I linked above).

Feel free to comment back here if you need some input on getting it going.

@dzomaya dzomaya added the enhancement New feature or request label Nov 30, 2022
@NightHawkATL
Copy link
Author

I have followed TT's video multiple times and have run into issues with the devices eventually dropping offline and I would have to restart all of the services because I must have missed something in building it.

I will have to look back at his write-up to add the other devices and get then named correctly.

@NightHawkATL
Copy link
Author

NightHawkATL commented Nov 30, 2022

I was able to get the other 2 added manually and rename them.

Another suggestion is to add in the remote access setup for setting a user and password to allow for LAN remote monitoring to be able to add the UPS units remotely to devices that are connected to the UPS devices without the USB cable and over IP. I configured it from memory and how the different conf files stated to do it and I am about to test adding one to my TrueNAS Core system to see if it can see it and move on from there.

**Update: I can confirm local "remote" monitoring works as I just added all 3 to my Home Assistant for monitoring.

@dzomaya
Copy link
Owner

dzomaya commented Nov 30, 2022

@NightHawkATL

I configured it from memory and how the different conf files stated to do it and I am about to test adding one to my TrueNAS Core system to see if it can see it and move on from there.

**Update: I can confirm local "remote" monitoring works as I just added all 3 to my Home Assistant for monitoring.

Interesting, you're the 2nd "Home Assistant" user to comment in the last few days (other is over here: #1).

I am assuming you added a LISTEN directive to /etc/nut/upsd.conf to get Home Assistant working. Is that correct?

I'll add another feature request for the remote monitoring soon.

@NightHawkATL
Copy link
Author

Correct. I added the LISTEN option and set it to 0.0.0.0 as 127.0.0.1 dint allow the connection.

@dzomaya
Copy link
Owner

dzomaya commented Dec 1, 2022

I'll add another feature request for the remote monitoring soon.

Done.
#5

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

No branches or pull requests

2 participants