this post was submitted on 09 Dec 2024
56 points (96.7% liked)

Selfhosted

40734 readers
354 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 2 years ago
MODERATORS
 

I'm running a rather small homelab and am hunting for a good UPS to help keep everything running smoothly. My top priorities are:

  • Just enough battery life to keep things running until they can be shut down
  • Compatible with open source software for monitoring and automated shutdown

Would I have better luck getting a used one and a new battery, or a brand new unit altogether? Anyone have one they don't need anymore, on that note? 👀

Thanks for the advice!

top 49 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Take a look at this list: https://networkupstools.org/stable-hcl.html

I use an older APC Back-UPS 500 to power my homelab and all network devices. So far it's saved me from 3 power outages, and can last about 30 minutes with a 50W power draw. It doesn't have data connections of its own (newer devices do), so I had to improvise with an ESP32 board that reports if it detects a voltage on the beeper, plus some cron jobs on Proxmox.

[–] [email protected] 6 points 2 weeks ago

This is the real answer - get something that NUT supports

[–] [email protected] 9 points 2 weeks ago (4 children)

An APC from wherever. Just don’t buy a CyberPower. They’re much cheaper for a reason and cause more downtime than they save.

[–] [email protected] 8 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Meanwhile, I've had nothing but trouble with consumer APC and find Cyberpower's bullet proof. Had one that went 10yrs before any issues, and a second with 3+ and counting, no problem.

An alternative to both is the burgeoning battery banks for camping/emergency power. Most of these offer UPS quality switching times, so they can act as a UPS when not in use for an emergency. Ecoflow/ anker solix/etc. A big advantage of these is the battery chemistry is very long lived and much better than UPS lead acid. Dont expect a pure sinewave, but you weren't going to get that from most consumer UPS anyway.

[–] [email protected] 2 points 2 weeks ago (1 children)

I'm still looking for a good UPS that can run on 12 V DC from the car's outlet and power usb devices

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

This Anker does all of the above. Its switching speed is 10ms, so it fits the UPS niche as well.

[–] [email protected] 0 points 2 weeks ago (1 children)

Why not mine is a pure sine wave. More expensive then an inline ups though.

[–] [email protected] 2 points 2 weeks ago

Why not

More expensive

[–] [email protected] 5 points 2 weeks ago (2 children)

I have dealt with a lot of units over the years, both consumer and professional. I have had more non-battery issues with APC ones than the Cyberpower ones, especially with the rack mount units.

For batteries they all have a lifetime, so I don't trash a brand simply because the battery dies. That will happen to any UPS battery. However it is well known that APC floats the batteries too high resulting in slightly more runtime at the expense of battery longevity. I have replaced more APC batteries as a result.

All of that said, at the consumer level I just tell people to go buy whichever one is on sale at that moment since at least one of them usually is.

[–] [email protected] 1 points 2 days ago

Was going to say this too. I boitstrapped a financial trading compny using mostly cyberpower uos at the desks so have run a few hubdred of them over the last fifteen years with nounexpected problems. Replace them after fice years and rarely hd any die prematurely. Not to say this is a good idea, just that it imokies quality iant terrible. Lol

[–] [email protected] 3 points 2 weeks ago

Despite your odd luck with batteries, CyberPower has an issue that disqualifies it from use personally or professionally for me, which is that if there’s a problem with the battery, which there too often is, a CyberPower will cut power to the entire unit, even if it’s still receiving power from the wall outlet.

With an APC, at least if the battery dies your devices stay on.

[–] [email protected] 2 points 2 weeks ago

My CyberPower is 14 years old now still working fine, just needed battery swap at 10 year mark.

[–] [email protected] 0 points 2 weeks ago (1 children)

Never had a problem with cyber power yet.

[–] [email protected] 1 points 2 weeks ago (1 children)

The problem is when you do, instead of their units continuing to power your devices via power from the wall, they shut off power to all their battery ports. So CyberPower battery units can and will cause outages for your devices without you even having a power outage event. It’s a critical design flaw their competitors don’t share.

[–] [email protected] 0 points 2 weeks ago (1 children)

Haven't had this happen. Battery pack failed after 10 years. Unit still provided mains AC through battery backup plugs. There is a switcher inside to flip between mains and battery...maybe that was going bad in what you describe.

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I’ve never seen a CyberPower not cut power to its battery ports when the battery failed, which I’ve seen dozens of times since the failure rate on them was bordering on the absurd. When contacting CyberPower to warranty them, they told us that was normal and that the units were designed that way.

