I used the timer/actuator setup from this thread very successfully in my chicken coop for the last year or so, but got tired of having to adjust the timer every few weeks as the light changed. We only had one unfortunate accident, and luckily the chicken lived. I probably should have built it...