Code repository for the papers [1] and {2}. A data-driven framework for LoRaWAN network diagnostics in massive IoT deployments.
The project combines:
- protocol-aware feature engineering
- multi-layer unsupervised clustering
- probabilistic health scoring
- forecasting of aggregated reliability indicators
The repository includes two main components:
-
Clustering module
Computes device-level descriptors from LoRaWAN telemetry, organizes them into semantic layers, performs clustering, and derives interpretable reliability regimes and health scores. -
Forecasting module
Builds aggregated time series over device groups / hotspot areas and predicts the evolution of reliability indicators, with particular focus onPLR_dw.
The framework is designed to help operators analyze large-scale LoRaWAN deployments where direct device-level inspection is impractical.
The workflow is:
- extract protocol-aware metrics from telemetry
- group them into semantic layers
- identify latent behavioral regimes through clustering
- derive device- or group-level reliability indicators
- forecast their temporal evolution for predictive monitoring
The raw operational data used in the associated study are not included in this repository.
They come from a real industrial deployment and cannot be publicly released for:
- privacy reasons
- confidentiality constraints
- industrial data-sharing restrictions
This repository is intended to contain only:
- code
- documentation
- non-sensitive derived material
No raw customer data or personally identifiable information should be uploaded.
Anyone reusing the code on proprietary datasets is responsible for ensuring compliance with GDPR, internal governance rules, and any applicable confidentiality agreements.
Although the current implementation focuses on LoRaWAN, the overall methodology is largely transferable to other LPWAN or narrowband IoT scenarios.
The main part that would require adaptation is the feature engineering stage, especially for technology-specific descriptors related to signaling, session management, packet-loss inference, and control-plane behavior.
Run the two main scripts / notebooks separately:
- clustering file: structural behavioral modeling and health scoring
- TFT file: temporal forecasting of aggregated indicators
Update the input paths according to your local dataset organization before execution.
If you use this repository in academic work, please cite the corresponding paper associated with this project.
Repository: to be added.