You have a small server running at home, but don't want it to waste energy if nothing is going on?
Try this little script which checks a couple of parameters to determine if your server is in use or not and if not, it will shutdown the server.
This can be perfectly combined with an automated wake-up setting in the BIOS or a remote controlled power plug or WOL or {your solution goes her to power on your server}.
New checks and metrics can easily be added. Feel free to adjust everything to fit your needs.
The download is located under "Misc programs"