I’ve got a project to look forward to. Have my Proxmox server with a UPS, running NUT to watch the battery percentage and power down gracefully if the % gets too low. I have Home Assistant watching that so it’s supposed to notify me before that happens. It’s not notifying me though, so I gotta look into that. I know it’s not working this morning because the power went out, so now I’m just sitting here theorizing instead of actually looking at it. 🙃
I used mostly this, but had to customize it a bit I think to get things working right. NUT feels like a super finicky system, but in the end it does work. My biggest issue right now is that it only reports a new status update to Home Assistant every few minutes, so the actions don’t really get a chance to trigger before the server shuts down. It also shuts down with the UPS at way too high of a percentage remaining, so I need to figure out how to make it wait just a little bit longer before the power down. It wants to power off like < 2 minutes after the power goes out…
https://chribonn.medium.com/proxmox-nut-homelab-howto-step-5-install-nut-ups-solution-configure-nut-for-email-alerts-and-be74838fdccb