Journal of Cognitive Human-Computer Interaction

HeartLink: IoT Smartwatch for Emergency Alerts

A. V. Adlin Grace, Cherlin Flory Thomas, Anu Sushmitha S.
Volume 10, Issue 1, pp. 01–05 (2025)
DOI: https://doi.org/10.54216/JCHCI.100101
Online: https://americaspg.com/journal/25/article/3993

Abstract

This paper introduces HeartLink, an IoT-based health monitoring system designed to provide real-time heart rate tracking and emergency alerts using the Huawei Band 9 smartwatch. The system integrates Huawei's Health Kit with a Flutter-based Android application, enabling seamless data collection and processing. The backend, built on Java Spring Boot or Node.js, utilizes a hybrid database architecture combining MongoDB and Firebase for efficient data storage and real-time synchronization. HeartLink features threshold- based alert mechanisms, where heart rate deviations trigger SMS notifications to pre-selected contacts via Twilio and emergency calls to ambulance services in critical scenarios. Firebase Cloud Messaging (FCM) ensures timely push notifications, while Firebase Authentication secures user access. The system's modular design allows for real-time heart rate analysis, dynamic threshold configuration, and automated emergency responses, making it a robust solution for individuals requiring continuous health monitoring. By leveraging advanced IoT and cloud technologies, HeartLink bridges the gap between wearable health devices and emergency response systems, offering a scalable, reliable, and user-friendly platform for real-time health tracking and life- saving interventions.

Keywords: IoT; Huawei Health Kit; Flutter; Heart Rate Monitoring; Threshold Alerts; Firebase; Twilio; Emergency Response

1. INTRODUCTION

In recent years, the integration of Internet of Things (IoT) devices with healthcare applications has revolutionized the way personal health is monitored and managed. Wearable devices such as smartwatches have become increasingly popular because they provide real-time health data, including heart rate, sleep patterns, and physical activity. Among these devices, the Huawei Band 9 offers advanced health-monitoring capabilities, making it suitable for continuous heart-rate tracking. However, the full value of such devices lies not only in data collection but also in real-time response during emergencies where immediate intervention is crucial.

Heart-rate monitoring is critical for individuals with cardiovascular conditions or those at risk of sudden cardiac events.

Abnormal heart rates, whether too low (bradycardia) or too high (tachycardia), can be life-threatening if not addressed promptly. Traditional monitoring systems often lack real-time alerts or automated emergency actions. This gap motivates an integrated and responsive system that leverages modern wearable technology to support timely medical intervention.

The proposed system, HeartLink, addresses this need by combining Huawei Health Kit with a mobile application built using Flutter. The system monitors heart-rate data in real time and triggers alerts based on predefined thresholds. When the heart rate falls below 50 beats per minute (BPM), HeartLink sends an SMS alert to selected contacts. In critical situations, where the heart rate drops below 20 BPM, the system automatically calls an ambulance and sends the user’s current location to emergency services. This dual-layer alert mechanism ensures that both emergency contacts and responders are informed promptly.

The architecture of HeartLink combines modern technologies to ensure scalability, reliability, and usability. The frontend is developed using Flutter for cross-platform mobile application development. The backend is powered by Java Spring Boot or Node.js, providing a flexible environment for processing heart-rate data and managing alerts. Data storage is handled through MongoDB for structured records and Firebase for real-time synchronization, authentication, push notifications, and alert delivery. Twilio is used for SMS alerts and emergency calls.

One key feature of HeartLink is dynamic threshold-based alert handling. Users can configure low and high heart-rate thresholds, allowing the system to serve a wide range of users, from athletes to elderly individuals with specific health concerns. Firebase Authentication protects sensitive health information from unauthorized access. Huawei Health Kit enables HeartLink to connect seamlessly with the Huawei Band 9 for continuous monitoring without manual intervention.

2. LITERATURE REVIEW

