A dehumidifier in an indoor grow application knows if and when the lights go out using a photocell wired to the dehumidifier's control system. Answer Category: Grow Rooms & Indoor Farming