Time keeping with a raspberry PI and turning on and off lights with a power tail 2

Time keeping with a raspberry PI and turning on and off lights with a power tail 2