Earlier IoT-based heart-rate monitoring systems demonstrate the feasibility of wearable health tracking, but many suffer from limitations in communication range, alert automation, and scalability. Larkai et al. [1] proposed a wireless heart-rate monitor using Bluetooth communication, an infrared sensor, and a photodiode to transmit data to a smartphone. Although effective for basic monitoring, the system was limited by Bluetooth range and lacked comprehensive real-time alert mechanisms.

Farouq et al. [2] developed an Android-based application capable of detecting heart rate and sending SMS notifications during abnormal readings. Kumar et al. [3] proposed a system that monitored heart rate, blood pressure, and body temperature, storing the data in a database and displaying it on a website for remote doctor access. These approaches improved remote monitoring but remained constrained by communication range, integration complexity, and limited emergency-response automation.

Further work investigated IoT platforms, smart healthcare kits, and wireless body-area networks for medical applications [4, 5, 6, 7, 8, 9]. Research on mobile health systems and wearable monitoring shows the potential of mobile applications and cloud services to support real-time emergency response [10]. HeartLink builds on these contributions by integrating a smartwatch, mobile application, cloud backend, authentication, messaging, and emergency-service APIs into a unified architecture.

3. BACKGROUND AND MOTIVATION

Heart-rate monitoring has traditionally been confined to clinical settings, where patients visit hospitals for periodic checkups. With the rise of IoT, wearable devices such as smartwatches and fitness bands now enable continuous monitoring outside clinical environments. These devices use sensors such as photoplethysmography (PPG) to detect heart rate and transmit data to smartphones or cloud servers for analysis.

Figure 1. Photoplethysmogram (PPG).
Figure 1. Photoplethysmogram (PPG).
Figure 2. Heart-rate monitoring using IoT.
Figure 2. Heart-rate monitoring using IoT.
Table 1. Core research objectives of HeartLink
Table 1. Core research objectives of HeartLink

Continuously monitor heart rate using Huawei Band 9 and transmit data to the mobile application. Threshold alerts Send SMS alerts for abnormal readings and trigger emergency calls in critical cases. Scalable backend Combine MongoDB and Firebase for efficient storage and real-time synchronization. Secure access Use Firebase Authentication and encryption to protect sensitive health data. Emergency response

Provide panic-button support, GPS sharing, and emergency-service integration. Advanced analytics

Explore predictive analysis and telemedicine integration for broader healthcare support.

The motivation for IoT-based heart-rate monitoring systems lies in their ability to provide real-time data, support early detection of abnormalities, and enable timely intervention. Existing systems have shown important progress, but limitations such as short communication range, dependence on wired communication, and insufficient real-time alerts indicate the need for a more robust and scalable solution.

4. RESEARCH OBJECTIVES

The primary goal of this research is to develop a robust IoTbased heart-rate monitoring system that uses modern wearable, mobile, cloud, and communication technologies to provide real-time health tracking and emergency alerts. The specific objectives are summarized in Table 1.

Figure 3. Architecture diagram of the HeartLink system.
Figure 3. Architecture diagram of the HeartLink system.
Table 2. Development tools and platform components
Table 2. Development tools and platform components

Component Technology Frontend Flutter and Dart for cross-platform Android application development. Backend Java Spring Boot or Node.js for RESTful API development and alert logic. Database MongoDB for structured storage and Firebase for real-time synchronization. APIs Huawei Health Kit SDK, Twilio, Firebase Cloud Messaging, and emergencyservices API. IDE Visual Studio Code for Flutter and IntelliJ IDEA for Java Spring Boot.

Additional objectives include customizable alert thresholds, real-time location tracking, user training and support, integration with wearable ECG monitors, and flexible deployment for users with different health profiles.

5. PROPOSED SYSTEM

HeartLink is an IoT-enabled health monitoring solution designed to provide real-time heart-rate tracking and emergency alerts using the Huawei Band 9 smartwatch. The system integrates a Flutter-based Android application, a Java Spring Boot/Node.js backend, and a hybrid database architecture using MongoDB and Firebase to ensure seamless data flow, secure storage, and reliable alert mechanisms.

5.1 System Architecture

