A very depressed home automation system running on an Arduino (not that it asked to be written)