*Article* **An Internet of Things-Based Environmental Quality Management System to Supervise the Indoor Laboratory Conditions**

#### **Gonçalo Marques and Rui Pitarma \***

Unit for Inland Development, Polytechnic Institute of Guarda, Avenida Doutor Francisco Sá Carneiro N◦ 50, 6300-559 Guarda, Portugal; goncalosantosmarques@gmail.com

**\*** Correspondence: rpitarma@ipg.pt; Tel.: +351-2712-20111

Received: 19 December 2018; Accepted: 24 January 2019; Published: 28 January 2019

**Abstract:** Indoor air quality (IAQ) is not only a determinant of occupational health but also influences all indoor human behaviours. In most university establishments, laboratories are also used as classrooms. On one hand, indoor environment quality (IEQ) conditions supervision in laboratories is relevant for experimental activities. On the other hand, it is also crucial to provide a healthy and productive workplace for learning activities. The proliferation of cost-effective sensors and microcontrollers along with the Internet of Things (IoT) architectures enhancements, enables the development of automatic solutions to supervise the Laboratory Environmental Conditions (LEC). This paper aims to present a real-time IEQ-laboratory data collection system-based IoT architecture named iAQ Plus (*iAQ+*). The *iAQ+* incorporates an integrated Web management system along with a smartphone application to provide a historical analysis of the LEC. The *iAQ+* collects IAQ index, temperature, relative humidity and barometric pressure. The results obtained are promising, representing a meaningful contribution for IEQ supervision solutions based on IoT. *iAQ+* supports push notifications to alert people in a timely way for enhanced living environments and occupational health, as well as a work mode feature, so the user can configure setpoints for laboratory mode and schoolroom mode. Using the *iAQ+*, it is possible to provide an integrated management of data information of the spatio-temporal variations of LEC parameters which are particularly significant not only for enhanced living environments but also for laboratory experiments.

**Keywords:** IAQ; enhanced living environments; IEQ; IoT; smart cities; LEC

#### **1. Introduction**

Indoor environment quality (IEQ) in buildings incorporates indoor air quality (IAQ), acoustics, thermal comfort, and lighting [1]. It is well known that poor IEQ has a negative effect on occupational health, particularly on children and old people.

Poor IAQ is a significant problem which affects particularly the underprivileged people in the world, as they remain most exposed, presenting itself as a critical problem for global health such as tobacco use or the problem of sexually transmitted diseases [2]. The Environmental Protection Agency (EPA) is responsible for indoor and outdoor air quality supervision in the United States. The EPA assessment recognises that IAQ pollutants concentration can be up to 100 times greater when compared with the outdoor pollutants concentration levels and established poor air quality, which are in the top five environmental risks to global health [3].

Indoor living environments include several types of spaces and workplaces such as offices, hospitals, public service centres, schools, libraries, leisure spaces and also the cabins of vehicles [4]. In particular, schools are an essential place to monitor. Typically, the large number of occupants, the time spent indoors, and the higher density of occupants justifies the need to develop automatic supervision systems to provide a healthful and productive workplace for students, teachers and school staff [5].

Buildings are responsible for 40% of the global energy consumption and 30% of the CO2 emissions. Thermal comfort assurance is related to a substantial percentage of the referred energy consumption. The adoption of personalised conditioning systems is apparently a reliable approach to improve user acceptability with the environment thermal conditions since thermal comfort is a complicated subject with several interrelated aspects that need to be understood [6].

Currently, IEQ in buildings is based on random sampling. However, these procedures are only providing information relating to a specific sampling and are devoid of details of spatio-temporal variations, which are particularly relevant in laboratory tests such as thermography experiments.

The fundamental concept of the Internet of Things (IoT) is the pervasive presence of several types of devices with communication and collaboration skills between them to reach a mutual purpose [7]. The IoT will not only improve everyday life behaviours and activities in different areas such as smart homes, assisted living environments and smart-health, but also in present innovative data and computational resources to develop novel software solutions [8]. One of the fields where the IoT plays a significant role is IAQ monitoring [9]. The rapid increasing of Information and Communication Technologies (ICTs) and IoT proliferation offer significant opportunities in the development of healthcare information systems. However, challenges still exist in achieving safety, security and privacy for healthcare applications [10,11].

