Predicting room occupancy with a single passive infrared (PIR) sensor through behavior extraction | Synapse