Hardware

http://www.raspberrypi.org/controlling-electrical-sockets-with-energenie-pi-mote/

https://energenie4u.co.uk/index.php/catalogue/product/ENER002-2PI

http://www.jeffbondono.com/WebSiteRaspPi.html