This photocell is the type of photocells I'm used to using but any AC photocell will work, I like this type because they are waterproof and have the shield to adjust the light level seen by the photocell. It can be mounted in a box outside the coop. They all have three wires a black, white and red. The black goes to hot, the white goes to neutral. The red is the output to a relay. You will need a 120v coil DPDT (Double Pole Double Throw) relay to complete the AC side of the circuit and it will be the Up and Down switch in the diagram. Then you need the up and down relays which will be in the 12v part of the circuit. This automotive relay will work for that. For the limit switches either magnetic or micro switches work. For a 12v power supply something like this or this will work depending on the amp draw of your motor. I use the second one for my coops just because it doesn't have the big ugly wall wart on my plug strip.
I'll be traveling most of today but should be back online limited for the next few days while on vacation.
JT
I'll be traveling most of today but should be back online limited for the next few days while on vacation.
JT