Home-Automation First Play of Python Scripting in order to capture the state of sensors and also to drive a 220V relay