I recently added a UPS to my server rack to keep my internet and home network running during a power outage. After unpacking it, I investigated its USB port and discovered it wasn’t for powering other devices. Instead, it connects to a host computer to provide information like battery charge status, remaining runtime, and current load.

I wanted to access this data without relying on third-party software, so I decided to see if I could reverse-engineer the protocol using Linux.

  • curbstickle@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 hours ago

    I still have a 9 pin serial UPS! Its hooked in a portable rack (dont ask) at my office. Mostly because nitwits kept hitting the buttons on what amounts to an expensive IP controllable surge strip, and turning off devices on me. So now it detects and sends me a message so I can turn outlets back on.

    But hey, it still sees use!