Designed to detect approaching people/objects so as to signal automatic sliding doors to open, the FLT-D IR photoelectric sensor with SPDT-relay output has swiveling optics to optimize threshold ...
(There's even a sensor for measuring the clarity of water.) ...