Skip to content

This project is about how to make fairy lights (or other devices) turning on/off automatically.

License

Notifications You must be signed in to change notification settings

damian95a/christmas-lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Christmas lights

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:

  • RTC commands: time - prints current time & date, start time debug - prints time every second, stop time debug - ends printing,
  • relay state command: state - prints ON or OFF,
  • generated calendar: schedule - prints dates in the schedule.

    1640961329791

About

This project is about how to make fairy lights (or other devices) turning on/off automatically.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages