This project is about how to make christmas lights (or other devices) turning on/off automatically.
The program automatically calculates dates when the lights should on. Here has been used RTC Timer (DS1307 this case, but it may be any - have to define in the code) to get current time.
The lights turn on every day between 24.12 and 06.12. After that date thay turn on only in weekends (Saturdays and Sundays) before 02.02 - then are on for the last time, even if this is not weekend.
Debugging with UATR: