The built unit will need a sensor thats able to tell if either side of the gate is open, the unit will be mounted to one of the gate posts and will need to reach both gates during day and night. Prefered to be low power since it will be solar powered...