Abstract
Intelligent health monitoring technologies are being developed increasingly due to the limitations of traditional healthcare systems, which often rely on periodic measurements and fail to detect early physiological issues in real time. A significant challenge is accurately analyzing anomalies in continuous biometric data, as these measurements are generally unstable. Traditional statistical methods, such as the Z-score and threshold-based approaches, are quick and computationally simple but can result in a high number of false alarms. In contrast, unsupervised intelligent machine learning methods provide a deeper understanding of data patterns and do not depend on linear or batch learning techniques, which can be time-consuming and require substantial data storage.
In this paper, we propose a hybrid health monitoring system based on the Internet of Things (IoT). This system includes real-time data collection using the ESP32 microcontroller, along with cloud storage through Firebase and advanced data analytics via Google Colab. We combine the Z-score statistical method with a dynamic threshold process and the Isolation Forest algorithm for monitoring abnormalities. This approach leverages the strengths of both statistical methods and machine learning to reduce false alarms effectively. We conducted tests that successfully detected various pathological patterns in real-time through a smartphone app implementation. We believe this system is feasible, flexible, and scalable enough to be widely used for patient monitoring, particularly in telehealth, elderly care, and preventive medicine.
Keywords
Anomaly detection Isolation Forest AI IoT vital signsReferences
- K. Qi, “Advancing hospital healthcare: achieving IoT-based secure health monitoring through multilayer machine learning,” J. Big Data, vol. 12, no. 1, Art. no. 1, 2025.
- Rehman, S. Abbas, M. A. Khan, T. M. Ghazal, K. M. Adnan, and A. Mosavi, “A secure healthcare 5.0 system based on blockchain technology entangled with federated learning technique,” Comput. Biol. Med., vol. 150, Art. no. 106019, 2022.
- U. Sadar, P. Agarwal, S. Parveen, S. Jain, and A. J. Obaid, “Heart disease prediction using machine learning techniques,” in Int. Conf. Data Sci., Mach. Learn. Appl., Singapore: Springer Nature Singapore, Dec. 2023, pp. 551–560.
- E. C. P. Neto, S. Dadkhah, S. Sadeghi, H. Molyneaux, and A. A. Ghorbani, “A review of machine learning (ML)-Based IoT security in healthcare: A dataset perspective,” Comput. Commun., vol. 213, pp. 61–77, 2024.
- Li, J. Wang, S. Wang, and Y. Zhang, “A review of IoT applications in healthcare,” Neurocomputing, vol. 565, Art. no. 127017, 2024.
- R. Vasanth, M. Paranthaman, and P. Sivaprakash, “ML and IoT coupled biomedical applications in healthcare: Smart growth and upcoming challenges,” in Internet of Things Enabled Machine Learning for Biomedical Applications, CRC Press, 2025, pp. 1–22.
- Das, U. Ghosh, S. Shetty, and S. Mohanty, “Machine learning-enabled IoT applications for smart healthcare monitoring systems,” Adv. Comput., vol. 137, pp. 175–218, 2025.
- Y. Asiri, H. T. Halawani, A. D. Algarni, and A. A. Alanazi, “IoT enabled healthcare environment using intelligent deep learning enabled skin lesion diagnosis model,” Alex. Eng. J., vol. 78, pp. 35–44, 2023.
- P. Roman-Naranjo, A. M. Parra-Perez, and J. A. Lopez-Escamez, “A systematic review on machine learning approaches in the diagnosis and prognosis of rare genetic diseases,” J. Biomed. Inform., vol. 143, Art. no. 104429, 2023.
- J. Singh, N. P. Singh, D. S. Hasan, N. A. Shelke, A. Namdev, and N. Girdhar, “An integrated machine learning and IoT based approach for enhanced healthcare efficiency and personalized treatment,” in Int. Conf. Intell. Syst. Design Appl., Cham: Springer Nature Switzerland, Dec. 2023, pp. 143–153.
- H. Hu, J. Xu, M. Liu, and M. K. Lim, “Vaccine supply chain management: An intelligent system utilizing blockchain, IoT and machine learning,” J. Bus. Res., vol. 156, Art. no. 113480, 2023.
- S. A. Siddiqui, A. Ahmad, and N. Fatima, “IoT-based disease prediction using machine learning,” Comput. Electr. Eng., vol. 108, Art. no. 108675, 2023.
- A. Ghubaish, T. Salman, M. Zolanvari, D. Unal, A. K. Al-Ali, and R. Jain, “Recent advances in the Internet of Medical Things (IoMT) systems security,” IEEE Internet Things J., vol. 8, no. 1, pp. 299–318, 2021, doi: 10.1109/JIOT.2020.3045653.
- A. Malibari, “An efficient IoT-Artificial intelligence-based disease prediction using lightweight CNN in healthcare system,” Measurement: Sensors, vol. 26, Art. no. 100695, 2023.
- G. Rajkumar, T. G. Devi, and A. Srinivasan, “Heart disease prediction using IoT based framework and improved deep learning approach: Medical application,” Med. Eng. Phys., vol. 111, Art. no. 103937, 2023.
- K. K. Baseer, K. Sivakumar, D. Veeraiah, et al., “Healthcare diagnostics with an adaptive deep learning model integrated with the internet of medical things (IoMT) for predicting heart disease,” Biomed. Signal Process. Control, vol. 92, Art. no. 105988, 2024.
- R. Ghorbani, M. J. T. Reinders, and D. M. J. Tax, “Personalized anomaly detection in PPG data using representation learning and biometric identification,” Biomed. Signal Process. Control, vol. 94, Art. no. 106216, 2024, doi: 10.1016/j.bspc.2024.106216.
- R. Xu et al., “Assessing electrocardiogram and respiratory signal quality using an unsupervised isolation forest model,” mHealth, vol. 9, Art. no. e25415, Aug. 2021, doi: 10.2196/25415.
- P. H. Charlton et al., “The 2023 wearable photoplethysmography roadmap,” Physiol. Meas., vol. 44, no. 11, Art. no. 111001, 2023, doi: 10.1088/1361-6579/acdaeb.
- M. J. Rodrigues et al., “Physiological and behavior monitoring systems for smart environments,” Sensors, vol. 20, no. 8, Art. no. 2186, Apr. 2020, doi: 10.3390/s20082186.
- S. Sundrani et al., “Predicting patient decompensation from continuous numeric and waveform vital sign monitoring in the emergency department,” NPJ Digit. Med., vol. 6, Art. no. 57, 2023, doi: 10.1038/s41746-023-00803-0.
- M. F. Mahdi, “Enhancing cloud security through artificial intelligence: Detecting advanced cyber attacks and analyzing anomalous patterns,” Int. J. Comput. Electron. Aspects Eng., vol. 6, no. 3, pp. 108–120, 2025.
- S. Q. Ameen, R. G. S. Alsultan, Z. S. Hussain, and Z. T. Abdul-Rahmman, “A hybrid RSA–ElGamal framework for secure end-to-end communications in resource-constrained IoT networks,” Int. J. Comput. Electron. Aspects Eng., vol. 7, no. 2, pp. 140–153, 2026.
- M. K. Yousif, “Enhanced diabetic retinopathy classification using hybrid EfficientNetB0 with CBAM,” Int. J. Comput. Electron. Aspects Eng., vol. 7, no. 2, pp. 176–188, 2026.
- L. H. Albak, “ANFIS-based intelligent framework for predicting health risk levels associated with diabetes and blood pressure abnormalities,” Int. J. Comput. Electron. Aspects Eng., vol. 7, no. 2, pp. 305–315, 2026.
- R. Abdulhammed, “A secure AI-based thalassemia diagnosis framework,” Int. J. Comput. Electron. Aspects Eng., vol. 7, no. 4, pp. 389–398, 2026.