https://how2electronics.com/rtc-based-automatic-street-light-arduino-ldr/