←back to thread

294 points AgaoAnar | 1 comments | | HN request time: 0.208s | source
Show context
drnick1 ◴[] No.45109352[source]
All this complexity to save a few bucks per year on your electricity bill? This is ridiculous, the Pi costs far more than what you can be expected to save.
replies(9): >>45109617 #>>45109817 #>>45109848 #>>45109857 #>>45109995 #>>45110290 #>>45110859 #>>45110929 #>>45112885 #
1. neilv ◴[] No.45109995[source]
I think it turned out a lot more complicated than the author expected, but that their solution they kindly wrote up will be pragmatic for someone.

(For example, imagine a big home GPU server that is needed only intermittently, and you want it to spin up automatically on network traffic from family's various devices that you can't modify.)

Of course, if you have simpler needs, and you're willing to send a WOL magic packet from the using devices, you can do in a few lines of shell script. It's a 1-line ssh-to-something-that-can-etherwake-on-that-vlan script, then wait in a loop for the service you need to appear, then 1-line ssh-to-server-to-shutdown when you're done.