Add requirements and setinterval function in proximity module