Ambient Assisted Living (AAL) is a research area which studies the conceptualisation of an ecosystem of diverse kinds of sensors, computers, mobile gadgets, wireless networks and software development for enhanced personal healthcare supervision and telemedicine solutions [12]. At 2050, a significant proliferation of diseases will lead to high healthcare costs, lack of caregivers, dependency and notable social impact, because 20% of the world population will be aged 60 or over [13]. Most people (87%) prefer to stay in their houses and pay a significant charge for nursing care [14]. However, there are numerous difficulties in AAL solutions conceptualisation and development such as data structure, user-interface, human–computer communication, ergonomics, usability and accessibility [15]. Furthermore, the AAL solutions adopted by the aged population is influenced by social and ethical obstacles. Therefore, privacy and confidentiality are fundamental to AAL solutions' development. Actually, technology should not substitute human care but must be seen as a useful supplement. IoT and AAL research can be conducted side by side in order to present multiple advantages to various healthcare activities such as not only the identification, authentication and tracking of objects and patients but also in automated data acquisition, consulting and storage [16].

The "smart city" approach has recently been proposed as an important method to include current urban production circumstances in a mutual framework especially to focus the ICTs influence in the last 20 years on city performance [17]. The smart city concept is associated with a recent approach to decrease the obstacles caused by the growth of urban population and rapid urbanisation [18]. The interoperability of heterogeneous technologies and devices is a significant challenge in smart cities; IoT can offer the interoperability needed to create unified urban-scale ICT [19].

IoT incorporates notable features to develop innovative real-life solutions and services for smart cities [20], particularly for environmental quality supervision. The smart home is an indispensable element in smart cities [21]. In the future, smart homes should incorporate IoT wearable gadgets managed by smartphone applications and powered by miniaturised built-in sensors [22]. Smart homes follow the AAL paradigm, which enables access to health-care services for patients and medical staff as well as other AAL applications [23]. The use of the paradigm of cognitive dynamic systems associated with IoT architectures in intelligent houses is proposed by Reference [24]. According to this study, the smart home can benefit from several building blocks of the cognitive dynamic system (CDS) along with the incorporation of IoT.

This paper aims to present an environmental quality solution based on IoT to supervise Laboratory Environmental Conditions (LEC) named *iAQ+*. This low-cost wireless solution for IEQ supervision incorporates mobile computing technologies for data consulting, easy installation, significant notifications for enhanced living conditions, and laboratory activities.

#### **2. Related Work**

Several studies have shown the IAQ importance in schoolrooms. The IAQ of public primary Portuguese schools was analysed in 73 primary classrooms in Porto [25]. This study indicates that IAQ deficiencies can persist in classrooms with pollutant sources and defective ventilation. Therefore, pollutant source regulation procedures are the most effective methods for the prevention of unfavourable health impacts on children in scholar institutions. The effectiveness of manual airing strategies on the IAQ of naturally ventilated Italian schools was presented by Reference [26]. A study conducted in New York State primary and secondary schools organised by 501 teachers concluded that many classroom characteristics are probably associated with bad IAQ and over 40% of the teachers described a minimum of one health symptom associated with the building construction [27]. A review of the association between IAQ and its consequences on respiratory wellbeing in Malaysian students was proposed by Reference [28]. Despite the relatively small-scale epidemiologic evidence, Malaysian research proposes effective and relatively consistent evidence among IAQ and children's respiratory health. Another study that characterises the levels of several indoor air contaminants at scholar institutions in Hong Kong, correlates the calculated concentrations with proper standards, and recommend methods to decrease the exposure of students to unwanted pollutants was proposed by Reference [29].

