this post was submitted on 15 Jun 2023
2 points (100.0% liked)

Selfhosted

39964 readers
356 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi All,

Apologies if this is in the wrong community.

I'm looking to get a UPS for my home server. It runs Homeassistant, Plex, and a few other things. I mainly need something to protect from power flickers/blips, and for it to allow a proper shutdown for prolonged power outages.

Here is the power useage on all my devices:

  • Server: 350w
  • NAS: 90w
  • Router: 42w

Any info on what to look for or which model to buy would be greatly appreciated.

top 6 comments
sorted by: hot top controversial new old
[–] halagascan@kbin.social 1 points 1 year ago

The question I have, why doesn't anybody make a consumer grade UPS with a built in lifepo4 battery. I see lots of videos about how you can DIY one, but I would hate to destroy a fine battery.

Why purchase UPS and not FedEx instead?

[–] Chup@feddit.de 0 points 1 year ago (1 children)

Is this doable with one UPS? I'm thinking of the signal wire so the device knows it's running on battery and has to shut itself down sooner or later. We have 2 (who need shutdown, +1 can just lose power I guess) different devices mentioned here.

I have one older APC UPS on the PC and one newer Eaton UPS on the NAS. Each UPS has a signal port with a cable connected to the main device that runs some software to notice when it's on battery and supposed to shut itself down after X minutes battery time.

The NAS UPS also has the router, phone and zigbee hub connected, but only the NAS will shut itself down, the rest will just lose power at some point, but those don't matter.

How do you get the server and NAS to both get the signal and both shut down after X minutes? Is there a specific UPS features required?

[–] boothin@kbin.social 0 points 1 year ago (1 children)

Look into NUT, Network UPS Tools. It runs in a server/client type of set up. You'd install the server onto the device that has the UPS data connected to it. It then monitors the UPS status and can tell all the clients to shutdown when the UPS is running low.

[–] Chup@feddit.de 0 points 1 year ago (1 children)

Hm but that adds a lot more complexity, as then every single network item has to have an UPS as well, right? Certainly not a problem for a company with server room and racks. But at home in a house, the hardware might be spread out across rooms and floors. If there is a switch somewhere without UPS, it will cut off certain clients from receiving the signal via network upon power outage.

[–] chronically_crazy@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

I don't think an additional UPS is really necessary here. I do have switches to other parts of my network, but they're just for TVs and game consoles, so I don't really think a UPS is needed there.

It's mostly a failsafe so I can poweroff my NAS properly rather than corrupting data. Since my server and router are on the same power strip, it makes sense that they're all on the UPS since they're the 3 main items interacting with each other.

Something with NUT as boothin@kbin.social mentioned might be a good option so it can send alerts when it's activated. I'll have to research that more.

Edit: figured out how to mention other users.