The issue is that “cheap” and “compatible with NUT” are mutually-exclusive since the remote power monitoring features are usually only in the higher end UPSes.
I have an Eaton 5S 850W which keeps my HA server, network switch and access points up for about 15 minutes.
Connects via USB to your HA server and is compatible with NUT.
I have 2 UPS’s from Cyberpower. Both are working with NUT but need a tweak as NUT has a timeout feature and the Cyberpower UPS’s usually report just over that timeout (or something along those lines).
The 2 I have are the Value2200ELCD (connected to a Pi3) and the BR850ELCD (connected to a PiZeroW). Both are working flawlessly.
Probably I will go for the 850 as I only need to keep up the raspberry pi and the router so I can send a Telegram message to my phone when there is an electricity cut.
I maybe will also add some battery pack for phones so I can keep it always connected to my Google Home speaker and get also a spoken notification to wake me up.
In HA I am just using the UI-based configuration (or I think it was automatically migrated from the YAML config). And these are the entities I get automatically based on my selection:
Prompted to enter hostname, port, login, and password
Responded with “localhost”, “3493” (the default), MyUserID, MyPassword
Received a “Failed to connect” error.
I have the Eaton 5S plugged into the RPi on which I am running HA with the USB cable provided by Eaton. I did not install any software on the RPi for Eaton.
I checked the 5S on my laptop by plugging the 5S into my laptop using the USB cable and installing the Eaton sw on my laptop. This worked just fine.
The NUT integration only works when the UPS is integrated into NUT on the host it’s connected to via USB. You will need to install NUT on your RPi and configure it to talk to your UPS.
Try to get a UPS which you can change the battery yourself. Otherwise in 2-3 years you have to buy a new UPS instead of spending 10 USD for a new battery. I have 2 APC BX950, although APC says you cannot change the battery, it is fairly easy to do it…