Design and Implementation of an IoT-Based Attendance System with Asynchronous Data Synchronization Architecture using Cloud Database
DOI:
https://doi.org/10.59934/jaiea.v6i1.2887Keywords:
Asynchronous Synchronization, Bluetooth Low Energy, ESP32, Internet of Things, Mobile GatewayAbstract
Limited internet infrastructure in remote blank spot areas hampers the digitalization of employee attendance administration. This study aims to design and implement an offline-first Internet of Things (IoT) attendance prototype using a delayed asynchronous data synchronization architecture. Developed with the prototyping method, the hardware utilizes an ESP32 microcontroller, MFRC522 RFID reader, DS3231 RTC module, and Micro SD Card to record attendance logs offline in CSV format. A Flutter-based Mobile Gateway retrieves offline records via Bluetooth Low Energy (BLE) using a 128-byte chunking mechanism, converts CSV data into JSON format, and syncs records to Supabase Cloud Database via a manual trigger button when internet connection is available. Black-box testing indicates instant on-device logging (<1 second) and rapid BLE discovery (<1 second). Composite unique constraints on RFID UID and device timestamp columns serve as an additional database-level safeguard for idempotency, complementing the application-level sync-status flag and preventing duplicate entries during interrupted or repeated sync attempts, while Row Level Security and JWT authentication restrict administrative privileges. This architecture successfully eliminates real-time internet dependency at field capture points while preserving data integrity to central storage.
Downloads
References
M. Syahputra and A. I. Santoso, “Rancang Bangun Sistem Absensi Otomatis Berbasis RFID Dan ESP32 Di Kampus AMIK Polibisnis Perdagangan,” Jurnal Minfo Polgan, vol. 14, no. 1, pp. 614–622, May 2025, doi: 10.33395/jmp.v14i1.14816.
A. R. P. Haryoga, P. Purwantoro, and E. H. Nurkifli, “Perancangan Sistem Absensi Pengurus Menggunakan RFID Berbasis Internet of Things (IoT) pada Sekretariat BEM FASILKOM UNSIKA,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 3, Jun. 2024, doi: 10.36040/jati.v8i3.9812.
R. Efendi et al., “Rancang Bangun Sistem Monitoring Suhu Multichannel Berbasis Mikrokontroler,” Jurnal CRANKSHAFT, vol. 8, no. 1, pp. 20–27, 2025.
Sururi and M. H. Susanta, “Desain Sistem Data Logger Suhu Lingkungan Berbasis Arduino Nano dan SD Card dengan Dukungan RTC,” Jurnal Teknologi Komputer dan Informatika, vol. 4, no. 2, pp. 52–59, Mar. 2026, doi: 10.59820/tekomin.v4i2.511.
J. D. A. Putra, M. S. Suja’i, and A. W. Yulianto, “Comparison of Bluetooth Technology Implementation using BLE and Bluetooth Classic Protocols in Pelican Crossing,” Journal of Telecommunication Network (Jurnal Jaringan Telekomunikasi), vol. 15, no. 1, pp. 41–48, 2025.
A. Medel and J. Brito, “A Comparison among Wi-Fi Direct, Classic Bluetooth, and Bluetooth Low Energy Discovery Procedures for Enabling Massive Machine Type Communications,” in Proceedings of the 6th International Conference on Internet of Things, Big Data and Security, SCITEPRESS - Science and Technology Publications, 2021, pp. 164–169. doi: 10.5220/0010399001640169.
F. A. Wicaksono, R. R. Prasetya, and M. N. A. Fadilah, “Analisis Perbandingan Framework Pengembangan Aplikasi Mobile Cross-Platform: Studi Kasus Flutter dan React Native,” INDOTERA (Indonesian Dissemination of Engineering and Applied Technology Research Applications)., vol. 1, no. 1, pp. 17–25, Jul. 2025.
Z. Ariyandi, Taufiq, and Nunsina, “Design of an Internet of Things (IoT)-Based Fish Feeder System Using an Android Application,” Journal of Applied Informatics and Computing (JAIC), vol. 9, no. 4, pp. 1593–1601, Aug. 2025, [Online]. Available: http://jurnal.polibatam.ac.id/index.php/JAIC
M. R. Nugraha, D. G. Rianto, R. Rezkika, and W. Haryono, “Rancang Bangun Aplikasi Manajemen Proyek Berbasis Web Menggunakan React dan Supabase pada Yayasan Sa’adatul Atholibin,” JITET (Jurnal Informatika dan Teknik Elektro Terapan), vol. 14, no. 1, pp. 736–748, Jan. 2026, doi: 10.23960/jitet.v14i1.8741.
G. K. S. Wandhana, I. G. A. G. A. Kadyanan, N. A. Sanjaya, and I. A. G. S. Putra, “Implementasi Sistem Iot Monitoring Anggrek Berbasis Arduino Dan Fuzzy Pada Mobile,” Jurnal Elektronik Ilmu Komputer Udayana, vol. 14, no. 2, pp. 197-210–206, Nov. 2025.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








