EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Implementation of MQTT Broker and Gemini API in an Internet of Things Based Indoor Air Pollution Monitoring System

I Putu Tude Rama Prasatya, Ketut Agus Seputra, Kadek Yota Ernanda Aryanto

RIGGS: Journal of Artificial Intelligence and Digital Business · 14.07.2026 · 5 (2) · 15044-15062

DOI: 10.31004/riggs.v5i2.10874 ↗

Kurz gefasst

Fachartikel in der Zeitschrift RIGGS: Journal of Artificial Intelligence and Digital Business, online erschienen am 14.07.2026. Verfasst von I Putu Tude Rama Prasatya und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Indoor air pollution from pollutants such as Carbon Monoxide (CO) and Particulate Matter (PM2.5) poses significant health risks to room occupants, particularly in enclosed spaces with poor ventilation where pollutants can accumulate to hazardous concentrations. To address this challenge, this study designed and implemented an IoT-based indoor air quality monitoring system integrating an MQTT broker for real-time data transmission and the Gemini API for intelligent data interpretation. The system adopts a three-layer architecture spanning hardware, backend, and application layers. The hardware layer utilizes an ESP32 as a wireless gateway and an Arduino Nano for sensor acquisition, employing the Sharp GP2Y1010AU0F sensor for particulate matter and the MQ-7 sensor for carbon monoxide. The backend, built with Laravel, manages data through a dual-database approach, where MySQL handles structured user data and InfluxDB stores continuous sensor readings. A Flutter mobile application, built with the MVVM pattern, serves as the user interface, delivering real-time air quality information. The Gemini API further enhances the system by automatically generating air quality classifications and actionable health recommendations. Calibration testing demonstrated an average error of 6.45% for the MQ-7 sensor and a notably low 0.44% error for the Sharp GP2Y1010AU0F sensor, indicating high measurement accuracy. A 24-hour continuous stress test revealed a system uptime of 83.3%, confirming reasonable operational reliability. Finally, a usability evaluation using the SUS method involving 30 respondents yielded an average score of 70.67, placing the system in Grade B with a "Good" interpretation, confirming the system is functional and easy to use.

Zitieren

APA

Prasatya, I. P. T. R., Seputra, K. A., & Aryanto, K. Y. E. (2026). Implementation of MQTT Broker and Gemini API in an Internet of Things Based Indoor Air Pollution Monitoring System. RIGGS: Journal of Artificial Intelligence and Digital Business, 5(2), 15044-15062. https://doi.org/10.31004/riggs.v5i2.10874

Vancouver

Prasatya IPTR, Seputra KA, Aryanto KYE. Implementation of MQTT Broker and Gemini API in an Internet of Things Based Indoor Air Pollution Monitoring System. RIGGS: Journal of Artificial Intelligence and Digital Business. 2026;5(2):15044-15062. doi:10.31004/riggs.v5i2.10874

BibTeX
@article{Prasatya2026,
  author = {Prasatya, I Putu Tude Rama and Seputra, Ketut Agus and Aryanto, Kadek Yota Ernanda},
  title = {Implementation of MQTT Broker and Gemini API in an Internet of Things Based Indoor Air Pollution Monitoring System},
  journal = {RIGGS: Journal of Artificial Intelligence and Digital Business},
  year = {2026},
  volume = {5},
  number = {2},
  pages = {15044--15062},
  doi = {10.31004/riggs.v5i2.10874}
}
Kostenlos starten →