FIxed sensor readout...

added the door sensor as well (basic example)