changed RaspberriPi, ContactSwitch, Main