On the one hand, in most university establishments, laboratories have a large number of polluting sources. On the other side, these spaces are very often used as classrooms. Therefore, university laboratories need to be monitored for two purposes: as a classroom (IAQ parameters, including thermal comfort) and/or to ensure different conditions for sampling and performing experiments with reliable quality and data. Most people consider thermal comfort with higher importance when compared with visual and acoustic comfort and IAQ [30]. The comfort temperature might be as low as 17 ◦C and as high as 30 ◦C. Thermal comfort is influenced by several factors such as air temperature, radiant temperature, air velocity, humidity, clothing insulation and metabolic heat. The first four factors can be measured and the last two are personalised factors [31]. Although, for laboratory experiments, the recommendation is 23 ◦C (±5 ◦C) and <70 % RH for temperature and relative humidity respectively. A study on the thermal comfort in a Portuguese school was presented by Reference [32].

Multiple studies on environmental quality supervision are accessible in the literature. This section presents several prominent low-cost solutions which include not only open-source but also mobile computing technologies.

A wireless sensor network (WSN) low-cost solution for proper greenhouse pepper cultivation which incorporates proper supervision methods such as remote administration for drip irrigation and equipment control was proposed by Reference [33].

A real-time WSN architecture for environmental supervision which provides acoustic levels, temperature, relative humidity and particulate matter concentration data collection for smart cities was proposed by Reference [34].

A WSN approach for temperature distribution supervision in large-scale indoor environments was proposed by Reference [35]. This methodology aims to enhance the quality of the data transmitted by wireless signals, classify the temperature distribution model and improve the allocation of supplied air measure flow levels to various supply air terminals which fulfill the area taking into account the temperature distribution model.

Numerous IoT solutions for IAQ supervision which merge open-source technologies not only for processing and data transmission and sensors for data collection but also to provide data consulting from distinct areas at the same time using Web and smartphone applications in real time are proposed by References [36–43].

The *iAQ+* solution proposes a valuable instrument for enhanced living environments in smart cities. The advantages for well-being, comfort and productivity of healthy IAQ levels can be enhanced by reducing the pollutant concentration when the ventilation is still unchanged [44]. Consequently, the authors propose a wireless system which incorporates an ESP8266 module which performs the IEEE 802.11 b/g/n networking protocol. The ESP8266 support built-in Wi-Fi technology, therefore, this module is used not only as a processing unit but also for data transmission. For data consulting, this solution uses a smartphone application developed using SWIFT language for the iOS operating system (Figure 1).

Taking into account the IAQ influence on health, the development of a low-cost, open-source supervision system is a trending idea. Therefore, several monitoring solutions have been created [45–52]. Regarding the quality and important contribution of the referred solutions, a review of these studies is presented in Table 1.


**Table 1.** A summary comparison of real-time IAQ monitoring studies.

MCU: microcontroller; <sup>√</sup>: apply; <sup>×</sup>: not apply.

**Figure 1.** *iAQ+* architecture.

#### *Proposed iAQ+ Management System*

Considering the importance of developing a cost-effective system, only the Bosch BME680 sensor was chosen. This sensor was selected since it is an integrated environmental sensor produced particularly for portable applications and wearables where dimension and low power consumption are essential requirements. This sensor provides temperature, relative humidity, barometric pressure and qualitative air quality, the main parameters that should be supervised for both school and laboratory scenarios. The proposed system is composed of a hardware prototype for environmental data acquisition and a Web portal and mobile application compatible for data access (Figure 1). The *iAQ+* is based on open-source technologies and is a totality Wi-Fi solution with various benefits when related to current solutions, such as its modularity, scalability, low-cost, real-time notifications and easy installation. The data collected is stored in a SQL Server database management system and a smartphone application or a Web portal can be used for data consulting. The *iAQ+* incorporates the ESP8266 microcontroller with built-in Wi-Fi communication technology and has been tested in the context of infrared thermography experiments.

Taking into consideration the SQL Server native .NET framework integration feature, this database management system was chosen. Furthermore, the SQL Server incorporates several advantages such as data-recovery features, professional management utilities and built-in data compression and data encryption features. The SQL Server supports easy administration and audit functionalities for enhanced data management.

#### **3. Laboratory Environmental Conditions**

LEC supervision is critical from a quality perspective to provide a consistent and regulated state of control for equipment and samples for proper lab activities. LEC is influenced by the building envelope, thermal loads, obstructions and buildings climatisation system, which can produce air flow patterns of hot and cold spots. In some cases, these hot and cold spots can produce environmental conditions variations during experiment activities which lead to unwanted effects on samples as well as manipulation of the testing equipment's samples. Therefore, the LEC must be monitored in real-time not only to assure proper regulation and maintenance of indoor conditions but also to correlate the collected samples with these conditions.

