With the software side of my Home Sensor up and running, there is only one technical issue to solve: the door sensor. A perfect moment to play around with an OP-AMP and Comparator.