Capita Selecta Distributed Systems 2014 - PIR Sensor