Scalable IoT-Based Architecture for Continuous Monitoring of Patients at Home: Design and Technical Validation
Abstract
1. Introduction
1.1. Context and Problem
1.2. Research Questions
1.3. Scientific Contributions
1.4. Technical Objectives and Validation Scope
- Designing sensor infrastructure providing room-level localization accuracy above 95% using infrared technology.
- Developing a three-stream data architecture with end-to-end latency below 10 s for critical events, bandwidth efficiency (over 70% reduction), and maintaining full-time resolution (1 s granularity).
- Implementing edge computing with local machine learning on specialized hardware for real-time anomaly detection without cloud dependency.
- Analyzing architectural feasibility of federated learning for joint model development across multiple institutions.
- Validating technical performance through real-world residential deployment and analyzing economic viability through cost modeling.
2. Related Work
2.1. Clinical Context and Sensor-Based Approaches
2.2. Sensor Modalities and Architectures
2.3. Indoor Localization Technologies
Room-Level Localization
2.4. Edge Computing for Health Monitoring
2.5. Federated Learning for Privacy-Preserving Healthcare
2.6. Existing Home Monitoring Systems
2.7. Gap Analysis
- Three-stream data architecture—a new pipeline system simultaneously meets requirements for real-time visualization (1 min aggregates), machine learning model training (lossless event logs with 1 s resolution), and low latency for critical events (under 7 s end-to-end). The architecture achieves 41.2% bandwidth reduction while preserving complete temporal information.
- Edge ML on standard hardware—local inference on ESP32-S3 microcontrollers with latency under 50 ms is demonstrated, enabling critical event detection (falls) without cloud infrastructure dependency. This provides a real-time response and represents significant advantage over existing systems.
- Federated training architecture—a monitoring system designed for inter-institutional collaboration while strictly maintaining confidentiality is presented. The approach addresses GDPR-imposed restrictions. Although validated only in a simulated environment, it establishes conceptual and technical foundations for future real-world implementation.
- Economic feasibility—estimated costs of €490 for initial implementation and €55 monthly operation are substantially lower than existing research systems, making the solution suitable for large-scale implementation in real clinical and social settings.
3. System Architecture
3.1. Architectural Requirements
3.1.1. Functional Requirements
3.1.2. Technical Performance Requirements
3.1.3. Confidentiality and Security Requirements
3.1.4. Regulatory Requirements
3.1.5. Economic Viability Requirements
3.1.6. Clinical Applicability Requirements
3.2. Used Hardware
3.2.1. Wearable Sensor Devices
3.2.2. Edge Computing Gateways
3.3. Software Architecture
3.3.1. Edge Gateway Software
3.3.2. Cloud Infrastructure
3.4. Three-Tier Data Architecture
3.4.1. Stream 1: Aggregated Statistical Descriptors
3.4.2. Stream 2: Compressed Event Logs
3.4.3. Stream 3: Critical Real-Time Alerts
3.4.4. Derivative Aggregates
3.5. Deduplication with Multiple Gateways
3.5.1. Deduplication of Aggregated Descriptors (Stream 1)
3.5.2. Merging Event Logs (Stream 2)
3.5.3. Deduplication of Critical Alarms (Stream 3)
4. Federated Learning Design
4.1. Motivation and Requirements
4.2. Architecture of the Federated Learning System
4.2.1. Federated Learning Orchestrator
4.2.2. Local Training Servers
- Feature extraction from MongoDB hourly aggregates or event logs collections for the training set. Features include statistical moments of motor activity, spatial indicators, circadian parameters, and behavioral anomalies (episodes of long-term immobility and nocturnal activity).
- Local model training on the institutional dataset for a fixed number of epochs (typically 5–10). A deep recurrent neural network (LSTM) architecture with two layers of 64 and 32 units, dropout layers with probability 0.3 for regularization, and a dense output layer for risk classification are used. The model is trained with the Adam optimizer (learning rate = 0.001) and binary cross-entropy loss.
- Parametric update calculation: After local training, the server calculates the difference between local weights and global weights :
- This parametric update (typically ~200 KB for the LSTM model) is serialized and sent to the orchestrator via a secure gRPC channel.
4.2.3. Federated Averaging Algorithm
4.2.4. Model Deployment and Update Mechanism
4.3. Implementation with the Flower Framework
4.3.1. Architectural Advantages of Flower
4.3.2. Client Implementation
- get_parameters() retrieves the current parameters of the local model as a list of NumPy arrays. This operation is called at the beginning of each round, when the orchestrator wants to obtain the current state of the local model.
- fit(parameters, config) accepts global parameters from the orchestrator, updates the local model, performs local training for a configured number of epochs, and returns updated parameters along with metadata (number of examples used and local loss). Only parameter updates leave the institution—raw data and gradients remain local.
- evaluate(parameters, config) evaluates the global model on a local validation set and returns quality metrics (accuracy and loss). This allows the orchestrator to track global performance without accessing the data.
4.3.3. Server Configuration
4.4. Confidentiality Guarantees
4.4.1. Communication Efficiency
4.4.2. Transport-Level Encryption
4.4.3. Protection Against Byzantine Attacks
- Statistical filtering excludes updates that are statistical outliers by calculating the Euclidean distance between each pair of updates and rejecting updates with a median distance above a certain threshold.
- Robust aggregation uses algorithms such as Krum (which selects updates with the smallest sum of distances to nearest neighbors) or Trimmed Mean (which excludes the most extreme α% updates before averaging) instead of direct averaging.
- The reputation system tracks historical client performance and reduces weights of institutions whose updates consistently worsen global validation accuracy.
5. Technical Validation
5.1. Scope and Objectives of Validation
- Localization accuracy—verification of the infrared system to achieve room-level localization accuracy.
- BLE communication characteristics—measurement of packet delivery reliability, RSSI, and coverage.
- Compression efficiency—validation of network traffic reduction while maintaining information completeness.
- Deduplication performance—assessment of accuracy in multi-gateway configurations.
- End-to-end latency—verification of requirement for under 10 s for critical event delivery.
- Architectural feasibility of federated learning—demonstration of federated learning in a simulated environment.
5.2. Experimental Setup
5.2.1. Test Environment
5.2.2. Hardware Implementation
5.2.3. Participants
5.2.4. Ground Truth Collection and Validation Methodology
5.3. Technical Results
5.3.1. Accuracy of Infrared Localization
Theoretical Model
Monte Carlo Analysis
- Generate random initial positions uniformly in the room.
- For each position, simulate exponentially distributed stay time :where is the average dwell time.
- Discretize time with Δt and apply logic for and TTL.
- Accuracy is estimated as the fraction of time during which coincides with actual visitor position.
Experimental Validation
Comparative Analysis with Published Methods
5.3.2. BLE Communication
5.3.3. Effectiveness of the Three-Channel Architecture
5.3.4. Deduplication Performance
5.3.5. End-to-End Latency
5.3.6. Federated Learning: Simulated Proof-of-Concept and Limitations
Experimental Design and Data Partitioning
- Centralized (baseline). All data from ten subjects is pooled and trained centrally, representing optimal performance with full data access. Data split subject-wise into 70% training, 15% validation, and 15% testing to prevent subject leakage and ensure realistic generalization.
- Federated IID. To establish a controlled baseline scenario, the ten subjects were randomly distributed across three institutions while preserving age-group balance (over 55 years: four subjects; 35–55 years: three subjects; under 35 years: three subjects), resulting in institutional proportions of four, three, and three subjects. Each institution received a demographically mixed sample, ensuring representativeness of different age profiles and associated movement patterns during falls and daily activities. This allocation reduced statistical heterogeneity between institutions, approximating an IID setting.
- Federated Non-IID. This setup introduces both demographic and label-skew heterogeneity to simulate real-world complexity. The three institutions differ in age distribution and fall prevalence: institution 1 (>55 years) represents a high-risk elderly cohort (30% falls), institution 2 (35–55 years) includes moderate-risk adults (25% falls), and institution 3 (<35 years) comprises low-risk young adults (20% falls). This age-stratified non-IID structure reflects real-life scenarios in which institution 1 may be a geriatric clinic (high fall rate), institution 2 a general hospital (moderate fall rate), and institution 3 a community health center (low frequency). This configuration introduces both biomechanical differences (age-related movement patterns) and statistical differences (varying fall rates), representing the most challenging scenario for federated learning.
Comparative Results
Critical Limitations and Production Requirements
- Simulation constraints. All experiments were conducted on a laptop, Dell Precision 3581 (Intel Core i7-13700H, 14 cores; 32 GB DDR5; 512 GB SSD), where three institutions were simulated through Python processes. Communication was performed over localhost connections rather than through production-grade network infrastructure. A real-world deployment would require institutional firewall traversal and NAT configuration, the establishment of VPN tunnels or trusted cloud intermediaries, comprehensive hospital IT security audits and penetration testing, as well as bandwidth management under real network constraints instead of localhost communication.
- Security and privacy gaps. No Byzantine fault tolerance was implemented. A production-grade federated learning system would require robust aggregation algorithms such as Krum and Trimmed Mean to detect and exclude malicious model updates, differential privacy mechanisms that provide formal (ε, δ)-differential privacy guarantees beyond simple parameter aggregation, secure multi-party computation to enable aggregation without revealing individual updates to the orchestrator, and defenses against model inversion attacks that could otherwise allow reconstruction of training data from model parameters. These security mechanisms introduce additional computational overheads and may further reduce model accuracy, effects that have not been quantified here.
- Regulatory and legal requirements. A real-world deployment would require establishing a comprehensive legal framework with data processing agreements between participating institutions, a process that typically involves 6–12 months of negotiation. Each site needs IRB approval supported by standardized informed consent procedures. In addition, a lawful basis under GDPR Article 6 would have to be defined, most likely “public interest” or “legitimate interest,” together with a completed Data Protection Impact Assessment (DPIA) for every participating institution. The process would also require the appointment of Data Protection Officers, implementation of formal audit procedures, and the adoption of Standard Contractual Clauses for any cross-border data transfers. Establishing real three-hospital federated deployment requires partnership agreements, IT security audits, firewall configurations, and a 12–18-month timeline with an estimated cost of €200,000–350,000.
5.3.7. Real-Time Visualization of Data from Wearable Devices
6. Discussion
6.1. Key Technical Contributions
On the Necessity of System-Level Validation
6.2. Positioning Relative to the Current State
6.3. Limitations and Guidelines for Future Development
6.3.1. Current Technical Limitations
6.3.2. Guidelines for Clinical Implementation
- Phase 1. Extended technical validation (6–12 months)—testing with 50–100 participants in real, diverse home environments for a minimum of three months of continuous operation, covering different home types and demographic profiles (ages 65 to over 85, different education levels and technological literacy levels). Includes systematic failure analysis with targeted provocation of edge cases (battery depletion, connectivity loss, and extreme usage patterns) and assessment of long-term hardware component reliability.
- Phase 2. Clinical pilot study (12–18 months)—ethics committee-approved protocol with ~150 participants in three groups: 50 individuals with MCI, 50 with mild dementia, and 50 healthy controls. Includes baseline and quarterly neuropsychological assessments (MMSE, MoCA, and CERAD-Plus) and reference clinical diagnosis. Effectiveness assessment covers diagnostic indicators (sensitivity, specificity, positive and negative predictive value) for MCI classification versus healthy controls and analysis of predictive ability for MCI to dementia within 12 months.
- Phase 3. Multi-center federated deployment (18–24 months)—real federated training between ≥5 institutions, each with a cohort of 50–100 patients. Objectives are technical integration in heterogeneous institutional IT environments, demonstration that the federated learning model achieves equal or higher accuracy versus single-institution models, official confidentiality audit confirming GDPR compliance, and proof of operational stability with continuous operation over six months without critical incidents.
- Phase 4. Prioritize technical improvements—integration of PPG sensor for cardiovascular monitoring, optional GPS module for outdoor tracking (periodic mode for energy efficiency), and implementation of Byzantine fault-tolerant aggregation methods (Krum and Trimmed Mean) with differential privacy mechanisms providing formal guarantees for data protection.
6.3.3. Open Research Questions
6.4. Broader Impact and Applicability
7. Conclusions
Supplementary Materials
Funding
Data Availability Statement
Conflicts of Interest
References
- World Health Organization. Dementia. 2023. Available online: https://www.who.int/news-room/fact-sheets/detail/dementia (accessed on 5 December 2025).
- McKhann, G.M.; Knopman, D.S.; Chertkow, H.; Hyman, B.T.; Jack, C.R.; Kawas, C.H.; Klunk, W.E.; Koroshetz, W.J.; Manly, J.J.; Mayeux, R.; et al. The Diagnosis of Dementia Due to Alzheimer’s Disease: Recommendations from the National Institute on Aging-Alzheimer’s Association Workgroups on Diagnostic Guidelines for Alzheimer’s Disease. Alzheimer’s Dement. 2011, 7, 263–269. [Google Scholar] [CrossRef] [PubMed]
- Takahashi, T.; Nonaka, T.; Ohtani, R.; Hasegawa, M.; Hori, Y.; Tomita, T.; Kurita, R. Hindering Tau Fibrillization by Disrupting Transient Precursor Clusters. Neurosci. Res. 2025, 220, 104968. [Google Scholar] [CrossRef] [PubMed]
- Nasreddine, Z.S.; Phillips, N.A.; Bédirian, V.; Charbonneau, S.; Whitehead, V.; Collin, I.; Cummings, J.L.; Chertkow, H. The Montreal Cognitive Assessment, MoCA: A Brief Screening Tool for Mild Cognitive Impairment. J. Am. Geriatr. Soc. 2005, 53, 695–699. [Google Scholar] [CrossRef] [PubMed]
- Jack, C.R.; Bennett, D.A.; Blennow, K.; Carrillo, M.C.; Dunn, B.; Haeberlein, S.B.; Holtzman, D.M.; Jagust, W.; Jessen, F.; Karlawish, J.; et al. NIA-AA Research Framework: Toward a Biological Definition of Alzheimer’s Disease. Alzheimer’s Dement. 2018, 14, 535–562. [Google Scholar] [CrossRef]
- Dubois, B.; Hampel, H.; Feldman, H.H.; Scheltens, P.; Aisen, P.; Andrieu, S.; Bakardjian, H.; Benali, H.; Bertram, L.; Blennow, K.; et al. Preclinical Alzheimer’s Disease: Definition, Natural History, and Diagnostic Criteria. Alzheimer’s Dement. 2016, 12, 292–323. [Google Scholar] [CrossRef]
- Kaye, J.; Mattek, N.; Dodge, H.H.; Campbell, I.; Hayes, T.; Austin, D.; Hatt, W.; Wild, K.; Jimison, H.; Pavel, M. Unobtrusive Measurement of Daily Computer Use to Detect Mild Cognitive Impairment. Alzheimer’s Dement. 2014, 10, 10–17. [Google Scholar] [CrossRef]
- Müller, K.; Fröhlich, S.; Germano, A.M.C.; Kondragunta, J.; Agoitia Hurtado, M.F.D.C.; Rudisch, J.; Schmidt, D.; Hirtz, G.; Stollmann, P.; Voelcker-Rehage, C. Sensor-Based Systems for Early Detection of Dementia (SENDA): A Study Protocol for a Prospective Cohort Sequential Study. BMC Neurol. 2020, 20, 84. [Google Scholar] [CrossRef]
- Jonell, P.; Moëll, B.; Håkansson, K.; Henter, G.E.; Kuchurenko, T.; Mikheeva, O.; Hagman, G.; Holleman, J.; Kivipelto, M.; Kjellström, H.; et al. Multimodal Capture of Patient Behaviour for Improved Detection of Early Dementia: Clinical Feasibility and Preliminary Results. Front. Comput. Sci. 2021, 3, 642633. [Google Scholar] [CrossRef]
- Yurdem, B.; Kuzlu, M.; Gullu, M.K.; Catak, F.O.; Tabassum, M. Federated Learning: Overview, Strategies, Applications, Tools and Future Directions. Heliyon 2024, 10, e38137. [Google Scholar] [CrossRef]
- Li, H.; Li, C.; Wang, J.; Yang, A.; Ma, Z.; Zhang, Z.; Hua, D. Review on Security of Federated Learning and Its Application in Healthcare. Future Gener. Comput. Syst. 2023, 144, 271–290. [Google Scholar] [CrossRef]
- Hasan, M.M. Federated Learning Models for Privacy-Preserving Ai in Enterprise Decision Systems. Int. J. Bus. Econ. Insights 2025, 5, 238–269. [Google Scholar] [CrossRef]
- Addae, S.; Kim, J.; Smith, A.; Rajana, P.; Kang, M. Smart Solutions for Detecting, Predicting, Monitoring, and Managing Dementia in the Elderly: A Survey. IEEE Access 2024, 12, 100026–100056. [Google Scholar] [CrossRef]
- Thaliath, A.; Pillai, J.A. Non-Cognitive Symptoms in Alzheimer’s Disease and Their Likely Impact on Patient Outcomes. A Scoping Review. Curr. Treat. Options Neurol. 2025, 27, 41. [Google Scholar] [CrossRef] [PubMed]
- Ghayvat, H.; Gope, P. Smart Aging Monitoring and Early Dementia Recognition (SAMEDR): Uncovering the Hidden Wellness Parameter for Preventive Well-Being Monitoring to Categorize Cognitive Impairment and Dementia in Community-Dwelling Elderly Subjects through AI. Neural Comput. Appl. 2023, 35, 23739–23751. [Google Scholar] [CrossRef]
- Deters, J.K.; Janus, S.; Silva, J.A.L.; Wörtche, H.J.; Zuidema, S.U. Sensor-Based Agitation Prediction in Institutionalized People with Dementia A Systematic Review. Pervasive Mob. Comput. 2024, 98, 101876. [Google Scholar] [CrossRef]
- Anikwe, C.V.; Friday Nweke, H.; Chukwu Ikegwu, A.; Adolphus Egwuonwu, C.; Uchenna Onu, F.; Rita Alo, U.; Wah Teh, Y. Mobile and Wearable Sensors for Data-Driven Health Monitoring System: State-of-the-Art and Future Prospect. Expert Syst. Appl. 2022, 202, 117362. [Google Scholar] [CrossRef]
- Gabrielli, D.; Prenkaj, B.; Velardi, P.; Faralli, S. AI on the Pulse: Real-Time Health Anomaly Detection with Wearable and Ambient Intelligence. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management (CIKM 2025), Seoul, Republic of Korea, 10–14 November 2025; pp. 4717–4721. [Google Scholar]
- Assaad, R.H.; Mohammadi, M.; Poudel, O. Developing an Intelligent IoT-Enabled Wearable Multimodal Biosensing Device and Cloud-Based Digital Dashboard for Real-Time and Comprehensive Health, Physiological, Emotional, and Cognitive Monitoring Using Multi-Sensor Fusion Technologies. Sens. Actuators A Phys. 2025, 381, 116074. [Google Scholar] [CrossRef]
- Teoh, J.R.; Dong, J.; Zuo, X.; Lai, K.W.; Hasikin, K.; Wu, X. Advancing Healthcare through Multimodal Data Fusion: A Comprehensive Review of Techniques and Applications. PeerJ Comput. Sci. 2024, 10, e2298. [Google Scholar] [CrossRef]
- Johnson, B.B. Noninvasive Patient Monitoring with Ambient Sensors to Monitor Physical and Cognitive Health for Individuals Living with Alzheimer’s Disease. In Proceedings of the 2024 Design of Medical Devices Conference, DMD 2024, Minneapolis, MN, USA, 8–10 April 2024. [Google Scholar]
- Bijlani, N.; Maldonado, O.M.; Nilforooshan, R.; Barnaghi, P.; Kouchaki, S. Utilizing Graph Neural Networks for Adverse Health Detection and Personalized Decision Making in Sensor-Based Remote Monitoring for Dementia Care. Comput. Biol. Med. 2024, 183, 109287. [Google Scholar] [CrossRef]
- Obeidat, H.; Shuaieb, W.; Obeidat, O.; Abd-Alhameed, R. A Review of Indoor Localization Techniques and Wireless Technologies. Wirel. Pers. Commun. 2021, 119, 289–327. [Google Scholar] [CrossRef]
- Leitch, S.G.; Ahmed, Q.Z.; Abbas, W.B.; Hafeez, M.; Lazaridis, P.I.; Sureephong, P.; Alade, T. On Indoor Localization Using WiFi, BLE, UWB, and IMU Technologies. Sensors 2023, 23, 8598. [Google Scholar] [CrossRef] [PubMed]
- Casha, O. A Comparative Analysis and Review of Indoor Positioning Systems and Technologies. In Innovations in Indoor Positioning Systems (IPS); IntechOpen: Rijeka, Croatia, 2024. [Google Scholar]
- Biehl, J.T.; Girgensohn, A.; Patel, M. Achieving Accurate Room-Level Indoor Location Estimation with Emerging IoT Networks. In Proceedings of the 9th International Conference on the Internet of Things, Bilbao, Spain, 22–25 October 2019. [Google Scholar]
- García-Paterna, P.J.; Martínez-Sala, A.S.; Sánchez-Aarnoutse, J.C. Empirical Study of a Room-Level Localization System Based on Bluetooth Low Energy Beacons. Sensors 2021, 21, 3665. [Google Scholar] [CrossRef] [PubMed]
- Chen, Y.; Wang, Y.; Zhao, Y. A Room-Level Indoor Localization Using an Energy-Harvesting BLE Tag. Electronics 2024, 13, 4493. [Google Scholar] [CrossRef]
- Karabey Aksakalli, I.; Bayındır, L. Enhancing Indoor Localization with Room-to-Room Transition Time: A Multi-Dataset Study. Appl. Sci. 2025, 15, 1985. [Google Scholar] [CrossRef]
- Tegou, T.; Kalamaras, I.; Votis, K.; Tzovaras, D. A Low-Cost Room-Level Indoor Localization System with Easy Setup for Medical Applications. In Proceedings of the 2018 11th IFIP Wireless and Mobile Networking Conference, WMNC 2018, Prague, Czech Republic, 3–5 September 2018. [Google Scholar]
- Alzu’Bi, A.; Alomar, A.; Alkhaza’Leh, S.; Abuarqoub, A.; Hammoudeh, M. A Review of Privacy and Security of Edge Computing in Smart Healthcare Systems: Issues, Challenges, and Research Directions. Tsinghua Sci. Technol. 2024, 29, 1152–1180. [Google Scholar] [CrossRef]
- Islam, U.; Alatawi, M.N.; Alqazzaz, A.; Alamro, S.; Shah, B.; Moreira, F. A Hybrid Fog-Edge Computing Architecture for Real-Time Health Monitoring in IoMT Systems with Optimized Latency and Threat Resilience. Sci. Rep. 2025, 15, 25655. [Google Scholar] [CrossRef]
- Rancea, A.; Anghel, I.; Cioara, T. Edge Computing in Healthcare: Innovations, Opportunities, and Challenges. Future Internet 2024, 16, 329. [Google Scholar] [CrossRef]
- Ali, M.S.; Ahsan, M.M.; Tasnim, L.; Afrin, S.; Biswas, K.; Hossain, M.M.; Ahmed, M.M.; Hashan, R.; Islam, M.K.; Raman, S. Federated Learning in Healthcare: Model Misconducts, Security, Challenges, Applications, and Future Research Directions—A Systematic Review. arXiv 2024, arXiv:2405.13832. [Google Scholar]
- Pati, S.; Kumar, S.; Varma, A.; Edwards, B.; Lu, C.; Qu, L.; Wang, J.J.; Lakshminarayanan, A.; Wang, S.-h.; Sheller, M.J.; et al. Privacy Preservation for Federated Learning in Health Care. Patterns 2024, 5, 100974. [Google Scholar] [CrossRef]
- Dhade, P.; Shirke, P. Federated Learning for Healthcare: A Comprehensive Review. Eng. Proc. 2023, 59, 230. [Google Scholar] [CrossRef]
- Lyons, B.E.; Austin, D.; Seelye, A.; Petersen, J.; Yeargers, J.; Riley, T.; Sharma, N.; Mattek, N.; Wild, K.; Dodge, H.; et al. Pervasive Computing Technologies to Continuously Assess Alzheimer’s Disease Progression and Intervention Efficacy. Front. Aging Neurosci. 2015, 7, 102. [Google Scholar] [CrossRef]
- Gothard, S.; Nunnerley, M.; Rodrigues, N.; Wu, C.Y.; Mattek, N.; Hughes, A.M.; Kaye, J.A.; Beattie, Z. Study Participant Self-Installed Deployment of a Home-Based Digital Assessment Platform for Dementia Research. Alzheimer’s Dement. 2021, 17, e055724. [Google Scholar] [CrossRef]
- Narasimhan, R.; Gopalan, M.; Sikkandar, M.Y.; Alassaf, A.; AlMohimeed, I.; Alhussaini, K.; Aleid, A.; Sheik, S.B. Employing Deep-Learning Approach for the Early Detection of Mild Cognitive Impairment Transitions through the Analysis of Digital Biomarkers. Sensors 2023, 23, 8867. [Google Scholar] [CrossRef]
- Kim, J.; Cheon, S.; Lim, J. IoT-Based Unobtrusive Physical Activity Monitoring System for Predicting Dementia. IEEE Access 2022, 10, 26078–26089. [Google Scholar] [CrossRef]
- Beutel, D.J.; Topal, T.; Mathur, A.; Qiu, X.; Fernandez-Marques, J.; Gao, Y.; Sani, L.; Li, K.H.; Parcollet, T.; de Gusmão, P.P.B.; et al. Flower: A Friendly Federated Learning Research Framework. arXiv 2022, arXiv:2007.14390. [Google Scholar] [CrossRef]




