Sketch for sleep monitor: room sensor post