On the one hand, the laboratory activities must be monitored and stored to ensure that they are stable when the test is conducted and at the data collection moment as they influence the quality of the results. LEC has a significant influence on test results and on the precision and reliability of testing records that remain concerned with environmental parameters. On the other hand, monitored results must be saved in the laboratory information management system that should provide the following requisites: 1) must incorporate authentication and access control for data safety; 2) must incorporate data recovery and data adulteration protection methods; 3) must be manipulated in an environment that satisfies the provider or laboratory specs or, in the situation of non-computerized methods, provides conditions which preserve the precision of manual reporting and transcription; 4) must be managed to guarantee the information integrity; and 5) must implement reporting system crashes support to allow prompt corrective operations.

In general, temperature, humidity and barometric pressure are assumed as the main conditions to be monitored for enhanced laboratory environments. The recommendation for LEC is 23 ◦C (±5 ◦C) and <70 % RH for temperature and relative humidity respectively. For temperature data collection, the measurements must be made with calibrated sensors that must be placed far from the equipment under analysis to anticipate every heating consequence which can lead to inaccurate ambient samples. Regarding the humidity measurements, the data collected must be done at the same altitude from the ground as the equipment under test and, preferably, in a similar place if possible. The barometric levels can be consulted from local airports. However, for critical laboratory experiences, barometer sensors are required and must be placed in the laboratory to detect indoor building environmental limitations and barometric fluctuations.

IAQ has a significant influence on LEC [53–56]. On the one hand, IAQ should be supervised in order to provide a healthy and productive workplace for the researchers. On the other hand, IAQ should be monitored to minimise the impact the laboratory experiments' samples. For instance, IQ is extremely significant in the clinical embryology laboratory activities and is recognised as a significant parameter which influences in vitro fertilisation (IVF) success levels [57].

#### **4. Materials and Methods**

Taking into account, not only the necessity to keep a healthful and productive workplace for the students, teachers and the school staff, but also to provide a consistent and regulated state of control for laboratory activities, the *iAQ+* solution has been created by the authors. The *iAQ+* solution provides a low-cost and reliable method for IAQ supervision which incorporates easy configuration and easy installation features. This system is a low-cost, reliable system that can be easily configured and installed by the average user without supporting the cost of an installation done by certified professionals.

The main objective is to provide proper supervision of the LEC, such as air temperature, humidity and barometric pressure and a qualitative air quality index. Therefore, the authors selected a cost-effective BOSCH BME680 sensor, a four-in-one multi-functional microelectromechanical system (MEMS) environmental sensor which integrates a Volatile Organic Compounds (VOC) sensor, temperature sensor, humidity sensor and barometer. The DFRobot Gravity BME680 environmental sensor was used as it provides a Gravity I2C connector, is plug & play and is easy to connect.

The *iAQ+* is based on a microcontroller with built-in Wi-Fi compatibility, a FireBeetle ESP8266 (*DFRobot*). Figure 2 presents the hardware prototype developed by the authors. In this section, the hardware and software development materials and methods will be discussed.

**Figure 2.** *iAQ+* prototype.

A brief introduction of each component used is shown below.


The BME680 sensor calculates the sum of VOCs in the surrounding air to provide qualitative air quality data. This sensor incorporates a background auto-calibration feature in order to provide reliable IAQ qualitative data. This process regards the recent measurement records to guarantee that IAQ index ~25 matches to typical good air and IAQ index ~250 states for typical polluted air. The sensor output resistance value varies according to VOCs concentrations, the higher the concentration of reducing VOCs, the lower the resistance and vice versa. The IAQ qualitative range is from 0 to 500 (the larger, the worse). Table 2 illustrates the IAQ qualitative index meaning of the selected sensor.


**Table 2.** BME680 qualitative IAQ index meaning.

