add Light sensor monitoring logic