So I feel like I am close, but maybe not quite there yet. These linear actuators open and close based on the positive and negative flow of power. Just reverse the positive and negative and it opens or closes. So, I can use a photocell to actuate it one way, but how do I make it close? I mean I know i need a relay, but the photocell only connects the circuit one way. I am sure I am completely missing something. Am I even close? Trying to keep this 12V.
Motor: https://www.ebay.com/itm/2-18-Inch-...bs-LinearMotor-12V-with-Brackets/233704565557
Reverse Relay https://www.amazon.com/gp/product/B0879GGVPZ/ref=ox_sc_act_title_2?smid=A2OVMUS055KMW5
Photocell: https://www.amazon.com/Control-Switch-Switching-Sensor-Photocell/dp/B07QVC4J39/
Motor: https://www.ebay.com/itm/2-18-Inch-...bs-LinearMotor-12V-with-Brackets/233704565557
Reverse Relay https://www.amazon.com/gp/product/B0879GGVPZ/ref=ox_sc_act_title_2?smid=A2OVMUS055KMW5
Photocell: https://www.amazon.com/Control-Switch-Switching-Sensor-Photocell/dp/B07QVC4J39/