adapted sensor and light applications to router