[–] [email protected] 2 points 2 weeks ago

I guess in my case the batteries may have had enough to signal they were functional, but they were effectively dead and had no UPS backup sustaining power. One battery had started to buldge its container. I can see it as being an as designed feature, that way they never let you down in a powerfailure event, as you get advanced notice that the battery is no longer working LOL. Had a corporation go down a few years ago, they had not replaced UPS batteries, when power wentout all UPS batteries were dead and couldn't sustain the servers until backup generator came online.

[–] [email protected] 6 points 2 weeks ago (4 children)

If you are in Germany I'll send you one for free. Have two I am getting rid off.

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Not the OP but if they don't take up on the offer I might be able to. I am happy to pay for the shipping if it's possible for you to send it across the border to Netherlands. (I assume without the battery to comply with shipping regulations).

[–] [email protected] 2 points 2 weeks ago (1 children)

I am on the road till Friday, then I'll get the model and details so you can make an informed decision.

[–] [email protected] 2 points 2 weeks ago
[–] [email protected] 2 points 2 weeks ago

Am in germany, I'll take it off your hands :D Where exactly are you?

[–] [email protected] 1 points 2 weeks ago (1 children)

I appreciate the offer, but unfortunately, I'm an American.

[–] [email protected] 4 points 2 weeks ago

My condolences. /s

[–] [email protected] 1 points 2 weeks ago (1 children)

I'm right next to Germany, in the Netherlands. Me and my gf have been working on a home server to keep our memories safe. I'd gladly take it off your hands.

[–] [email protected] 1 points 2 weeks ago (1 children)

I am on the road till Friday, then I'll get the model and details so you can make an informed decision.

[–] [email protected] 1 points 2 weeks ago

I'll be keeping an eye on my notifications, thank you!

[–] [email protected] 4 points 2 weeks ago

"Enough battery life" is a bit wide requirement. What you're running from that?

Most of the 'big brands' (eaton, apc..) work just fine with linux/open source, but specially low end consumer models even from big players might not and not all of them have any kind of port for data transfer at all.

Personally I'd say that if you're looking for something smaller than 1000VA just get a brand new one. Bigger than those might be worth to buy used and just replace batteries, but that varies a lot. I've got few dirt cheap units around which apprently fried their charging circuit when the original battery died, so they're e-waste now and on the other hand I have 1500VA cheap(ish) FSP which is running on 3rd or 4th set of batteries, so there's not a definitive answer on what to get.

[–] [email protected] 4 points 2 weeks ago (2 children)

Some cheap Eaton.... I got a multi-plug from Eaton, works fine.

I wouldn't go cheaper...

And remember that for any ups you need to plan replacing batteries every 12-18 months!

[–] [email protected] 7 points 2 weeks ago (1 children)

12-18 mo?

Can you imagine a datacenter replacing them that often?

Don't get me wrong, it's very good advice to remind folks these batteries are a wear item, and to be be prepared to replace them, but if you're having to replace them at 18 months, I'd be looking for a different, not junk, brand.

Maybe 2 years, if I have bad power so it's being used, a lot.

I can only imagine batteries wearing this fast because the UPS is cheap and doesn't have pass-through design, and instead uses the batteries constantly to provide power conditioning.

[–] [email protected] 1 points 2 weeks ago

Yes, we are talking of cheap ups... :)

[–] [email protected] 1 points 1 week ago (1 children)

Eaton are probably the best out there. In my experience battery last between 3 and 4 years.

[–] [email protected] 1 points 1 week ago

My latest purchase is an Eaton, hope battery are better quality ad well!

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

I bought mine through refurbups or whatever the site is. APC rack mount. New batteries. It's been rock solid since. apcupsd running on my proxmox backup server. Everyone gets it's info from that.

[–] [email protected] 3 points 2 weeks ago (1 children)

This will depend wildly on what you are planning to put onto it

That said I have a 2 cyber power 825va (I think that’s the model, not sure). It’s like 450watts each iirc. I got them 2 for 1 for about $120 new. One has my server/nas, for which it’s grossly underpowered (maybe 7-10 minutes of runtime, at best), and one powers basically everything else critical in my rack (modem, switch, poe switch, etc) and powers that longer but still not as long (my primary switch is a business switch that was pulled from an ewaste place for nothing, like $15, but it’s got 48 gigabit ports and 5 10gb ports! But it also uses a shocking amount of power).

