I built a light timer and heat lamp control for our coop, it does the following:
Keeps a constant 15 hours of daylight for our chickens, adding light only on the morning so the nightly chicken routine is not disturbed.
Monitors the temperature inside the coop, if it gets too cold a heat lamp...