Code for the Arduino Home Automation book published by PacktPub