The system follows a three-tier architecture to ensure modularity, scalability, and efficient data processing. The frontend presentation layer is a Flutter application that provides a user-friendly interface for managing heart-rate thresholds, emergency contacts, and real-time heart-rate visualization. Huawei Health Kit is used to retrieve data from Huawei Band 9. The backend layer processes incoming heart-rate data, evaluates thresholds, manages alert logic, and exposes RESTful APIs. The data layer stores user information, heart-rate logs, alert history, and configuration settings.

5.2 System Workflow

The Huawei Band 9 continuously monitors the user’s heart rate and transmits data to the Flutter app through Huawei Health Kit. The app sends heart-rate data to the backend for real-time processing. The backend evaluates the data against predefined thresholds. Low heart rate below 50 BPM triggers SMS alerts through Twilio, while critical heart rate below 20 BPM triggers an emergency ambulance call and shares the user’s current location. Heart-rate logs, alert history, and user configurations are stored in MongoDB and synchronized in real time through Firebase.

5.3 Key Modules

The heart-rate monitoring module fetches real-time data from the Huawei Band 9 and displays live readings on the application dashboard. The threshold-based alert module sends notifications to predefined contacts and triggers emergency actions when conditions become critical. The emergency response module shares GPS location and connects to ambulance services through emergency APIs. The user management module allows profile configuration, threshold customization, emergency-contact management, and secure authentication.

6. IMPLEMENTATION

The implementation of HeartLink follows a systematic approach to integrate hardware, software, and communication protocols. The frontend is developed using Flutter to create a responsive user interface that connects with Huawei Health Kit. The dashboard displays live heart-rate data and historical trends. Users can configure thresholds for low and critical heart-rate conditions and manage emergency contacts that receive alerts during threshold breaches.

The backend is responsible for processing heart-rate data, evaluating thresholds, and triggering alerts. RESTful APIs handle user authentication, heart-rate transmission, and alert management. Heart-rate readings are processed in real time. If the heart rate falls below 50 BPM, the backend triggers Twilio SMS notifications. If the rate falls below 20 BPM, the backend initiates emergency-service communication and shares GPS coordinates.

The database architecture combines MongoDB and Firebase. MongoDB stores structured user profiles, h eart-rate logs, threshold settings, and alert records. Firebase provides realtime synchronization, authentication, push notifications, and data updates across devices. Firebase Cloud Messaging sends push alerts, while Firebase Authentication secures access to user data. AES-256 encryption is used to protect sensitive health information during storage and transmission.

7. TESTING AND EVALUATION

HeartLink was evaluated for heart-rate monitoring accuracy, alert latency, database performance, usability, and emergencyresponse reliability. The Huawei Band 9 achieved 95% accuracy in real-time heart-rate detection compared with medicalgrade devices, with latency below two seconds. SMS alerts through Twilio were delivered to emergency contacts within five seconds when the heart rate fell below 50 BPM. Critical alerts below 20 BPM triggered ambulance-call workflows within ten seconds and shared GPS location immediately.

The remaining interface captures in Figure 4 and Figure 5 correspond to the testing stage, where band pairing, live tracking, and historical heart-rate visualization are verified within the application workflow.

Figure 4. HeartLink mobile screens for band connection and heartbeat tracking.
Figure 4. HeartLink mobile screens for band connection and heartbeat tracking.
Figure 5. Heart-rate dashboard and historical monitoring interface.
Figure 5. Heart-rate dashboard and historical monitoring interface.

8. CONCLUSION

The HeartLink system represents a significant advancement in IoT-based health monitoring by providing a comprehensive solution for real-time heart-rate tracking and emergency alerts. By integrating the Huawei Band 9 smartwatch with a Flutterbased Android application, a Java Spring Boot/Node.js back-

Table 3. Summary of system evaluation results
Table 3. Summary of system evaluation results

95% accuracy compared with medical-grade devices and latency below 2 seconds. Threshold alerts Twilio SMS alerts delivered within 5 seconds for low-heart-rate events. Emergency response

Critical alerts initiated ambulance-call workflow within 10 seconds with GPS sharing. Database performance

