• Indoor air quality typically encompasses the ambient conditions inside the buildings and public facilities that may affect both mental and respiratory health of an individual. Until the COVID-19 outbreak, indoor air quality monitoring was not a focus area for public facilities such as shopping complexes, hospitals, banks, restaurants, educational institutes, etc,. However, the rapid spread of this virus and the consequent detrimental impacts have brought indoor air quality into the spotlight. In contrast to outdoor air, indoor air is recycled constantly causing it to trap and build up pollutants, which may facilitate the transmission of virus.

    There are several monitoring solutions which are available commercially, a typical system monitors the air quality using gas and particle sensors. These sensor readings are compared against well known thresholds, subsequently generating alarms when thresholds are violated. However, these systems do not predict the quality of air for future instances, which holds paramount importance for taking timely preemptive actions, especially for COVID-19 actual and potential patients as well as people suffering from acute pulmonary disorders and other health problems.

    In this regard, we have proposed an indoor air quality monitoring and prediction solution based on the latest Internet of Things (IoT) sensors and machine learning capabilities, providing a platform to measure numerous indoor contaminants. For this purpose, an IoT node consisting of several sensors for 8 pollutants including NH3, CO, NO2, CH4, CO2, PM 2.5 along with the ambient temperature & air humidity is developed. For proof of concept and research purposes, the IoT node is deployed inside a research lab to acquire indoor air data. The proposed system has the capability of reporting the air conditions in real-time to a web portal and mobile app through GSM/WiFi technology and generates alerts after detecting anomalies in the air quality.

    In order to classify the indoor air quality, several machine learning algorithms have been applied to the recorded data, where the Neural Network (NN) model outperformed all others with an accuracy of 99.1%. For predicting the concentration of each air pollutant and thereafter predicting the overall quality of an indoor environment, Long and Short Term Memory (LSTM) model is applied. This model has shown promising results for predicting the air pollutants’ concentration as well as the overall air quality with an accuracy of 99.37%, precision of 99%, recall of 98%, and F1-score of 99%. The proposed solution offers several advantages including remote monitoring, ease of scalability, real-time status of ambient conditions, and portable hardware, etc.


No special permission is required to reuse all or part of article published by MDPI, including figures and tables. For articles published under an open access Creative Common CC BY license, any part of the article may be reused without permission provided that the original article is clearly cited. Reuse of an article does not imply endorsement by the authors or MDPI. https://www.mdpi.com/openaccess

Cite as

Mumtaz, R., Zaidi, S., Shakir, M., Shafi, U., Malik, M., Haque, A., Mumtaz, S. & Zaidi, S. 2021, 'Internet of Things (IoT) based indoor air quality sensing and predictive analytic - a COVID-19 perspective', Electronics, 10(2), article no: 184. https://doi.org/10.3390/electronics10020184

Downloadable citations

Download HTML citationHTML Download BIB citationBIB Download RIS citationRIS
Last updated: 16 June 2022
Was this page helpful?