The mobile application, designated as *iAQ+Mobile,* was created using SWIFT programming language in XCode IDE (Integrated Development Environment), and the minimum requirement is the iOS 12. The *iAQ+Mobile* incorporates significant highlights as it allows not only real-time data access of the last temperature, humidity, air pressure and qualitative IAQ index information but also to receive real-time warnings to notify the occupants when the IEQ has severe deficiencies (Figure 3). The smartphone application also allows viewing the collected data in chart form.

**Figure 3.** *iAQ+Mobile*.

The *iAQ+* was developed by the authors to be a centralised supervision solution. Therefore, the Web application, *iAQ+Web,* was built in ASP.NET C# using the Visual Studio IDE. Using the *iAQ+Web*, the build manager can consult the IEQ data in real time. This Web portal saves the IEQ conditions history for future analysis (Figure 4).


**Figure 4.** *iAQ+Web*.

The *iAQ+Web* allows historical data export for enhanced reporting and analysis. The Web portal supports hourly, daily and monthly charts and tables of the monitored data for enhanced building management and audits.

To support the two main activities in the university laboratories, the laboratory experiments and teaching activities, the *iAQ+* software (Web and smartphone) supports two functional modes, the laboratory mode and the schoolroom mode. The *iAQ+* software allows the user to configure setpoints for both modes and the laboratory manager can change the status mode using the Web or the smartphone app. The smartphone app is an agile and effective way to change the status. However, the software allows the end-user to schedule the working modes (Figure 5).


**Figure 5.** *iAQ+Mobile* Settings.

#### **5. Results and Discussion**

In Portugal, the majority of indoor environments have natural ventilation. The nature of dwelling, construction, heating and ventilation assumes an important influence on the air permeability variations. It is expected that over 66% of business/services constructions which support natural ventilation mechanisms are notably airtight, and the other 33% have a tendency to be leakier.

For testing purposes, one laboratory of a Portuguese university were on-site supervised using one *iAQ+* prototype. Figure 6a presents the experiment conducted by the authors of LEC supervision of thermography activities. As in most laboratories, the supervised space incorporates natural ventilation and does not have dedicated ventilation slots on the facades. The indoor air is reheated and recirculated through a couple of standard air–water fan-coils of the heating system, and the air exchange is performed through infiltrations and by opening windows manually. The outdoor air is employed to afford ventilation, to reduce the temperature or when the occupants detect the severe or disturbing odour; therefore, the IAQ is frequently deficient.

(**a**) (**b**)

**Figure 6.** Laboratory layout: (**a**) experiments research area (e.g. thermography experiments supported by *iAQ+*); (**b**) classroom learning space (teaching support).

The *iAQ+* was powered by the power grid using a 230V-5V AC-DC 2A power supply. The LEC exposure data were collected in thermography experiments which showed that indoor conditions can be different from the recommended values and can affect the integrity of the collected data.

The tests conducted show the system capability not only to keep a healthful and productive workplace for the students, teachers and the school staff but also to provide a consistent and regulated state of control for laboratory activities. Figure 6b represents the laboratory space used as a schoolroom.

Figure 7 presents a sample of the graphics of the results achieved in the tests conducted. It should be noted that the graphs displayed the results obtained in the monitored rooms with induced simulations using tobacco smoke.

On one hand, monitoring environmental conditions and maintaining laboratory temperature and humidity requirements is extremely important for high-quality experimental activities. On the other hand, supervising IEQ is significant in creating a healthy and productive workplace for learning and teaching. Using the smartphone application, the user can carry all the monitored data in his pocket.

This solution not only supports alerts and setpoints configuration for real-time notifications via e-mail, SMS and push notifications but also provides an integrated dashboard for the monitored real-time collected data. Quite apart from this, the *iAQ+* incorporates a built-in visual and audio alarm, two LED's and a buzzer respectively. When the configurated setpoints are met, the correspondent LED is triggered, green to inform the good IEQ status and red to notify the poor IEQ status along with the buzzer activation. In the last case, the buzzer will ring for 30 seconds with the aim to notify the occupants to act in real-time to enhance the indoor conditions.

**Figure 7.** Results of IAQ index, air temperature and relative humidity obtained in the experiments conducted in a real laboratory environment: (**a**) IAQ index; (**b**) relative humidity (%); (**c**) air temperature (◦C).

