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
    arrow-up
    15
    ·
    1 year ago

    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.

      • bia@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        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.

    • Jason2357@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      DIY, all DC is often the way to go if you are trying to run for a long period of time. UPSs are really typically designed to run just long enough ride out brown-outs or to shut everything down safely in a total blackout. Some even shut down if they don’t sense a heavy enough load (i.e., designed to assume servers have shut down, and so preserves the battery -I banged my head against that for so long!).

      I have everything on a consumer-grade APC now, and I have it set up to give me about 3 minutes of server, + another half hour of basic networking. I do have some marine deep cycles and an inverter, so I could set up the networking to run longer if cell towers were down and I needed it. But I’d likely use the energy for other things.