Vacuum and cap detectors