Lighting controllers have functionality to automatically turn loads on from dusk until dawn. They do this by monitoring solar panel input - when there is no power from the solar array, it will switch the loads on. When there is power from the solar array, loads are switched off.