Current enteroscopy techniques present complications that are intended to be improved with the development of a new semi-automatic device called Endoworm. It consists of two different types of inflatable cavities. For its correct operation, it is essential to detect in real time if the inflatable cavities are malfunctioning (presence of air leakage). Two classification predictive models were obtained, one for each cavity typology, which must discern between the “Right” or “Leak” states. The cavity pressure signals were digitally processed, from which a set of features were extracted and selected. The predictive models were obtained from the features, and a prior classification of the signals between the two possible states was used as input to different supervised machine learning algorithms. The accuracy obtained from the classification predictive model for cavities of the balloon-type was 99.62%, while that of the bellows-type was 100%, representing an encouraging result. Once the models are validated with data generated in animal model tests and subsequently in exploratory clinical tests, their incorporation in the software device will ensure patient safety during small bowel exploration.