Update: door now listen on sensor pin instead of reading it (#3). No alarm for now though