Home automation for the RaspberryPi