Hacker News new | ask | show | jobs
by timrichard 874 days ago
In some parts of the world, electricity prices are very high at the moment. Last time I measured (IIRC) my NAS uses 70W with all drives running, 30W with the drives spun down (sleep mode) and 3W when "off" (really WOL).

At the moment, I SSH from my phone to a Raspberry Pi in order to WOL the NAS when required. It has the appropriate power settings to spin down and then switch off after a period of inactivity.

Coming to think of it, at some point I may have implemented a single button wake (like the article) by creating a JuiceSSH profile to run my WOL bash function then exit as a snippet, and then making an Android widget on the homescreen to connect with that profile. Probably deleted it because I kept accidentally pressing it :-/

1 comments

> Coming to think of it, at some point I may have implemented a single button wake (like the article) by creating a JuiceSSH profile to run my WOL bash function then exit as a snippet, and then making an Android widget on the homescreen to connect with that profile.

I have something like that as a termux shortcut and it works nicely ( https://wiki.termux.com/wiki/Termux:Widget ). Pretty simple, too; just stick the ssh one-liner in a script in ~/.shortcuts/ and it works.