Tailings dams represent one of the most environmentally sensitive infrastructures in the mining industry. To address the need for continuous and accurate monitoring, this paper presents an adaptive forecasting framework that combines Internet of Things (IoT) technologies with machine learning (ML) models to detect early signs of structural and ecological risks. The proposed system architecture is modular and scalable and enables the automated training, selection, and deployment of predictive models for multivariate sensor data. Each sensor data flow is independently analyzed by using a configurable set of algorithms (including linear, convolutional, recurrent, and residual models). The framework is deployed via containers with a CI/CD pipeline and includes real-time visualization through Grafana dashboards. A use case involving tiltmeters and piezometers in an operational tailing dam shows the system’s high predictive accuracy, with mean relative errors below across all variables (in fact, many of them have a mean relative error below ). These results highlight the potential of the proposed solution to improve structural and environmental safety in mining operations.
This paper presents an attack detection, response, and recommendation framework designed to protect the integrity and operational continuity of IoT-based critical infrastructure, specifically focusing on an energy use case. With the growing deployment of IoT-enabled smart meters in energy systems, ensuring data integrity is essential. The proposed framework monitors smart meter data in real time, identifying deviations that may indicate data tampering or device malfunctions. The system comprises two main components: an attack detection and prediction module based on machine learning (ML) models and a response and adaptation module that recommends countermeasures. The detection module employs a forecasting model using a long short-term memory (LSTM) architecture, followed by a dense layer to predict future readings. It also integrates a statistical thresholding technique based on Tukey’s fences to detect abnormal deviations. The system was evaluated on real smart meter data in a testbed environment. It achieved accurate forecasting (MAPE < 2% in most cases) and successfully flagged injected anomalies with a low false positive rate, an effective result given the lightweight, unsupervised, and real-time nature of the approach. These findings confirm the framework’s applicability in resource-constrained energy systems requiring real-time cyberattack detection and mitigation.