Hi y’all looking for advice here

I selfhost a nextcloud server and a NAS for backups, and one of my challenges has been data corruption after power failures.

I went and bought some consumer UPS units about 5 years ago, which helped, but now the batteries are starting to fail, and I’m not protected from power outages until I replace them.

I have the router on UPS as well so the computers can communicate with each other that the power has failed and it is time to gracefully shut down (using NUT).

However the router itself uses quite a bit of power and I am hoping to make a smarter decision this time around when getting a UPS.

The router’s power supply is 12V5A with a barrel style jack, so i have been searching for “DC UPS 12V 5A” to try and find something compatible that wastes less energy converting from battery DC to AC for the power supply to then convert back to DC.

But the only thing I’ve been able to find are these units designed to power electric doors: https://www.amazon.com/dp/B0D8VLPRN2/

I’m not sure if this would even be safe to use with a router, and i don’t know how i would wire it up to the router either.

I think i just don’t have enough knowledge to know how to shop for an appropriate DC UPS, or if such a thing even exists.

Anyone been in a similar situation?

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours ago

    When charging, 12V lead acid batteries have significant higher voltages (>14V), so you basically need a DC to DC converter to make sure you get a stable 12V supply. Some (typically industrial/automotive grade) systems have that built into their internal power supply and can work directly off a 12V battery, but with consumer routers I would assume that not to be the case.

    • moonshadow@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Hey, I have a lot of appreciation for the infrastructure you maintain so don’t take this the wrong way: you’re very confidently overcomplicating this one all over the thread. People run nominal 12v stuff direct from battery all the time and it’s fine. It’s the norm in RVs, boats, and off-grid housing. There’s usually quite a bit of wiggle room. The router I’m using right now won’t actually cut out until ~8v and sees almost 16 during my ancient lead acid battery’s eq cycles. It’s completely fine and has been for years. Not industrial or automotive grade by any means, a low-end Netgear from the thrift store.

      You also state “while there is DC power the battery in a UPS isn’t used”. Assuming you mean AC that’s still not quite correct, it’s always being charged at least a little and tapping it for DC is perfectly fine.

      That’s my advice to op, and a setup I’ve run before: replace the 12v battery attached to their existing UPS and wire the router/any other 12v devices right to it. A UPS is just a nicely packaged battery charger/inverter/transfer switch. Wiring them to larger/cheaper batteries that don’t happen to fit their casings is also entirely viable, as is running either of their outputs to a load panel. Sky’s the limit :)

      • poVoq@slrpnk.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 minutes ago

        Right AC. Was a typo, corrected now.

        As for running nominally 12V stuff directly of a battery… you got lucky with your router then. I had the same idea with various mini PCs and ARM SBCs, and the majority absolutely should not be run directly off a battery where the voltage fluctuates so much. And it gets even worse when you try to solar charge the batteries.