MongoDB stored logs efficiently, while Firebase synchronization latency remained below 1 second. User feedback Twenty test users praised the intuitive interface and reliability of emergency alerts.

end, and a hybrid database system using MongoDB and Firebase, HeartLink delivers a robust and scalable platform for continuous health monitoring.

The application’s ability to detect and respond to abnormal heart-rate conditions through threshold-based alerts and emergency calls supports timely intervention, making it valuable for individuals requiring continuous health supervision. The integration of Twilio for SMS alerts, emergency-service APIs for ambulance calls, Firebase Authentication, and AES-256 encryption enhances reliability and security. Future work will expand predictive analytics, wearable ECG integration, telemedicine support, and broader deployment across healthcare scenarios.

References

[1]       D. L. Larkai and R. Wu, "Wireless Heart Rate Monitor in Personal Emergency Response System," 2015 IEEE 18th International Symposium on Design and Diagnostics of Electronic Circuits & Systems, Belgrade, Serbia, 2015, pp. 299-300, doi: 10.1109/DDECS.2015.70.

[2]       M. F. B. Mustapha and T. Anwar, "Mobile heart rate monitor for myocardial infarction patients," 2017 6th ICT International Student Project Conference (ICT-ISPC), Johor, Malaysia, 2017, pp. 1-4, doi: 10.1109/ICT-ISPC.2017.8075316.

[3]       G. V. Kumar, A. Bharadwaja and N. N. Sai, "Temperature and heart beat monitoring system using IOT," 2017 International Conference on Trends in Electronics and Informatics (ICEI), Tirunelveli, India, 2017, pp. 692-695, doi: 10.1109/ICOEI.2017.8300791.

[4]       A. Škraba, A. Koložvari, D. Kofjač, R. Stojanović, V. Stanovov and E. Semenkin, "Prototype of group heart rate monitoring with NODEMCU ESP8266," 2017 6th Mediterranean Conference on Embedded Computing (MECO), Bar, Montenegro, 2017, pp. 1-4, doi: 10.1109/MECO.2017.7977151.

[5]       P. Bansal, M. Malik, and R. Kundu, "An Enhanced MQTT-Based Smart Heart Rate Monitoring System," International Journal of Health Informatics, vol. 15, no. 3, pp. 200-210, 2023. DOI: 10.1016/j.ijhi.2023.100123.

[6]       P. Bansal, M. Malik and R. Kundu, "Smart heart rate monitoring system," 2018 IEEMA Engineer Infinite Conference (eTechNxT), New Delhi, India, 2018, pp. 1-4, doi: 10.1109/ETECHNXT.2018.8385347.

[7]       S. B. Baker, W. Xiang and I. Atkinson, "Internet of Things for Smart Healthcare: Technologies, Challenges, and Opportunities," in IEEE Access, vol. 5, pp. 26521-26544, 2017, doi: 10.1109/ACCESS.2017.2775180.

[8]       V. Vippalapalli and S. Ananthula, "Internet of things (IoT) based smart health care system," 2016 International Conference on Signal Processing, Communication, Power and Embedded System (SCOPES), Paralakhemundi, India, 2016, pp. 1229-1233, doi: 10.1109/SCOPES.2016.7955637.

[9]       P. Gupta, D. Agrawal, J. Chhabra and P. K. Dhir, "IoT based smart healthcare kit," 2016 International Conference on Computational Techniques in Information and Communication Technologies (ICCTICT), New Delhi, India, 2016, pp. 237-242, doi: 10.1109/ICCTICT.2016.7514585.

[10]    M. Sumithra, B. Buvaneswari, and S. Ahilesharan, "Online Vehicle Rental System: A Smart Approach," Journal of Smart Transportation Systems, vol. 11, no. 2, pp. 78-85, 2022. DOI: 10.1016/j.jsts.2022.100078.

[11]    S. H. Shah and I. Yaqoob, "A survey: Internet of Things (IOT) technologies, applications and challenges," 2016 IEEE Smart Energy Grid Engineering (SEGE), Oshawa, ON, Canada, 2016, pp. 381-385, doi: 10.1109/SEGE.2016.7589556.

