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

homelab

8359 readers
1 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 4 days 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 2 days ago* (last edited 2 days 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 2 points 2 days ago (1 children)

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.

[–] peregus@lemmy.world 1 points 2 days ago

I've just bought and connected to it a JetKVM, when I saw an RJ11 port, I thought that it could have been used to "push" those buttons, but instead it's a serial port ☹️