←back to thread

756 points mtlynch | 1 comments | | HN request time: 0s | source
Show context
mtlynch ◴[] No.23927535[source]
Author here. Happy to answer any questions or take any feedback about this post.
replies(13): >>23928048 #>>23928079 #>>23928102 #>>23928108 #>>23928824 #>>23929025 #>>23929273 #>>23931092 #>>23931871 #>>23931962 #>>23932019 #>>23932032 #>>23935887 #
PaulKeeble ◴[] No.23931871[source]
Have you looked at a solution for controlling the power on/off yet? This was something I was considering to do with a Raspberry PI and a relay and I figure it is the final part of the solution for when the machine inevitably crashes. Admittedly if its just across the room it was less of a concern but I have had the need to restart while I was away before and it would be nice to be part of the solution.
replies(1): >>23932686 #
1. MayeulC ◴[] No.23932686[source]
This is a pretty simple thing to achieve electrically, just plug something instead of the power button inside the computer. You likely just need one mosfet. If soldering is too uncomfortable, you can find relays to control the main power supply (requires screwing a power supply cable and a couple dupont connectors).

If you don't want to touch anything related to electronics, you could rely on enabling a watchdog on boot-up. Or control if from a smart power supply (you likely have a UPS plugged in, for instance). Use the power after power loss BIOS feature, or WoL to wake it up.