Automatic Coop Door using photo resistor - a hail mary

Thanks for the reply :slight_smile:
No I don't have any specific code, apart from the basic CW, CCW (clockwise, counter clockwise) stuff for the actuator.

A delay would not be ideal, as it would continually need to be modified during weeks that pass by (changing daylight hours). I would prefer for it to adjust automatically with daylight hours.

As the chickens are always in by dark, I figured if I could add a delay after the photocell threshold was met, that way I could ensure no late straggler chickens were locked out. That was my preference for the photosensor.