this post was submitted on 17 Jul 2025
15 points (100.0% liked)

homelab

8359 readers
2 users here now

founded 5 years ago
MODERATORS
 

I've installed an APC BX950MI-GR and connected it to my Proxmox server via USB. It works: it turns off the server after x minutes after the power loss and it gets turned off by the command upsdrvctl shutdown, when the powers come back on, the UPS turns on and so does the server. The problem is if the power comes back after the server receive the power off signal and before the UPS powers off, in this case the UPS simply goes back in the normal state and the server...stays off. How can I turn it back on? Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] Darkassassin07@lemmy.ca 2 points 1 day ago (1 children)

If you use an RPI as the third device, you can use one of the GPIO pins to trigger a transistor connected in parallel with the servers power button. The pi can then (re)start the server on command.

[–] peregus@lemmy.world 2 points 6 hours ago* (last edited 6 hours ago) (1 children)

I think that I'll go this way, thanks. I don't have transistors, but I have a 2 relay Ethernet board.

[–] Darkassassin07@lemmy.ca 1 points 2 hours ago

I ran a setup like this for a couple years. Super handy being able to literally press the power button remotely; especially when/if the system hangs and becomes unresponsive.