Sensor for presence detection at workplaces