I\'m using a car antenna motor. It has three wires: Ground, 12v power, and 12v relay.
Ground and 12v power are always \"on\", or hooked up to a power source.
When the 12v relay is powered on, the motor extends the antenna until it has been extended. The 12v relay must stay \"on\" while the antenna is to be extended, for if the 12v relay is powered off, the motor retracts the antenna.
In theory, by hooking the door straight up to the antenna, I will never have to deal with open/close sensors because the antenna will always extend a certain distance and retract a certain distance with internal sensors to know when to turn on/off. Hopefully making it simple for me.