| System | Localization | Monitoring Type | Edge ML | Fed. Learning | Clinical Validation | Est. Cost | Key Limitation |
|---|---|---|---|---|---|---|---|
| ORCATECH [37,38] | Zone-level (PIR) | Passive + episodic digital | No | No | Extensive (10+ years) | High | Zone-level localization insufficient for disorientation |
| SENDA [8] | None | Active (periodic testing) | No | No | Ongoing protocol | High | Requires active participation; episodic (8-months) |
| Kim et al. [40] | Zone-level (PIR) | Passive IR only | No | No | Limited (AUC 0.99) | Medium | No wearables; zone-level only |
| Ghayvat & Gope [15] | None | Passive sensors + transfer learning | No | No | Real-world (43 weeks) | Medium | No spatial tracking |
| Bijlani et al. [22] | Ambient only | Passive graph-based | Yes | No | Real deployment (227 participants) | Medium | No wearables; no room-level |
| This work | Room-level (IR) | Passive 24/7 | Yes (ESP32-S3) | Yes (simulated) | Technical only | €490 + €55/month | No clinical validation yet |
| Stage | Format | Frequency | Size | Retention | Purpose |
|---|---|---|---|---|---|
| BLE packets (raw) | Manufacturer-specific binary | 2 Hz (telemetry), 1 Hz (location) | 20–30 bytes/packet | Transient | - |
| Stream 1 | JSON (aggregates) | 1/min | 1.8–2.2 KB | Transient | Statistical descriptors |
| Stream 2 | JSON + gzip | 1/min | 1.3–1.7 KB (compressed) | Transient | Compressed event sequences |
| Stream 3 | JSON (alerts) | On-demand (~10/day) | 0.4–0.6 KB | Transient | Critical events |
| InfluxDB (hot data) | Line Protocol | 1 record/min | 200–300 bytes | 7 days | Real-time dashboards |
| MongoDB (event logs) | BSON (gzip blob) | 1 doc/min | 1.5–2 KB | 90 days | ML |
| MongoDB (critical alerts) | BSON | On-demand (~10/day) | 0.5–0.8 KB | Unlimited period | Audit trail |
| MongoDB (hourly aggregates) | BSON | 1 doc/h | 2.5–3 KB | 90 days | Fast ML |
| MongoDB (daily summaries) | BSON | 1 doc/day | 2–3 KB | Unlimited period | Baseline models, reports |
| Research Question | System Component | Validation Method | Target Performance | Achieved Result | Section Reference |
|---|---|---|---|---|---|
| RQ1: Room-level localization without privacy-invasive methods | IR beacons + wearable sensors | Monte Carlo simulation + real-world testing with mobile app ground truth | >95% room-level accuracy | 97.6% accuracy (97.2% Apt1, 98.0% Apt2) | Section 5.3.1 |
| RQ2: Simultaneous low-latency, full resolution, and bandwidth reduction | Three-stream data pipeline (aggregates, compressed logs, critical alerts) | Network bandwidth measurement, latency profiling, temporal resolution analysis | <10 s latency for critical events, >40% bandwidth reduction, 1 s temporal resolution preserved | <7 s end-to-end latency (99.5% of events), 41.2% bandwidth reduction, full 1 s resolution maintained | Section 5.3.3, Section 5.3.4 and Section 5.3.5 |
| RQ3: Privacy-preserving multi-institutional model development under GDPR | Federated learning orchestrator + local training servers | Simulated multi-institutional deployment with three institutions | Model convergence without raw data sharing, acceptable communication overhead | Convergence was reached in 5 rounds for IID (~84.3% accuracy) and 14 rounds for non-IID (~79.8% accuracy) | Section 5.3.6 |
| Kitchen | Living Room | Bedroom1 | Bedroom2 | Bathroom | Corridor | Total | Accuracy | |
| Kitchen | 14,223 | 0 | 0 | 0 | 0 | 429 | 14,652 | 97.07% |
| Living Room | 0 | 30,802 | 0 | 289 | 0 | 1009 | 32,100 | 95.96% |
| Bedroom1 | 0 | 0 | 57,866 | 0 | 0 | 291 | 58,157 | 99.50% |
| Bedroom2 | 0 | 245 | 0 | 28,939 | 0 | 196 | 29,380 | 98.50% |
| Bathroom | 0 | 0 | 0 | 0 | 7628 | 252 | 7880 | 96.80% |
| Corridor | 529 | 1158 | 325 | 0 | 110 | 28,329 | 30,451 | 93.03% |
| Total | 14,752 | 32,205 | 58,191 | 29,228 | 7738 | 30,506 | 172,620 | 97.20% |
| Study | Technology | Environment | Beacons/Anchors | Receiver Hardware | Accuracy | Key Limitations |
|---|---|---|---|---|---|---|
| García-Paterna et al. [27] | BLE RSSI + kNN | Residential (160 m2, 10 rooms) | 6 | Laptop | 97.6% | Degrades to 87.7% with Raspberry Pi; 85–88% with only 3 beacons |
| García-Paterna et al. [27] | BLE RSSI + kNN | Residential (160 m2, 10 rooms) | 6 | Raspberry Pi | 87.7% | Errors concentrate between adjacent rooms |
| Tegou et al. [30] | BLE RSSI | Residential (80.4 m2, 5 rooms) | 5 | Custom | 93.75% | 12 errors between adjacent rooms; improves to 95.31% with 8 beacons |
| Chen et al. [28] | BLE + DSFP | Large indoor (≈2000 m2, 7 rooms) | 1 anchor + 10 tags per room | Custom | >99% | Heavily instrumented (70 tags total); requires fingerprinting calibration |
| Biehl et al. [26] | Wi-Fi RTT | Office environment | 11 | Custom | 97.99% (Precision), 93.86% (F1) | Requires IEEE 802.11mc routers (€150–300/unit); sensitive to NLoS; extensive calibration |
| Karabey & Bayındır [29] | Wi-Fi fingerprinting only | Residential (130–195 m2) | Not specified | Custom | ≈82% | Baseline without temporal features |
| Karabey & Bayındır [29] | Wi-Fi + transition time | Residential (130–195 m2) | Not specified | Wide Neural Net | 94.7% | Requires machine learning; temporal modeling adds complexity |
| This work | Infrared beacons | Residential (52–95 m2, multi-room) | 4–7 | ESP32-S3 | 97.6% | Requires line-of-sight to ceiling beacon; 1.5 s transition delay |
| Distance | Condition | Average RSSI (dBm) | σ (dBm) | Attenuation |
|---|---|---|---|---|
| 1 m | Reference | −69 | 2 | - |
| 5 m | Line-of-sight | −70 | 3 | ~1 dB |
| 5 m | One wall | −76 | 4–5 | 6–8 dB |
| 5 m | One wall | −76 | 4–5 | 6–8 dB |
| 15 m | One wall | −91 | 7 | ~22 dB |
| Stream | Compression | Size | Reduction | Temporal Resolution | Lossless |
|---|---|---|---|---|---|
| Baseline (raw BLE) | None | 5160 B | - | 1 s | yes |
| Stream 1 (aggregates) | Statistical | 2000 B | 61.2% | 60 s | no |
| Stream 3 (aggregates) | Diff + gzip | 1036 B | 79.9% | 1 s | yes |
| Stream 1 (alarms) | Contextual enrichment | 500 B | On-demand | Event | yes |
| Combined (Stream1 + Stream2) | Hybrid | 3036 B | 41.2% | Hybrid | partial |
| Training Mode | Accuracy (%) | Precision | Recall | F1-Score |
|---|---|---|---|---|
| Centralized | 90.8 ± 0.9 | 0.92 ± 0.02 | 0.88 ± 0.02 | 0.90 ± 0.01 |
| Federated (IID) | 84.3 ± 1.4 | 0.86 ± 0.03 | 0.77 ± 0.03 | 0.81 ± 0.02 |
| Federated (non-IID) | 79.8 ± 2.1 | 0.79 ± 0.04 | 0.71 ± 0.04 | 0.75 ± 0.03 |
| Best local institution model | 77.1 ± 2.0 | 0.75 ± 0.05 | 0.69 ± 0.05 | 0.72 ± 0.04 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ivanov, R. Scalable IoT-Based Architecture for Continuous Monitoring of Patients at Home: Design and Technical Validation. Computers 2026, 15, 144. https://doi.org/10.3390/computers15030144
Ivanov R. Scalable IoT-Based Architecture for Continuous Monitoring of Patients at Home: Design and Technical Validation. Computers. 2026; 15(3):144. https://doi.org/10.3390/computers15030144
Chicago/Turabian StyleIvanov, Rosen. 2026. "Scalable IoT-Based Architecture for Continuous Monitoring of Patients at Home: Design and Technical Validation" Computers 15, no. 3: 144. https://doi.org/10.3390/computers15030144
APA StyleIvanov, R. (2026). Scalable IoT-Based Architecture for Continuous Monitoring of Patients at Home: Design and Technical Validation. Computers, 15(3), 144. https://doi.org/10.3390/computers15030144

