Auto night light with schmitt trigger, the top resistor is the LDR 5k to 50k is bright light, 300k is dark light, this is safe to use with a mechanical relay and won't jitter on a cloudy day
simply lower the 300k ldr to 50k and watch the relay snap off