Lockmaster LM102 Photobeam Infrared Sensor Photo Eye Photocell Gate Door Openers

Install each pair at the opposite positions.Then there is an infrared area between these two detector parts. Install Distance (Max.). Water Proof, UV proof. It will give you detailed instructions. Detecting range can be reduced to 30% in bad weather conditions, like rain, dust, etc.

eBay