Internet of Things (IoT) based indoor air quality sensing and predictive analytic - a COVID-19 perspective

Rafia Mumtaz, Syed Mohammad Hassan Zaidi, Muhammad Zeeshan Shakir*, Uferah Shafi, Muhammad Moeez Malik, Ayesha Haque, Sadaf Mumtaz, Syed Ali Raza Zaidi

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

59 Citations (Scopus)
185 Downloads (Pure)


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.
Original languageEnglish
Article number184
Issue number2
Publication statusPublished - 15 Jan 2021


  • Internet of Things (IoT)
  • COVID-19
  • indoor air quality
  • classification
  • predictive analytic


Dive into the research topics of 'Internet of Things (IoT) based indoor air quality sensing and predictive analytic - a COVID-19 perspective'. Together they form a unique fingerprint.

Cite this