[12]    [12] R. Putra "IoT: smart garbage monitoring using android and real-time database," TELKOMNIKA (Telecommunication Computing Electronics and Control), 2019.

[13]    M. Rosmiati "Air pollution monitoring system using LoRa module as transceiver system," TELKOMNIKA (Telecommunication Computing Electronics and Control), 2019.

[14]    L. B. Campos, C. E. Cugnasca, A. R. Hirakawa and J. S. C. Martini, "Towards an IoT-based system for Smart City," 2016 IEEE International Symposium on Consumer Electronics (ISCE), Sao Paulo, Brazil, 2016, pp. 129-130, doi: 10.1109/ISCE.2016.7797405.

[15]    H. P. Breivold and K. Sandström, "Internet of Things for Industrial Automation -- Challenges and Technical Solutions," 2015 IEEE International Conference on Data Science and Data Intensive Systems, Sydney, NSW, Australia, 2015, pp. 532-539, doi: 10.1109/DSDIS.2015.11.

[16]    S. R. Prathibha, A. Hongal and M. P. Jyothi, "IOT Based Monitoring System in Smart Agriculture," 2017 International Conference on Recent Advances in Electronics and Communication Technology (ICRAECT), Bangalore, India, 2017, pp. 81-84, doi: 10.1109/ICRAECT.2017.52.

[17]    J. Bauer and N. Aschenbruck, "Design and implementation of an agricultural monitoring system for smart farming," 2018 IoT Vertical and Topical Summit on Agriculture - Tuscany (IOT Tuscany), Tuscany, Italy, 2018, pp. 1-6, doi: 10.1109/IOT-TUSCANY.2018.8373022.

[18]    I. Menown, J. Smith, and A. Brown, "IoT-Enabled Fitness Trackers: A Comprehensive Review of Integration Techniques," Journal of Internet of Things and Smart Technology, vol. 9, no. 1, pp. 45-56, 2024. DOI: 10.1016/j.jitst.2024.100456.

[19]    P. V. Paul and R. Saraswathi, "The Internet of Things — A comprehensive survey," 2017 International Conference on Computation of Power, Energy Information and Communication (ICCPEIC), Melmaruvathur, India, 2017, pp. 421-426, doi: 10.1109/ICCPEIC.2017.8290405.

[20]    I. Menown "Resting heart rate and outcomes in patients with cardiovascular disease," Cardiovascular Therapeutics, 2013.

[21]    S. Misra "IoT-Based Real-Time Health Monitoring System for Emergency Response," IEEE Internet of Things Journal, vol. 6, no. 4, pp. 6785–6795, 2019.

[22]    A. Al-Fuqaha, M. Guizani, M. Mohammadi, M. Aledhari and M. Ayyash, "Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications," in IEEE Communications Surveys & Tutorials, vol. 17, no. 4, pp. 2347-2376, Fourth quarter 2015, doi: 10.1109/COMST.2015.2444092.

[23]    Yuce MR, Ng PC, Lee CK, Khan JY, Liu W. A wireless medical monitoring over a heterogeneous sensor network. Annu Int Conf IEEE Eng Med Biol Soc. 2007; 2007:5895-9. doi: 10.1109/IEMBS.2007.4353689. PMID: 18003355.

[24]    S. Movassaghi, M. Abolhasan, J. Lipman, D. Smith and A. Jamalipour, "Wireless Body Area Networks: A Survey," in IEEE Communications Surveys & Tutorials, vol. 16, no. 3, pp. 1658-1686, Third Quarter 2014, doi: 10.1109/SURV.2013.121313.00064.

[25]    C. Doukas, A. K. Kourouklidis, and A. K. Koutkias, "Wearable Health Monitoring Systems: A Comprehensive Review of Technologies and Applications," International Journal of Health Informatics, vol. 15, no. 4, pp. 250-262, 2023. DOI: 10.1016/j.ijhi.2023.100234.