The AstroPLX does this using its limit switch
If the door doesn't close all the way, move the front limit switch
Tenders are invited for Pneumatic 3 Way Plug Valve,Pneumatic Piston Rotary Actuator, Mechanical With 2 Mounted Limit Switch
In Limit Switch
Box For Indicating Switch Position.
Features include an overload protection device, dual-speed hoisting and a geared upper and lower limit switch
Selectable micro-stepping up to 1/16th microstep, optically isolated inputs, limit switch
inputs, as well as fused and diode protected motor control outputs.
The unit is available with spring return, limit switch
box and both pneumatic and electro-pneumatic positioner options.