-
nut
The Network UPS Tools repository. UPS management protocol Informational RFC 9271 published by IETF at https://www.rfc-editor.org/info/rfc9271 Please star NUT on GitHub, this helps with sponsorships!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
My home lab is a TrueNAS server I put together with used parts about a year ago. While I've been running a bitcoin full node for years in a Linux VM, I ported it to a FreeBSD jail when I setup the server at the time. It wasn't a big stretch to throw a lightning server on top of that. Incidentally, after setting up my lightning node, I discovered that someone else had essentially done the same thing: https://github.com/seth586/guides/tree/master/FreeNAS/bitcoin. That guide inspired me to get RTL up and running for a pretty GUI.
For reference, the NUT package in *NIX environments typically handle communication with the UPS: https://networkupstools.org/. They have a list of known supported models, but often there is a compatible driver for a comparable model. Depending on your router software (OPNSense, pfSense, DD-WRT, etc), you might be able to plug that into the UPS and have your Raspi communicate with the router about the UPS.