Computing/NUT: Difference between revisions
From Cricalix.Net
No edit summary  | 
				No edit summary  | 
				||
| Line 30: | Line 30: | ||
NUT Monitor can be run to get a graphical interface to the UPS status.  | NUT Monitor can be run to get a graphical interface to the UPS status.  | ||
Using NUT will disable KDE's ability to communicate with the UPS and show the state of charge.  | |||
Revision as of 07:02, 6 September 2023
Network UPS
Installation
apt install nut nut-monitor
Configuration
For the Eaton Pro UPS, /etc/nut/ups.conf
[eaton650]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "0463"
        productid = "FFFF"
        vendor = "EATON"
        bus = "005"
Vendorid/productid/vendor/bus are not critical for single use case. Then /etc/nut/upsd.conf
LISTEN 127.0.0.1 3493
LISTEN ::1 3493
And finally, /etc/nut/nut.conf
MODE=standaloneRuntime
systemctl start nut-serverThe script behind nut-server will spin up new systemctl services to handle the UPS.
NUT Monitor can be run to get a graphical interface to the UPS status.
Using NUT will disable KDE's ability to communicate with the UPS and show the state of charge.