This is a very simple relay activator depending on darkness or light.It has a ldr which is to be kept outside where sunlight falls on it.you can adjust the relay activation using a potentiometer so it activates relay when light intensity matches your pre set limit.