The project is already done actualy. The Litmer timer works now in my chicken coop controlling lights inside coop, emulating sunrise and sunset with pwm. This is how pcb design looks like. It's pretty big pcb. The biggest part is lithium backup battery with holder.
DS1302 or lithium backup battery fail while temperature is under -10C or so. While Litmer is on main power nothing fail.