Updated openDoor code for gpio relais.