How to automate my Christmas lights

I was planning something like this...