They work great for my use case. I live in a rural area with a horrendous power grid so I lose power about once every 6 weeks. As a result I have a (very pricey, can’t recommend unless you lose power a lot like me) whole house generator with automatic transfer switch. When power drops out the generator kicks on and switches the house over to generator power which takes about 45-90 seconds, so I really only need these to keep my gear on for that period. Beyond that it’s generator monitoring and if the fuel supply for that is running low network gear is shutdown to conserve power

In a perfect world where I was financially independent I would probably upgrade the server one to at least a 1500va to ensure my storage pool could fully stop and everything could shut down even if power was lost

But most ups will work with monitoring in one way or another. APC and cyberpower work with the apc daemon (probably others) which can easily be implemented into all kinds of software and has support in mac, Linux, windows

Determining battery life depends greatly on load. Rough calculation with power supplies of gear connected, better calculation with something like a kill-a-watt or multimeter and taking a reading for a little while under load, add it all together and add 20-30% to be safe. APC, cyberpower, etc have calculators for this

Buying used can be okay but you do have to be comfortable changing the battery. Additionally there is the risk of something being wrong with it of course, they’re not bulletproof. They’re usually pretty decent though, the bigger thing is that they’re just really expensive to ship, even without batteries

[–] [email protected] 4 points 2 weeks ago (1 children)

or multimeter

Unless you really know what you're doing DO NOT measure current on a wall outlet with a multimeter. Specially not with a cheap one. That can pretty easily break your hardware, burn your house down and kill you, not necessarily in that order.

[–] [email protected] 3 points 2 weeks ago (1 children)
[–] [email protected] 3 points 2 weeks ago (1 children)

That's better, but you still need to have single wire to loop it around, which is not normally accessible. And at least in here the term 'multimeter' spesifically means one without a clamp, so you'd need to wire the multimeter in series with the load and that can be very dangerous if you don't know what you're doing.

Also, cheap ones often are not properly insulated nor rated for wall power (regardless of your voltage), so, again, if you don't know what you are doing DO NOT measure current from a wall outlet with a multimeter.

[–] [email protected] 0 points 2 weeks ago (2 children)
[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Parallel won't show current load of a device. Even a clamp type can be thought of as serial, it's just picking up the EM field instead of actually carrying the current load across the device.

Something in parallel will be powered by the same source, with it's current load independent of the other device.

(And yes, I had to think about it for a second, it's not always immediately intuitive for me either.)

[–] [email protected] 2 points 2 weeks ago

Pfff current I was brain-dead, yes.

There's smart plugs that measure current, I have some Emporia plugs at home.

[–] [email protected] 2 points 2 weeks ago (1 children)
[–] [email protected] 1 points 2 weeks ago

Voltage is measured in parallel and current in series. You need both to calculate the power.

[–] [email protected] 2 points 2 weeks ago (1 children)

If you live near a college campus, check out their recycling center or campus surplus. Lots of IT departments just toss UPS when they upgrade equipment regardless of battery status. I like to grab APC ones because the battery replacements are easy to find and there's usually a YouTube video for the exact model with someone refurbing it.

[–] [email protected] 0 points 2 weeks ago (1 children)

Do not disassemble a UPS for any reason. That is a good way to die.

If you are just wiping it down and changing the battery that is fine but don't do more than that.

[–] [email protected] 4 points 2 weeks ago

Ah just let a few of them die, how are they gonna learn

[–] [email protected] 2 points 2 weeks ago

Highly recommend Tripplite

I got me one of these used (with good batteries) for $100

https://www.newegg.com/tripp-lite-smart1500lcd-5-15r/p/N82E16842111052

They have an external connector in the back for adding external batteries and the menu to do so is analog.

I added a golf cart battery to mine tripping the capacity for very very cheap.

Look in the used market.

If you want something better, Eaton is the go to, look for used deals in marketplace / craigslist. I found someone selling Used industrial Eaton UPSs with extended batteries for 150$ the set

https://www.facebook.com/marketplace/item/1968641186894464/

[–] [email protected] 1 points 2 weeks ago

One thing people always forget in "small", make sure to check minimum current, not just battery size. If you end up adding a video card to that homelab, you may end up with constant warning beeps at high load.

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

Used UPS's show up from time to time. I recently found a craigslist posting with 6 all of which were in decent shape needing some cleaning, and new batteries.

Batteries are the rub since they only last about 5 years so most used ones need new batteries. Good news is its not that hard to replace them as long as you take your time and pay attention.