I live in a part of the world where powercuts are pretty frequent. 1 per day is normal. They last between 1 and 8 hours. A day without powercuts feels like a special occasion.

My machine is powered by a desktop ups which is terrible. It is only supposed to power everything for a few minutes to shutdown safely. But it is cheap and I don’t know much about other affordable alternatives.

How do you folks who self host at home deal with powercuts? Any recommendations? 8 hours of uptime from a ups sounds almost impossible or totally unaffordable to me.

@bia@lemmy.world
link
fedilink
English
71Y

I actually built my own 2 kWh battery setup after finding available commercial UPS overpriced.

It took some work and cost me about 2000 euro, but now I run everything (including networking, servers and monitor) directly on a battery feed DC net in my house.

It’s pretty cool too have all IT equipment unaffected by a power outage.

@stafeel@lemmy.ml
creator
link
fedilink
English
41Y

More info on how you built your setup please

@bia@lemmy.world
link
fedilink
English
31Y

It’s very homemade, but I believe it’s built like a DC net for a boat. It’s a bluetooth connected lithium battery, boat cabling and fuse boxes and Victron charger and voltage transformers.

I built it with “subnets” for different voltages. The battery is 24 V which feeds servers and a 34” monitor, then a transformer to 12 V for network gear, and several 5 V (USB) for a rack of raspberry pis. The is also a small 230 V transformer, for some gear that have built in PSU.

The largest server is fitted with a custom DC PSU I found on e-bay, others are normal external PSU where I cut the cables.

@stafeel@lemmy.ml
creator
link
fedilink
English
11Y

That’s impressive! In your experience, how does the lithium battery compare to a lead acid one?

@bia@lemmy.world
link
fedilink
English
21Y

I don’t have a good link to share, but from the research I did the difference is huge.

LiFePO4 batteries have a higher capacity, longer lifetime, safer and higher power to weight density. Many come with built in communication, like my bluetooth connection.

They are also expensive, but for my use case it’s much cheaper over time. I use about half a charge per day, which this battery should be able to sustain for 5-10 years. A lead acid battery would probably last months.

@bia@lemmy.world
link
fedilink
English
11Y

Forgot to add that a big part of the setup is in the battery controller, which I built on my own. :) That was a very fun project, and now the battery is fully automatic and charging is based on hourly price and the power provided by my solar panels.

Pics!

@bia@lemmy.world
link
fedilink
English
21Y

It’s not very cleanly built, and parts of it are hidden. But this shows the main parts.

The black UPS on the left is the old one, not in use anymore.

The silver inverter on the left feed a rail in my server rack.

On the right is the battery and charger, and in the middle the fuse box and transfomer.

@Treczoks@lemmy.world
link
fedilink
English
41Y

I live in a part of the world where powercuts are pretty frequent.

Texas?

Ah. Texas.

I am totally out of the loop. Why is Texas’s power grid that bad right now?

ASeriesOfPoorChoices
link
fedilink
English
51Y

Republicans.

@echo64@lemmy.world
link
fedilink
English
91Y

Multiply your server wattage by 8 hours. That’s how much battery you need. It’s probably not going to be a cheap investment.

The alternative would be to keep your ups and invest in a generator you can kick on if there is a power cut, but if it’s every day, that might get rough. Technology connections figured out a build it yourself solution a few years ago https://youtu.be/1q4dUt1yK0g?si=8WOTue9-zGghWlxY

@stafeel@lemmy.ml
creator
link
fedilink
English
11Y

This was very informative. Thank you!

@hottari@lemmy.ml
link
fedilink
English
-11Y

deleted by creator

@Rearsays@lemmy.ml
link
fedilink
English
11Y

I love that it advertises user serviceable

Doubletwist
link
fedilink
English
1
edit-2
1Y

UPSes aren’t meant to keep things running for long periods of time.

If you’re trying to keep things on for hours, you need a generator. Then the UPS just needs to keep things running until the generator comes online.

I suspect it’ll be a lot cheaper to get a small generator than it would be to buy enough UPS and batteries to run things for multiple hours.

Create a post

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!

  • 1 user online
  • 61 users / day
  • 98 users / week
  • 231 users / month
  • 844 users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 8.7K Comments
  • Modlog