Using A Raspberrypi For Home Automation Part 1