The code is now in a shareable state. Here's the github link. I hope it's easy for people to adapt to their projects. Let me know how it works.
There is no RTC/battery/32KHz crystal.
Suggest to buy a DS1307 based board. Use I2C to communicate with it.
Looks like your connection to Community was lost, please wait while we try to reconnect.