Sketches, hardware definitions, Scripts (Shell, Python, Ruby) for the book "Hausautomation mit Arduino" http://www.amazon.de/Sensoren-Arduino-Projekten-analogen-digitalen/dp/3645603441/ref=sr_1_1?s=books&ie=UTF8&qid=1402821846&sr=1-1 - Sorry, some German comments and variable names!