The data collected by the system is analysed before being inserted into the database. If the data exceeds the parameterised limits, the user is notified and an email or SMS is triggered (Figure 8).

The SMS notification is performed using Twilio, a cloud communication platform, as a service. This service makes it possible to programmatically send an SMS and other communication functions using its Web service APIs. The push notifications are performed using the Firebase Cloud Messaging that is a cross-platform solution for messages and notifications for Android, iOS and Web applications.

The real-time alerts promote behaviour changes. In fact, these messages alert the user to act in real-time to perform actions to increase IAQ. On the other hand, with this real-time feature, the building manager can understand when the recurrent unhealthy cases are detected and implement new adjustments to prevent them. Consecutively, *iAQ+* provides the requirements to act in real-time for enhanced living environments and laboratory conditions. The alert indicators architecture is shown in Figure 9.

**Figure 8.** Examples of SMS (**a**) and E-mail (**b**) notifications.

**Figure 9.** Alerts indicators architecture.

Firstly, *iAQ+* can help in the maintenance of LEC by providing an integrated management system that supports daily records of historical behaviours and variations as well as remote notifications when the configurated setpoints are met. Secondly, this system can not only be used by the building manager to detect unhealthy situations in real-time but also as a decision-making tool to address behavioural changes to promote IEQ for enhanced productive environments.

From a quality point of view, supervising the laboratory environment is crucial to achieving a continuous LEC in the laboratory activities. Irregular maintenance of LEC can lead to unwanted effects to samples as well as to laboratory equipment's ability to produce stable results. The *iAQ+* allows the user to store the historical data of the LEC; therefore, it is possible to check the integrity of the collected data and perform data analysis and comparison taking into account the indoor conditions.

Through charts visualisation of IEQ conditions, the application provides a better acknowledgement of the supervised data when compared to the numeric table format. Consequently, the proposed solution is a significant decision-making tool to plan interventions in order to promote a healthful and productive living environment but also for IEQ analysis.

The *iAQ+* incorporates a wireless connection interface for Internet access along with an easy Wi-Fi network configuration. The *iAQ+* should be connected to a Wi-Fi hotspot for data transmission and to store the network credentials on the flash memory after successful connection. At system start-up, the *iAQ+* searches for a stored Wi-Fi network to connect to. However, if there no saved Wi-Fi networks available, the system will turn to hotspot mode and create a Wi-Fi network with an SSID "*iAQ+*". At this stage, the user must connect to the referred hotspot in order to configure the credentials of the Wi-Fi network to which the system will be connected (Figure 10).

**Figure 10.** Wi-Fi configuration.

In this way, the *iAQ+* can be easily installed by the end-user which not only follows the original paradigm of IoT solutions but also contributes to the low-cost aim of the presented solution.

Compared to several similar solutions proposed and described in Table 1, the *iAQ+* supports push notifications to alert people in a timely way for enhanced living environments and occupational health by providing ventilation, deactivation of pollutant equipment and by activating air purification systems. When the parameters meet the setpoints for the correspondent working mode, the user is alerted to ensure a productive environment for teaching or correct laboratory environmental parameters. The *iAQ+* offers a work mode feature; the user can configure setpoints for laboratory mode and schoolroom mode. Using the *iAQ+Mobile*, the user can easily change the work mode in real-time.

On one hand, compared to other systems proposed by References [46,47,49,50] based on WSN, the *iAQ+* provides several advantages in scalability and installation in indoor living environments as it is only necessary to configure the Wi-Fi Internet connection and it is not required to configure the sensor nodes and coordinators. On the other hand, compared to the other systems proposed by References [46,50–52] which do not use mobile computing, the *iAQ+* provides smartphone and Web compatibility for data access. The solution proposed by Reference [48] supports mobile access. However, the proposed mobile app allows only to access the last collected data and does not support historical data access. The *iAQ+Mobile* supports graphical presentation for an easy overview of the IEQ data by the end-user.

The IoT design facilitates the scalability of the proposed solution offering flexibility and expandability as the area can be monitored using only one *iAQ+* unity, but other unities can be added if needed.

Enhancements to the system hardware and software are scheduled in order to incorporate other IEQ parameters such as noise supervision and/or experiment variables. So, as future work improvements and adaptions for specific laboratory tests, such as thermographic experiments applied to wood and trees are planned. The proposed solution has multiple benefits in installation and configuration as the *iAQ+* incorporates wireless communication technology for data transmission, but also provides compatibility with both the standard domestic homes and smart homes.

Apache Kafka is an open-source stream-processing software platform for distributed high-throughput systems. This platform provides low-latency, built-in partitioning, replication and inherent fault-tolerance for real-time data handling. Apache Spark is a framework for large-scale data processing which can be used with Kafka to stream the data to solve the response time and system throughput problems. The SQL Server response time and system throughput tests were not performed. However, these evaluations are planned by the authors as long as the study of the incorporation of open-source platforms such as Apache Kafka and Apache Spark to face response time and system throughput difficulties.

It is imperative to enhance the IEQ conditions, and the authors consider that the first step is to implement real-time supervision to identify its variation and to plan interventions for enhanced living environments.

#### *Managerial Implication*

Regarding managerial implications, the results provide insights for enhanced living environments and laboratory experiments. In most university establishments, laboratories are also used as classrooms. Therefore, *iAQ+* is relevant to provide a healthful and productive living environment but also to support experimental activities. LEC has a direct impact on test results and on the accuracy and consistency of test data that are affected by environmental conditions. Thus, the proposed solution offers an integrated management system for historical data analysis in order to guarantee the integrity of test results. The two functional modes of the *iAQ+* solution, the laboratory mode and the schoolroom mode allow the user to configure setpoints for both modes. This will allow switching the functional mode in an agile way, contributing to increasing the quality of the laboratory experiments and teaching activities. The *iAQ+* easy installation feature follows the original paradigm of IoT solutions and contributes to the low cost of the proposed solution. Most importantly, the real-time alerts promote behaviour changes to support the occupants to act promptly in order to provide a healthy and productive workplace for learning and a regulated environment for laboratory activities. The proposed solution provides a mobile application and a Web portal for IAQ data analytics which facilitates data access and analysis.

#### **6. Conclusions**

This paper presented an IoT real-time supervision system architecture named *iAQ+* composed by a hardware prototype for data acquisition along with Web and mobile compatibility for data access. The proposed system provides temperature, relative humidity, barometric pressure and qualitative air quality supervision for both school and laboratory scenarios.

With the proliferation of IoT technologies, there is great potential to create automatic IEQ supervision solutions for enhanced living environments and occupational health.

The results achieved are promising, indicating an important contribution to LEC supervision solutions based on IoT. Using *iAQ+*, the monitored data can be particularly valuable to analyse and store the laboratory activities' conditions to ensure that they are stable in the course of the experiments conducted, as they influence the quality of the results.

Compared to existing systems, the *iAQ+* supports push notifications to alert people in a timely way for enhanced living environments and occupational health; in addition, by supporting a work mode feature, the user can configure setpoints for laboratory mode and schoolroom mode. This system offers flexibility and expandability as the user can start with only one *iAQ+* unity and add more unities if needed. However, quality assurance (QA) and quality control (QC) testing of the proposed study and the SQL Server response time and system throughput analysis was not done by the authors. In the future, the QA/QC should be implemented for enhanced product quality traceability and these response time and systems throughput evaluations will be conducted. The authors have also planned software and hardware improvements to adapt the system to specific laboratory tests, such as thermographic experiments applied to wood and trees. In spite of the influence of indoor environments in daily human activities, systems like this will contribute to ensuring a productive environment for teaching and proper LEC.

**Author Contributions:** G.M. and R.P. designed the study, developed the methodology, performed the analysis, and wrote the manuscript.

**Funding:** This research is framed in the project "TreeM—Advanced Monitoring & Maintenance of Trees" N. º 023831, 02/SAICT/2016, co-financed by CENTRO 2020 and FCT, Portugal 2020 and structural funds UE-FEDER.

**Acknowledgments:** The financial support from the Research Unit for Inland Development of the Polytechnic Institute of Guarda is acknowledged.

**Conflicts of Interest:** The authors declare no conflict of interest.

#### **References**


© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
