Next Article in Journal
Ultrathin Tunable Lens Based on Boundary Tension Effect
Previous Article in Journal
Fluorescence Characteristics of Dissolved Organic Matter (DOM) in Percolation Water and Lateral Seepage Affected by Soil Solution (S-S) in a Lysimeter Test
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Elemental: An Open-Source Wireless Hardware and Software Platform for Building Energy and Indoor Environmental Monitoring and Control

by
Akram Syed Ali
1,*,
Christopher Coté
2,
Mohammad Heidarinejad
1 and
Brent Stephens
1,*
1
Department of Civil, Architectural, and Environmental Engineering, Illinois Institute of Technology, Chicago, IL 60616, USA
2
Entropealabs, Chicago, IL 60626, USA
*
Authors to whom correspondence should be addressed.
Sensors 2019, 19(18), 4017; https://doi.org/10.3390/s19184017
Submission received: 27 August 2019 / Revised: 15 September 2019 / Accepted: 16 September 2019 / Published: 18 September 2019
(This article belongs to the Section Intelligent Sensors)

Abstract

:
This work demonstrates an open-source hardware and software platform for monitoring the performance of buildings, called Elemental, that is designed to provide data on indoor environmental quality, energy usage, HVAC operation, and other factors to its users. It combines: (i) custom printed circuit boards (PCBs) with RFM69 frequency shift keying (FSK) radio frequency (RF) transceivers for wireless sensors, control nodes, and USB gateway, (ii) a Raspberry Pi 3B with custom firmware acting as either a centralized or distributed backhaul, and (iii) a custom dockerized application for the backend called Brood that serves as the director software managing message brokering via Message Queuing Telemetry Transport (MQTT) protocol using VerneMQ, database storage using InfluxDB, and data visualization using Grafana. The platform is built around the idea of a private, secure, and open technology for the built environment. Among its many applications, the platform allows occupants to investigate anomalies in energy usage, environmental quality, and thermal performance via a comprehensive dashboard with rich querying capabilities. It also includes multiple frontends to view and analyze building activity data, which can be used directly in building controls or to provide recommendations on how to increase operational efficiency or improve operating conditions. Here, we demonstrate three distinct applications of the Elemental platform, including: (1) deployment in a research lab for long-term data collection and automated analysis, (2) use as a full-home energy and environmental monitoring solution, and (3) fault and anomaly detection and diagnostics of individual building systems at the zone-level. Through these applications we demonstrate that the platform allows easy and virtually unlimited datalogging, monitoring, and analysis of real-time sensor data with low setup costs. Low-power sensor nodes placed in abundance in a building can also provide precise and immediate fault-detection, allowing for tuning equipment for more efficient operation and faster maintenance during the lifetime of the building.

1. Introduction

Understanding the complex relationships between occupant activity, air quality, energy usage, and occupant comfort levels in buildings requires monitoring many subsystems in addition to the perceived comfort of occupants [1,2,3]. Traditionally, these parameters are monitored by hardware and software that are expensive, proprietary, and often limited in terms of ease of use and flexibility [4]. Adding data monitoring and visualization layers to buildings can provide a glimpse into its energy use, thermal performance, daily operation, and maintenance requirements. Visualizing basic environmental and energy use data is already available in many existing building energy management systems. However, these systems typically do not utilize real-time activity data within buildings to inform their control strategies, nor do they make that data easily available for analysis, particularly in smaller residential and commercial buildings for which building energy management systems are often prohibitively expensive [5]. This results in unsatisfactory thermal comfort for occupants, inefficient usage of energy (especially during unoccupied periods), and a lack of zone-level anomaly detection for buildings and systems.
In the past decade, an exponential rise in open-source hardware and software technologies have facilitated the development and implementation of low-power monitoring systems for numerous applications, enabling data monitoring and controls in a cost-effective and hyper-local manner. With the advent of Internet of Things (IoT) and commercialization of IoT products, inexpensive wireless sensors have also seen a large adaptation in residential buildings around the world. Wireless sensor networks for indoor environmental monitoring have extensively proved the need for such localized data monitoring [6,7,8,9,10,11,12,13,14,15,16,17,18,19]. However, prohibitive upfront costs and a lack of standards related to implementation of IoT technologies in buildings has led to isolated adoption of IoT technologies that often cannot be easily integrated with other systems or replicated when needed [20]. Many existing buildings remain unmonitored or poorly monitored, leaving many opportunities for energy savings and improving indoor environmental conditions unaddressed.
This paper proposes an open-source hardware and software platform, called the Elemental platform, that enables real-time and historical analysis of a building’s performance and thermal comfort of occupants within by: (1) integrating accurate, inexpensive, low power wireless sensors and controls; (2) connecting existing commercial IoT devices, heating, ventilation, and air-conditioning (HVAC) controls, and energy monitoring systems; (3) and providing simple endpoints to allow building systems and control devices to access granular zone-level environmental and building activity information to make smarter decisions. The goal of the platform is to standardize all building information and controls in one place, while being fully open-source to allow large scale implementation. This project builds on an open-source sensor platform previously developed by our research group (OSBSS: Open Source Building Science Sensors [18]) and recently expanded upon in collaboration with the National Association of Realtors [21].

2. Materials and Methods

Continuous advancements in materials science and micro-scale manufacturing techniques has led to the development of highly power-efficient radios for wireless communication and low-power microprocessors that enable long-term embedded applications. Additionally, major developments in networking, computing power, and digital storage densities allow virtually unlimited data storage and high-speed network communication, enabling near-instant data retrieval and analysis. However, these advancements are not yet fully realized in existing indoor data collection and smart home/building applications.

2.1. Existing Technologies

Data collection for scientific research and smart home projects is increasingly being accomplished using low power microcontrollers and various open-source platforms, attributable in large part to their widespread availability, wide community support, and ease of use. For example, wireless sensor platforms based on Arduino and/or Raspberry Pi boards have successfully been used to monitor indoor and outdoor environmental quality [6,7,22,23,24,25,26] and building energy use [27]. However, projects based on off-the-shelf sensors and hardware such as Arduino boards commonly have their limitations. For example, they have relatively high-power consumption, which requires external power to be available [28]. This limits battery usage, thereby limiting the applications for which they can be most useful. The setups can also be unreliable due to the use of jumper wires to connect components, which can be fragile and loose. They have limited data storage without expensive add-ons. Additionally, inexpensive sensors that are commonly used with Raspberry Pi and Arduino-based boards usually have inadequate accuracy for research or control-based applications. The cost of hardware increases sharply when scaling up the setup for deployment on a larger scale. Using various types of open-source and commercial sensors and devices for a project also has the problem of data fragmentation, in which there is no central location for data storage and each platform produces data in their own format. This requires additional steps to standardize the data for analysis which takes a lot of time. There are many other challenges around the use of low-cost sensors such as custom software development and setup, which can sometimes have a steep learning curve and restrict engineers who are seeking a quick way to deploy a wireless sensor network for monitoring and control.

2.2. Custom PCBs

To address the aforementioned issues with existing technologies, we developed custom printed circuit boards (PCBs) for measuring common indoor environmental and building operational parameters, including air and surface temperature, relative humidity, light intensity, barometric pressure, motion activity, carbon dioxide (CO2) concentrations, particulate matter, total volatile organic compounds (TVOCs), and analog voltage inputs from other devices such as current transducers, heat flux sensors, and a wide variety of environmental sensors. We also developed custom PCBs that can enable knob and actuator controls for building systems such as radiator controllers, variable air volume (VAV) boxes, and various valves. The idea behind developing these boards is to provide a quick way to setup wireless sensors and controls in buildings which use a standard data format that can expedite analysis and control in building applications.
Figure 1a shows a basic block diagram of a sensor and control node. This includes a low-power microprocessor, an RFM69 radio module for wireless communication, a sensor or control device, an optional switch which can deactivate the sensors when needed for achieving lower power consumption, and a power source, which is typically a lithium ion polymer battery or 5 V power either from USB or any commercial power adapter.
Figure 1b illustrates the network architecture of a typical wireless sensor network. All sensor nodes and control nodes have their own unique node ID for identification. Up to 1023 nodes can be used in a network of sensors deployed in a building, however, it is also possible to use different networks for different applications, thereby increasing the total number of nodes that can physically coexist inside a building. Limitations in actual deployments will depend on communication intervals, transmission speeds, network congestion, size of data packets, physical obstructions and building materials, indoor environmental conditions, and other factors. However, at least several hundreds of nodes can be easily deployed in a large building with careful planning. All nodes communicate with a gateway that relays information directly to a host computer, in this case, a Raspberry Pi. The Raspberry Pi manages the data, either by storing it locally, or sending it to a local server or to a cloud-based backend for detailed data analysis and real-time data monitoring. The gateway, backhaul, and backend portion of the architecture is described in more detail in Section 3.
Figure 2a–c show several low-power wireless sensor nodes that we have developed and built. These can measure temperature, relative humidity, light intensity, motion, and door/window opening. These boards have an average idle current draw of around 6.5 µA and can last up to 2 years on a single 2000 mAh lithium-ion polymer battery logging at 1-min intervals and not subjected to wide swings in temperature (the actual battery life of a deployed sensor node with a 1200 mAh battery is shown later in Section 4.1). Figure 2d shows a wireless sensor board that measures CO2 concentration. This board requires external 5 V power due to the inherent nature of the CO2 measurement type used in the sensor (non-diffusive infrared). Keeping the sensor active at all times allows the sensor to maintain high accuracy, coupled with its built-in automatic background calibration feature helps correct for long-term drifts. Figure 2e shows an custom indoor air quality (IAQ) monitor that can measure temperature, relative humidity, light intensity, CO2 and TVOC concentrations, surface temperature, barometric pressure, particulate matter (i.e., approximations of PM2.5 and PM10 via a low-cost optical sensor), and external 0–5 V output from any commercial sensor, device, or actuator. This device is carefully designed for accurate measurements and has a flash memory on-board that enables data storage and over-the-air firmware updates when needed. Wireless firmware updates are accomplished using LowPowerLab’s wireless OTA software [29]. The accuracy of the sensors used on these boards were previously verified against similar research- and commercial-grade sensors commonly used in building applications [18,30], similar to procedures that have been used in other studies [31]. The sensors themselves, which are listed in Table 1, are commonly used in the industry for high accuracy environmental monitoring. Figure 2f shows a USB gateway for the sensor nodes. This device can be plugged into a USB-A port of any computer. It receives wireless data from all sensor node types and sends it over serial to the host computer at a baud rate of 115200. This device can also act as a transmitter for sending commands to control nodes based on the RFM69 radio. In all examples in Figure 2, the custom PCBs are aimed to make large scale deployments easy and cost-effective.
All boards use RFM69 wireless radios by HopeRF (Shenzhen, China). The RFM69 is a highly integrated Frequency Shift Keying (FSK) RF transceiver capable of operation over a wide frequency range, including the 433, 868 and 915 MHz license-free Industry, Scientific and Medical (ISM) frequency bands [32]. This allows the sensor nodes to operate independently in their own sub-GHz wireless networks, removing dependence on common wireless protocols that operate in the exceedingly crowded 2.4 GHz bands such as WiFi, ZigBee, Bluetooth, and others. Consequently, the radios have more reliable transmission with minimum interference from other common wireless devices and have much longer range with wireless data transmission up to 600 m in open air and over 150 m inside dense concrete buildings. Another popular wireless transmission protocol, Long Range (LoRa), was also initially considered, but the RFM69 FSK radios were ultimately chosen due in large part to their simplicity. To connect LoRa radios to the internet, a LoRaWAN gateway is required. Existing gateways can be used, but for applications where data is sensitive, deploying and maintaining a commercial gateway requires precise installation and configuration to be effective and is usually more expensive than their FSK counterparts. LoRa is also slower than FSK protocol due to reduced transmission bitrates. FSK radios typically have enough power and range for indoor applications, while LoRa radios are better suited for large-scale deployments like dense urban or forest settings where interval of transmission can be lower and longer range in the order of several miles is desired.
The range of the selected RFM69 radios was initially tested vertically in a dense high-rise commercial building in downtown Chicago, with successful data transmission between two floors (1400 m2 each), and laterally between two academic buildings with brick, glass, and steel construction, with successful data transmission from the core of one building to the core of another ~150 m away. The range can be further extended by decreasing the transmission baud rate of the radio and using antennas with higher gain. The RFM69 wireless radios have built-in hardware 128-bit AES encryption including CRC checks to ensure reliability and security of all data transmitted. Since the radio can act as a transmitter and a receiver, it can be used in both sensor nodes and control nodes. Coil antennas tuned to 915 MHz are used in sensor nodes located closer to the gateway. For sensor nodes that are located further away in the building, quarter-wave monopoles (a wire of approximately 80 mm in length) are used. For some nodes which are located in very dense buildings, an external whip antenna or a half-wave dipole antenna is used. In deployments with hundreds of nodes inside buildings, the gateway has an SAMD21 Cortex M0+ ARM processor (Microchip Technology Inc., Chandler, AZ, USA) with a larger ground plane, along with a rubber ducky or whip antenna with a high gain. There is also a transmission retry logic in each sensor and control node, which attempts to retry transmission of data if no acknowledgement is received from the gateway in a given interval of time. To avoid network congestion, this interval of time is randomized between 10 and 80 ms on each node independently to ensure that no two nodes attempt retrying transmission at the same time. A distributed backhaul setup also allows for multiple Raspberry Pis with gateways to be deployed in large buildings where the Pis are positioned to capture wireless data within a given region inside the building. The backend handles duplication of data and can process everything accordingly. The backend architecture is explained in further detail in Section 3.
Figure 3 shows the various components on a typical low-power sensor node (i.e., from Figure 2a). To achieve an idle current draw of 6.5 µA that allows for a long battery life, three things were done: (1) proper component selection, (2) software enhancements, and (3) using a switch to disable parts of the circuit.
Components on the board are specifically selected to minimize current draw. The voltage regulator has a very low quiescent current of 2 µA when active and the Schottky diode used for reverse polarity protection has extremely low reverse leakage current. In addition to the components, various power-saving features of the ATmega328P microprocessor (Microchip Technology Inc., Chandler, AZ, USA) are utilized by developing custom code. Since taking sensor measurements and transmitting data consumes the largest amount of current, it is more efficient to do it only intermittently when needed. The microprocessor’s power-saving sleep mode shuts off all internal circuitry except the important timer needed to wake itself up from sleep when desired. This timer is called a watch-dog timer and is an essential part of almost all embedded systems for various important tasks, especially where humans cannot easily access the hardware. The watch-dog timer’s sleep time is configurable on the ATmega328P and is set to a maximum of approximately 8 s. This means the processor will cease all activity and sleep for 8 s, then automatically wake up to continue where it left off. The firmware was specifically designed to have the processor wakeup and immediately sleep seven times in a row using its built-in timer before allowing it to take sensor measurements and transmit the data. This creates an interval of about 56 s per data transmission. The data transmission itself takes around 5–10 ms, while the sensor measurement is dependent on the type of sensor itself and is generally between 10–200 ms.
Most sensors also have some idle current draw when not actively measuring. To eliminate this, these sensors can be disabled during the 56 s sleep interval of the sensor node and enabled only when needed. This is done by means of an NPN transistor, which is a digital switch that allows the power line going to the sensor to be disabled. This can be used on those sensors that have quick start-up times and generally do not require any warm-up to measure accurately. The voltage drop from the transistor is typically not large enough to affect sensor performance. For some sensors that consume larger currents than the transistor can source and where voltage drop is not desirable, a MOSFET can be used instead.
The power source for all low-power sensors is chosen to be 3.7 V lithium ion polymer batteries. The discharge profile of a typical lithium ion battery is around 4.2 V when fully charged, dropping down to 3.7 V when being used. This simplifies the circuit by utilizing only one efficient step-down voltage regulator to provide a clean and regulated current at 3.3 V to all components. Using AA or AAA batteries was also considered, but combining at least 3 batteries to produce enough voltage for the voltage regulator would drastically increase the size and the weight of the sensor node, while using only one battery and a step-up converter to increase the voltage to a desired level would increase the idle current draw. Lithium ion batteries also have predictive behaviors whereby they are almost fully depleted by the time they drop below 3 V. This also allows for disabling an internal feature of the microprocessor called brown-out detection, which constantly monitors the operative voltage level during operation and if the voltage is dropped lower than 2.7 V, then it resets the chip. Since using lithium ion batteries ensures that voltage will never decrease below 3 V, the brown-out detection feature can be disabled, thereby saving additional power.
The PCB boards are designed in Autodesk EAGLE 9.1 and fabricated by OSHPark [33], a high quality board manufacturer for prototyping and light production based in USA. The board assembly is completed in house by our team. The firmware for each board is developed by our team in Arduino IDE 1.8.5. The library used for the radio is developed by LowPowerLab [34] and Adafruit’s open-source libraries were used for some sensors. Where no community-developed library was available, custom code was written by our team. Each board is programmed using the Pocket AVR Programmer [35] via the In-System Programming (ISP) header. This header is designed to take the Tag-Connect TC2030 cable [36] which allows for space-savings on a small sensor node. A custom jig built by our team is used to connect the cable to the programmer. The hardware and firmware files for the boards are open-source and are available on GitHub [37].
The red dotted box shown in Figure 3 indicates the part of the board where sensors are placed. Most sensor nodes utilize a similar board design, with components in the red box being replaced by other types of sensors to create nodes that measure various other things. Depending on the cost, measurement requirements, type of sensors, and final placement of the sensor node itself, one or more sensors can be combined into a single board, as shown in Figure 2e. Table 1 lists the components on the wireless sensor boards shown in Figure 2, along with their typical unit costs. The component costs vary depending on market supply and demand, distributer location and political factors. When sourcing components in quantity for mid-scale manufacturing, the component prices sharply decrease. Table 2 lists total cost for each of the wireless sensor nodes shown in Figure 2a–f, along with the backhaul.
For comparison, Table 3 lists total kit costs for deploying Elemental wireless sensors compared to some existing commercially available solutions, using a typical package of 3–5 environmental sensors and a single gateway. Note that total kit costs for both the commercial solutions and an Elemental package will vary based on the quantity of sensors or accessories included. The total kit costs for deploying a simple 5 node wireless temperature, humidity, and light package with a gateway is $120 USD for the Elemental platform, while similar commercial packages range from approximately $500 to $1900 USD. In addition to costs, other differences to consider include major differences in wireless communication protocols, power requirements, and availability of both local and cloud data storage/access.

2.3. Gateway and Backhaul

Another fundamental part of the Elemental platform is a Raspberry Pi 3B, which is used as a central backhaul, shown in Figure 4. The Raspberry Pi is a miniature single-board computer with peripherals for internet connectivity running open-source software. The goal of this backhaul is to allow data monitoring and control of a multitude of devices over differing protocols in a single place. It captures all incoming wireless sensor data using gateways in the form of USB sticks that can be easily plugged in. A wireless gateway as shown in Figure 2f is configured to send and receive data via the RFM69HW radio module to allow communications with our wireless sensors and control nodes. Other existing gateways that are compatible with the backhaul are described in Section 2.4 and its firmware is described in Section 3.1.

2.4. Compatibility with Other Devices

In addition to connecting to sensor nodes, the Elemental platform can also connect to Smart Meter Connected Devices (SMCDs), which are verified by most service and utility providers to allow real-time building energy usage tracking from common smart meters. It is also compatible with consumer level and professional grade wireless weather stations. Gateways such as Meteostick from Smartbedded [38] can communicate with Davis weather stations and common weather sensor arrays from Ambient Weather (Chandler, AZ, USA), and is supported by the platform. This allows hyper-local weather monitoring immediately around the building to give granular and relevant data that can be used for analysis, instead of relying solely on weather stations located at airports which may not always take into account localized effects such as wind gusts, rain, or traffic.
To allow full-home automation with existing IoT devices in the residential space, the Elemental platform is also compatible with existing wireless thermostats such as Radio Thermostat CT50 (Modesto, CA, USA); smart bulbs such as LIFX (Cremorne, Victoria, Australia); plug load monitors such as the Wemo Insight (Belkin, Playa Vista, CA, USA); and media players such as Google Chromecast (Menlo Park, CA, USA), with support for smart locks and other home-based IoT solutions currently being developed.

3. Software

The Elemental platform is an open-source Apache 2.0 licensed data monitoring, control, and automation system built with security and privacy in mind. It is designed from the ground up to run on the local network inside a building, without the dependence on internet connectivity. Connection to the cloud is optional for data backup, remote monitoring, or in-depth data analysis. This means that deployments of the platform are not locked into any one cloud service provider. However, for those systems that are already established on cloud service providers, the Elemental platform does allow remote deployment of the backend on AWS. The software part of Elemental consists of two parts: (1) a custom firmware for the Raspberry Pi developed in Elixir, and (2) a custom application for the backend called Brood that manages devices, provides a data store and enables real-time data visualization. All data transmitted between the backhaul and the backend are encrypted with high security protocols to ensure privacy.

3.1. Backhaul Firmware

The firmware on the Raspberry Pi is a custom-built embedded software based on the Nerves platform [39], written in Elixir language. Nerves allows development of fault-tolerant, self-repairing processes to ensure high data-logging reliability, which enables deploying lean, robust, and maintainable code on small embedded hardware. Nerves is used in various industrial products and allows for a scalable building data monitoring and control platform.
The Elemental platform offers a zero-configuration installation and will attempt to auto-discover many supported commercial IoT devices, along with our custom sensor and control nodes. Each device in the building discovered by Elemental is identified by a device ‘state’ by its device manager. Each state consists of device class, device IDs, a high-level name, device behaviour, and a few other parameters that help in identification and classification of the device. Device classification takes into account most building system devices, air quality sensors, and IoT devices, with room to customize and add more if needed. All device managing is done automatically and is fully self-repairing in the event of crashes or failures.
The Elemental platform consists of a distribution manager to allow multiple backhauls in a large commercial building to act as a mesh network. It also consists of a network manager that allows configuration of the local WiFi network inside the building on the Raspberry Pi backhaul. Figure 5 illustrates the overall architecture of the firmware on the Raspberry Pi. The firmware also has a local graphical user interface (GUI) that allows easy network configuration, historical data visualization, device control and system monitoring. The local GUI is explained further in Section 3.3.
Apart from allowing building data monitoring and control in both commercial and research applications, Elemental is also designed to be a full home/building monitoring and automation platform out of the box. The system works with a variety of consumer products for lighting, HVAC, media playback, energy monitoring, and weather monitoring as described in Section 2.4. To allow immediate installation of the platform, a pre-built firmware is provided on GitHub [37].

3.2. Elemental Backend

We developed a custom software package called Brood that provides all necessary infrastructure to allow hosting an independent local or cloud-based backend for deployment in buildings where security is critical. Brood uses Docker for infrastructure management. Docker is an enterprise-level container platform used widely by most major corporations for their applications [40]. This allows for secure, quick and easy replications of Elemental backend where needed. Brood consists of four parts:
  • VerneMQ—MQTT (Message Queuing Telemetry Transport) message broker
  • InfluxDB—Timeseries database
  • Grafana—Timeseries visualization
  • A middleware application to connect all components
Communication between the backend and the Raspberry Pi backhaul is done via encrypted MQTT protocol. MQTT is an open-source machine-to-machine IoT connectivity protocol, developed by OASIS (Burlington, MA, USA). It is an extremely lightweight publish/subscribe messaging transport protocol that is useful for connections with low-power devices in remote locations where a small code footprint is required and/or where network bandwidth is at a premium [41]. MQTT protocol has been successfully used in wireless heart-rate monitors [42], remote healthcare sensors for use in biomedical applications [43], various IoT projects [44] and many existing commercial systems. Brood uses VerneMQ, which is a high-performance, distributed MQTT message broker [45] to handle incoming and outgoing MQTT messages. Brood forces an encrypted MQTT connection between devices which requires the use of self-signed certificates to establish ‘trust’ between them.
InfluxDB is used for data storage and fast querying and processing. InfluxDB is an open-source time series non-relational database. It is written in Go language and has no external dependencies and is best suited for high-performance applications and scalability, especially for real-time data logging from a large number of wireless sensor nodes [46]. Studies have shown InfluxDB to be the best performing database for all applications regarding storage and querying of time-series data [47]. InfluxDB has also been used for intelligent environmental monitoring [48] and to demonstrate monitoring systems for large-scale smart city infrastructures [49].
Datalogging is divided into two types: real-time and interval-based data. Real-time data are event-based, e.g., motion in a room or a door opening. Interval-based data is any data point that is captured at a specified time interval, e.g., temperature or relative humidity every minute. Each data type is set to log in a separate InfluxDB database. Each InfluxDB data structure has a retention policy that describes how long InfluxDB needs to keep the data and delete data older than the defined duration. Based on our extensive testing, we have found that the total number of real-time events that occur in a typical indoor setting is not large enough, and hence takes less storage space, than originally expected. Thus, there is an unlimited retention policy defined in order to maintain full resolution of real-time data and preserve all historic data. On the other hand, interval-based data is stored at 1 min intervals, with a retention policy of one year. This data is also averaged every 15 min and 1 h, and stored in separate databases with unlimited retention policies, which allow for extremely fast querying of historical data over one year old and minimizes storage space in cloud-based applications.
While using Brood is not required for a local, offline deployment, it is recommended for long-term data storage, visualization and analysis. This offloads the computational work from the Raspberry Pi onto a dedicated system and allows for a more reliable data storage solution. With the flexibility of Brood, it can either be installed on a typical desktop PC for local access, or on a dedicated AWS instance for remote access over the internet and for high scalability and redundancy.

3.3. Data Visualization

Elemental provides two sources of data visualization: (1) a local GUI running on the Raspberry Pi backhaul, and (2) a cloud-based GUI running in Brood. The local GUI consists of a front-end dashboard written in Elm language. Elm is an open-source functional language for web-based applications. It is designed for simplicity and speed and has an extremely small footprint, which allows deployments on embedded hardware such as Raspberry Pis. It generates JavaScript for applications with no runtime errors and faster performance than other frameworks such as React, Angular, and Ember [50]. The dashboard is designed to be responsive, which allows it to work on mobile devices, laptops, and screens of any size. Figure 6 shows screenshots of the dashboard as viewed on a mobile phone.
The dashboard consists of graphs and histograms for each device type. This allows real-time monitoring of data from every single device on the network. The dashboard also allows controls for various IoT devices such as smart bulbs and media players, but also for various building systems such as thermostats and custom control nodes. For commercial deployments, Elemental provides a cloud-based solution for data monitoring through Brood, as explained in Section 3.2. Data visualization is done using Grafana, a leading open-source software for real-time data monitoring and time series analytics [51]. Grafana has been successfully used in air quality monitoring [52,53] and in energy monitoring in buildings [54]. Grafana uses the InfluxDB database in Brood as the data source and also exposes HTTP APIs to allow secure and easy retrieval of data for analysis without affecting the main database. Grafana also contains an administration interface for configuration of devices, as well as a user and organization management interface. This allows customized data access for users, depending on the application.

4. Results and Discussion

Three distinct applications of the Elemental platform are demonstrated here, including: (1) deployment in a research laboratory for long-term data collection and analysis, (2) a full-home monitoring solution, and (3) fault and anomaly detection and diagnostics of individual building systems at the zone-level.

4.1. Long-Term Data Collection and Analysis

Elemental has been deployed in a ~90 m2 research lab and office space on the campus of Illinois Institute of Technology for over 16 months, capturing data from various sensors placed around an academic building and logging at 1 min intervals. The backend exposes an HTTP API that allows various types of datasets to be extracted and analysed using simple queries to the server. Using this API, around 12 months of temperature, relative humidity, CO2 concentration, and occupancy data were extracted from the office space. The frequency distributions of 15 min averages of temperature, relative humidity, and CO2 concentration data from this deployment are shown in Figure 7a–c, respectively, along with a battery voltage profile of one of the sensor nodes (i.e., from Figure 2a) used in the deployment in Figure 7d.
The frequency distributions show a wide range of indoor environmental conditions measured in the research lab, which is housed in an older academic building (built in 1946) and commonly experiences large swings in temperatures and relative humidity. In fact, temperatures ranged from a minimum of 15 °C to a maximum of 29 °C, with the bulk of the data ranging between 22 °C and 26 °C. Similarly, relative humidity ranged from a minimum of <10% to a maximum of 65%, with a bimodal distribution with one group centered around 20–35% and another centered around 50%, which represents winter and summer seasons, respectively. The vast majority of CO2 concentrations ranged 400–500 ppm, albeit with transient peaks as high as 1300 ppm. The sensor node shown in Figure 7d was powered using a rechargeable 1200 mAh lithium ion polymer battery and had a battery life of almost 8 months. A larger capacity battery (e.g., 2000 mAh) would extend its lifetime to well over one year. Additionally, exposure to some relatively large temperature changes (i.e., Figure 7a) is expected to have negatively affected battery performance.
The same indoor temperature, relative humidity, and CO2 concentration data from Figure 7 are also summarized on a monthly basis and shown in Figure 8a–c, respectively, along with weekly averaged occupancy data (measured using a PIR sensor node from Figure 2b) in the same space over the same period of time in Figure 8d. The general trends of indoor temperature and relative humidity clearly correlate to the seasonal changes in outdoor weather in Chicago, with November-April being the cold and dry months and May-October being warmer and more humid months. Mean indoor CO2 levels also correlate with occupancy (to some extent) and weather patterns (to a greater extent), which is consistent with the fact that the rooftop air handling unit, which provides only cooling and ventilation (but not heating), generally only operates in warmer months. During colder months, the building is heated by a steam radiator system and relies on infiltration for ventilation air. Weekly occupancy levels show typical activity in the office space during the year, with peak activity during the Spring and Fall semesters, and less frequent periods of high activity during the summer semester as students leave for vacation. Combined, the data in Figure 7 and Figure 8 demonstrate the utility of the Elemental platform in reliably collecting large amounts of indoor environmental data that can help better understand the spaces in which people live and work.
Additionally, since InfluxDB is specifically designed for handling time-series data, querying this amount of data is relatively quick, even on a slower spinning hard drive. This allows for fast data analysis when needed. An example of such data analysis is shown in Figure 9a. From the raw time-series data summarized in Figure 7, around three months (Feb-May) of daily CO2 data was extracted and shown in Figure 9a, with the blue line indicating the average diurnal CO2 trend during this time period. Next, a Python script was written to automatically analyse the data and extract the natural decay of built-up CO2 (generated by occupants) at the end of every day (Figure 9b). Air change rates (ACRs), or the rate of turnover or dilution of indoor air, from these decay data are then automatically calculated and plotted in Figure 9c. The trend in ACRs over this time period indicates their correlation with varying indoor-outdoor temperature differences as the weather changes from winter to spring, which is consistent with indoor/outdoor temperature differences and varying wind conditions as key driving forces of air infiltration in buildings [55]. This is just one example of how the Elemental platform can be used to collect large amounts of time-series data over long periods of time and how the data can be accessed for analysis and generation of useful information.

4.2. Full-Home Monitoring Solution

Elemental has also been deployed simultaneously in several apartments and homes around the city of Chicago, IL USA. To demonstrate the effectiveness of the platform, a full suite of hardware devices was provided to each resident. This included an air quality sensor (i.e., from Figure 2e), an energy monitor (RAVEn USB adapter, Rainforest Automation, Vancouver, BC, Canada, shown connected to the Raspberry Pi in Figure 4), wireless thermostat (Radio Thermostat CT50), a weather station (Ambient Weather WS-1000) and a Raspberry Pi backhaul. Figure 10a shows an overview of the data collected, including temperature, humidity, IEQ, barometric pressure, wind speed, solar radiation, rain fall, and energy usage, over a week in Grafana. Grafana also allows custom alerts to be set based on threshold values of measurements. The residents had individual access to data and providing them with insight about their homes led to increased awareness of poor air quality along with habits that lead to increased energy usage. Figure 10b shows eight months (August-March) of energy trends extracted from four apartments (each with areas between 100–180 m2). Some apartments showed typical energy use trends with higher energy consumption during summer and lower during winter due to reduced usage of forced air cooling as the weather changes, while others showed slightly higher energy usage in winter months, presumably due to increased usage of electric heating systems and artificial lighting during colder and shorter days.

4.3. Fault and Anomaly Detection and Diagnostics

Finally, the Elemental platform was also deployed in several additional faculty, staff, and student offices, classrooms, and conference rooms in the same university building at the Illinois Institute of Technology that was described in Section 4.1. Over 75 custom sensor PCBs, as shown previously, were deployed throughout these spaces to monitor indoor air quality and building system and thermal performance at the individual zone-level, including temperature sensors installed on the surface of steam radiators in each room to indicate utilization of the manually-controlled heating systems in each location. The data were also wirelessly transmitted to a local deployment of Brood in the previously described research laboratory space. Due to the availability of high-resolution data from the platform, the performance of each individual radiator could be analysed immediately with the intent of detection faults or anomalies in heating system performance. Figure 11 shows an example of 1 week of radiator surface temperature data that was monitored in several of these rooms.
The arrows indicate those rooms where despite the control being shut off, the radiator temperature was significantly higher than room temperature, where all others dropped down to the ambient room temperature (denoted by the red arrows in Figure 11). Discovery of this anomaly, which was made feasible by the platform, led to a visual inspection of these outlier rooms that subsequently allowed for identification of faulty steam valves at those individual radiators that did not fully close and consequently leaked steam continuously, providing heat during all periods of the day and night even if occupants set their manual controls to the ‘off’ position. Identifying this fault allowed the maintenance team to immediately rectify the issue and save energy from being wasted further. Numerous other fault detection applications in various other building systems are possible in real-time with the use of the Elemental platform.
Additionally, this more widespread deployment also allowed for better understanding of potential data transmission, congestion, and packet loss issues. The only losses of data packets that occurred during this deployment were from those sensor nodes that were farthest from the gateway with numerous walls in between and that were most influenced by environmental conditions (e.g., the sensor nodes placed closest to the uninsulated brick exterior walls where extreme temperature changes occur during some very cold days in winter, which affected transmission performance). Fortunately, if delays or dropped data are experienced in a setup, more backhauls can easily be added.

5. Conclusions

Low cost sensor platforms play an important role in ubiquitous monitoring in various applications. This paper successfully demonstrates the use of low-cost open-source hardware and software to provide a comprehensive building monitoring solution. The Elemental platform is built from the ground up to address drawbacks of other similar platforms in terms of security, data storage, flexibility, deployment and low-power hardware. The platform also solves issues related to data-logging in scientific research projects which include limited storage, disaggregation of data, frequent check-ups to verify functionality, and others. It also aims to assist in easy data extraction of long-term data. The platform demonstrated here allows easy and virtually unlimited datalogging, monitoring, and analysis of real-time sensor data with minimal setup costs. Low-power sensor nodes placed in abundance in a building can also provide precise and immediate fault-detection, allowing for tuning equipment for more efficient operation and faster maintenance during the lifetime of the building. Smarter HVAC, VAV, and fan control is also possible with instant localized feedback from building zones, allowing for better thermal comfort and energy savings. For commercial installations we are also working on integrating BACnet and Modbus protocols that can communicate with existing HVAC systems. Due to the flexibility and cost-effectiveness of the platform, it can even enable large scale research studies involving indoor environmental quality, building energy performance, or city-wide traffic, air quality, and pedestrian tracking. The platform also enables long-term remote monitoring in those areas where physically accessing the sensor nodes repeatedly is not always practical. This opens the possibilities to allow air quality and environmental monitoring in underdeveloped areas of cities or in warehouses and storages. With the exponential development of Micro-Electromechanical Systems (MEMS) technologies in the last few decades, miniature pressure sensors, fluid accelerators, micro-scale energy harvesting devices and various other MEMS-based sensors can be directly be integrated with building mechanical, electrical and plumbing systems to provide real-time feedback where none was available before.

Author Contributions

Conceptualization, A.S.A., C.C. and B.S.; Methodology, A.S.A. and C.C.; Software, C.C. and A.S.A.; Validation, A.S.A., M.H. and B.S.; Formal Analysis, A.S.A., M.H. and B.S.; Investigation, A.S.A., M.H., B.S.; Resources, B.S.; Data Curation, A.S.A.; Writing—Original Draft Preparation, A.S.A.; Writing—Review & Editing, B.S. and M.H.; Visualization, A.S.A.; Supervision, B.S. and M.H.; Project Administration, B.S., M.H.; Funding Acquisition, B.S.

Funding

This work was funded by Franklin Energy, by an ASHRAE New Investigator Award to Brent Stephens, and by an ASHRAE New Investigator Award to Mohammad Heidarinejad.

Acknowledgments

We are grateful to the Center for REALTOR Technology (CRT) Labs team for facilitating and accelerating the development of this platform and providing technical support when needed. We are also grateful to several colleagues and friends who contributed to this work over the past few years including Christopher Riley, Erica Acton, Parham Azimi, Torkan Fazli, Dan Zhao, Haoran Zhao, Afshin Faramarzi, Amjad Ali, Shaeq Khan, Muneeb Saeed, and many others.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. ASHRAE. Performance Measurement Protocols for Commercial Buildings; ASHRAE: Atlanta, GA, USA, 2010. [Google Scholar]
  2. Heinzerling, D.; Schiavon, S.; Webster, T.; Arens, E. Indoor environmental quality assessment models: A literature review and a proposed weighting and classification scheme. Build. Environ. 2013, 70, 210–222. [Google Scholar] [CrossRef] [Green Version]
  3. Ahmad, M.W.; Mourshed, M.; Mundow, D.; Sisinni, M.; Rezgui, Y. Building energy metering and environmental monitoring – A state-of-the-art review and directions for future research. Energy Build. 2016, 120, 85–102. [Google Scholar] [CrossRef]
  4. Ramos, T.; Stephens, B. Tools to improve built environment data collection for indoor microbial ecology investigations. Build. Environ. 2014, 81, 243–257. [Google Scholar] [CrossRef] [Green Version]
  5. Jia, M.; Komeily, A.; Wang, Y.; Srinivasan, R.S. Adopting Internet of Things for the development of smart buildings: A review of enabling technologies and applications. Autom. Constr. 2019, 101, 111–126. [Google Scholar] [CrossRef]
  6. Ferdoush, S.; Li, X. Wireless Sensor Network System Design Using Raspberry Pi and Arduino for Environmental Monitoring Applications. Procedia Comput. Sci. 2014, 34, 103–110. [Google Scholar] [CrossRef] [Green Version]
  7. Karami, M.; McMorrow, G.V.; Wang, L. Continuous monitoring of indoor environmental quality using an Arduino-based data acquisition system. J. Build. Eng. 2018, 19, 412–419. [Google Scholar] [CrossRef]
  8. Peng, C.; Qian, K.; Wang, C. Design and Application of a VOC-Monitoring System Based on a ZigBee Wireless Sensor Network. IEEE Sens. J. 2015, 15, 2255–2268. [Google Scholar] [CrossRef]
  9. Abraham, S.; Li, X. Design of A Low-Cost Wireless Indoor Air Quality Sensor Network System. Int. J. Wirel. Inf. Netw. 2016, 23, 57–65. [Google Scholar] [CrossRef]
  10. Bhunia, S.S.; Roy, S.; Mukherjee, N. IEMS: Indoor environment monitoring system using ZigBee wireless sensor network. In Proceedings of the 2011 International Conference on Communication, Computing & Security—ICCCS ’11, Rourkela, Odisha, India, 12–14 February 2011; ACM Press: Rourkela, Odisha, India, 2011; p. 142. [Google Scholar]
  11. du Plessis, R.; Kumar, A.; Hancke, G.; Silva, B. A wireless system for indoor air quality monitoring. In Proceedings of the IECON 2016—42nd Annual Conference of the IEEE Industrial Electronics Society, Florence, Italy, 23–26 October 2016; IEEE: Florence, Italy, 2016; pp. 5409–5414. [Google Scholar]
  12. Kumar, P.; Martani, C.; Morawska, L.; Norford, L.; Choudhary, R.; Bell, M.; Leach, M. Indoor air quality and energy management through real-time sensing in commercial buildings. Energy Build. 2016, 111, 145–153. [Google Scholar] [CrossRef]
  13. Kumar, P.; Skouloudis, A.N.; Bell, M.; Viana, M.; Carotta, M.C.; Biskos, G.; Morawska, L. Real-time sensors for indoor air monitoring and challenges ahead in deploying them to urban buildings. Sci. Total Environ. 2016, 560–561, 150–159. [Google Scholar] [CrossRef]
  14. Huang, Y.; Hu, L.; Yang, D.; Liu, H. Air-Sense: Indoor environment monitoring evaluation system based on ZigBee network. IOP Conf. Ser. Earth Environ. Sci. 2017, 81, 012208. [Google Scholar] [CrossRef]
  15. Kim, J.-J.; Jung, S.K.; Kim, J.T. Wireless Monitoring of Indoor Air Quality by a Sensor Network. Indoor Built Environ. 2010, 19, 145–150. [Google Scholar] [CrossRef]
  16. Brunelli, D.; Minakov, I.; Passerone, R.; Rossi, M. POVOMON: An Ad-hoc Wireless Sensor Network for indoor environmental monitoring. In Proceedings of the 2014 IEEE Workshop on Environmental, Energy, and Structural Monitoring Systems Proceedings, Naples, Italy, 17–18 September 2014; IEEE: Naples, Italy, 2014; pp. 1–6. [Google Scholar]
  17. Jang, W.-S.; Healy, W.M.; Skibniewski, M.J. Wireless sensor networks as part of a web-based building environmental monitoring system. Autom. Constr. 2008, 17, 729–736. [Google Scholar] [CrossRef]
  18. Ali, A.S.; Zanzinger, Z.; Debose, D.; Stephens, B. Open Source Building Science Sensors (OSBSS): A low-cost Arduino-based platform for long-term indoor environmental data collection. Build. Environ. 2016, 100, 114–126. [Google Scholar] [CrossRef] [Green Version]
  19. Weekly, K.; Jin, M.; Zou, H.; Hsu, C.; Soyza, C.; Bayen, A.; Spanos, C. Building-in-Briefcase: A Rapidly-Deployable Environmental Sensor Suite for the Smart Building. Sensors 2018, 18. [Google Scholar] [CrossRef] [PubMed]
  20. Minoli, D.; Sohraby, K.; Occhiogrosso, B. IoT Considerations, Requirements, and Architectures for Smart Buildings—Energy Optimization and Next-Generation Building Management Systems. IEEE Internet Things J. 2017, 4, 269–283. [Google Scholar] [CrossRef]
  21. rosetta-home/rosetta_home. Rosetta Home 2.0 Is an Open Source Building Performance Monitoring Platform. Available online: https://github.com/rosetta-home/rosetta_home (accessed on 21 May 2019).
  22. Castell, N.; Dauge, F.R.; Schneider, P.; Vogt, M.; Lerner, U.; Fishbain, B.; Broday, D.; Bartonova, A. Can commercial low-cost sensor platforms contribute to air quality monitoring and exposure estimates? Environ. Int. 2017, 99, 293–302. [Google Scholar] [CrossRef] [PubMed]
  23. Bamodu, O.; Xia, L.; Tang, L. An indoor environment monitoring system using low-cost sensor network. Energy Procedia 2017, 141, 660–666. [Google Scholar] [CrossRef]
  24. Bagula, A.; Zennaro, M.; Inggs, G.; Scott, S.; Gascon, D. Ubiquitous Sensor Networking for Development (USN4D): An Application to Pollution Monitoring. Sensors 2012, 12, 391–414. [Google Scholar] [CrossRef] [Green Version]
  25. Salamone, F.; Belussi, L.; Danza, L.; Ghellere, M.; Meroni, I. Design and Development of nEMoS, an All-in-One, Low-Cost, Web-Connected and 3D-Printed Device for Environmental Analysis. Sensors 2015, 15, 13012–13027. [Google Scholar] [CrossRef]
  26. Camprodon, G.; González, Ó.; Barberán, V.; Pérez, M.; Smári, V.; de Heras, M.Á.; Bizzotto, A. Smart Citizen Kit and Station: An open environmental monitoring system for citizen participation and scientific experimentation. HardwareX 2019, 6, e00070. [Google Scholar] [CrossRef]
  27. Pocero, L.; Amaxilatis, D.; Mylonas, G.; Chatzigiannakis, I. Open source IoT meter devices for smart and energy-efficient school buildings. HardwareX 2017, 1, 54–67. [Google Scholar] [CrossRef]
  28. Trilles, S.; Luján, A.; Belmonte, Ó.; Montoliu, R.; Torres-Sospedra, J.; Huerta, J. SEnviro: A Sensorized Platform Proposal Using Open Hardware and Open Standards. Sensors 2015, 15, 5555–5582. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  29. Rusu, F. Wireless Programming Library and Example Code for Moteino: LowPowerLab/WirelessProgramming; LowPowerLab, LLC: Canton, MI, USA, 2019. [Google Scholar]
  30. ProQuest. Open Source Building Science Sensors (OSBSS): A Low-Cost Arduino-Based Platform for Long-Term Data Collection in Indoor Environments. Available online: https://search.proquest.com/openview/3f389675a54bfc 30a817aecf6970cee2/ (accessed on 14 September 2019).
  31. Zheng, T.; H. Bergin, M.; Johnson, K.; Tripathi, S.; Shirodkar, S.; Landis, M.; Sutaria, R.; E. Carlson, D. Field evaluation of low-cost particulate matter sensors in high- and low-concentration environments. Atmospheric Meas. Tech. 2018, 11, 4823–4846. [Google Scholar] [CrossRef] [Green Version]
  32. HOPE Microelectronics. RFM69W,RF Transceiver: FSK Modulation. Available online: http://www.hoperf.de/ rf/module/fsk/RFM69W.htm (accessed on 4 June 2019).
  33. OSH Park. Available online: https://oshpark.com/ (accessed on 1 August 2019).
  34. Rusu, F. RFM69 library for RFM69W, RFM69HW, RFM69CW, RFM69HCW (Semtech SX1231, SX1231H): LowPowerLab/RFM69; LowPowerLab, LLC: Canton, MI, USA, 2019. [Google Scholar]
  35. SparkFun Electronics. Pocket AVR Programmer—PGM-09825. Available online: https://www.sparkfun.com/ products/9825 (accessed on 22 July 2019).
  36. Tag Connect. TC2030-IDC-NL. Available online: http://www.tag-connect.com/node/36 (accessed on 22 July 2019).
  37. Elemental-Platform. Available online: https://github.com/elemental-platform (accessed on 16 August 2019).
  38. Smartbedded. Meteostick. Available online: https://www.smartbedded.com/wiki/index.php/Meteostick (accessed on 4 June 2019).
  39. Nerves Project. Craft and Deploy Bulletproof Embedded Software in Elixir. Available online: https://nerves-project.org/ (accessed on 4 June 2019).
  40. Enterprise Container Platform | Docker. Available online: https://www.docker.com/ (accessed on 4 June 2019).
  41. MQTT. Available online: http://mqtt.org/ (accessed on 18 September 2019).
  42. Chooruang, K.; Mangkalakeeree, P. Wireless Heart Rate Monitoring System Using MQTT. Procedia Comput. Sci. 2016, 86, 160–163. [Google Scholar] [CrossRef] [Green Version]
  43. Barata, D.; Louzada, G.; Carreiro, A.; Damasceno, A. System of Acquisition, Transmission, Storage and Visualization of Pulse Oximeter and ECG Data Using Android and MQTT. Procedia Technol. 2013, 9, 1265–1272. [Google Scholar] [CrossRef]
  44. Kashyap, M.; Sharma, V.; Gupta, N. Taking MQTT and NodeMcu to IOT: Communication in Internet of Things. Procedia Comput. Sci. 2018, 132, 1611–1618. [Google Scholar] [CrossRef]
  45. Company, O.L.A.-T.V. VerneMQ—A MQTT Broker That Is Scalable, Enterprise Ready, and Open Source. Available online: https://vernemq.com/ (accessed on 4 June 2019).
  46. InfluxData. Scalable Datastore for Metrics, Events, and Real-Time Analytics: Influxdata/Influxdb; InfluxData Inc.: San Francisco, CA, USA, 2019. [Google Scholar]
  47. Balis, B.; Bubak, M.; Harezlak, D.; Nowakowski, P.; Pawlik, M.; Wilk, B. Towards an operational database for real-time environmental monitoring and early warning systems. Procedia Comput. Sci. 2017, 108, 2250–2259. [Google Scholar] [CrossRef]
  48. Sun, A.Y.; Zhong, Z.; Jeong, H.; Yang, Q. Building complex event processing capability for intelligent environmental monitoring. Environ. Model. Softw. 2019, 116, 1–6. [Google Scholar] [CrossRef]
  49. Chen, Y.; Han, D. Water quality monitoring in smart city: A pilot project. Autom. Constr. 2018, 89, 307–316. [Google Scholar] [CrossRef] [Green Version]
  50. Elm—A Delightful Language for Reliable Webapps. Available online: https://elm-lang.org (accessed on 4 June 2019).
  51. Grafana—The Open Platform for Analytics and Monitoring. Available online: https://grafana.com (accessed on 4 June 2019).
  52. Velicka, J.; Pies, M.; Hajovsky, R. Wireless Measurement of Carbon Dioxide by use of IQRF Technology. IFAC-Pap. 2018, 51, 78–83. [Google Scholar] [CrossRef]
  53. Min, K.T.; Lundrigan, P.; Sward, K.; Collingwood, S.C.; Patwari, N. Smart home air filtering system: A randomized controlled trial for performance evaluation. Smart Health 2018, 9–10, 62–75. [Google Scholar] [CrossRef]
  54. Almeida, F.; Assunção, M.D.; Barbosa, J.; Blanco, V.; Brandic, I.; Da Costa, G.; Dolz, M.F.; Elster, A.C.; Jarus, M.; Karatza, H.D.; et al. Energy monitoring as an essential building block towards sustainable ultrascale systems. Sustain. Comput. Inform. Syst. 2018, 17, 27–42. [Google Scholar] [CrossRef] [Green Version]
  55. Wallace, L.A.; Emmerich, S.J.; Howard-Reed, C. Continuous measurements of air change rates in an occupied house for 1 year: The effect of temperature, wind, fans, and windows*. J. Expo. Sci. Environ. Epidemiol. 2002, 12, 296–306. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. (a) Block diagram illustrating components in a basic wireless sensor/control node, (b) network architecture of a typical wireless sensor network.
Figure 1. (a) Block diagram illustrating components in a basic wireless sensor/control node, (b) network architecture of a typical wireless sensor network.
Sensors 19 04017 g001
Figure 2. Low-power wireless sensor nodes measuring (a) temperature, relative humidity, and light intensity, (b) motion/room occupancy, (c) door/window opening, and (d) CO2 concentration; (e) an IAQ monitor with extended capabilities; and (f) USB gateway receiver for all wireless sensor nodes.
Figure 2. Low-power wireless sensor nodes measuring (a) temperature, relative humidity, and light intensity, (b) motion/room occupancy, (c) door/window opening, and (d) CO2 concentration; (e) an IAQ monitor with extended capabilities; and (f) USB gateway receiver for all wireless sensor nodes.
Sensors 19 04017 g002
Figure 3. Various components of a typical wireless sensor node (in this case, the node is the same as in Figure 2a and includes temperature, relative humidity, and light sensors).
Figure 3. Various components of a typical wireless sensor node (in this case, the node is the same as in Figure 2a and includes temperature, relative humidity, and light sensors).
Sensors 19 04017 g003
Figure 4. Raspberry Pi backhaul with gateways to connect with various wireless devices.
Figure 4. Raspberry Pi backhaul with gateways to connect with various wireless devices.
Sensors 19 04017 g004
Figure 5. Elemental platform firmware architecture.
Figure 5. Elemental platform firmware architecture.
Sensors 19 04017 g005
Figure 6. Various screens of the Elemental local dashboard running on a Raspberry Pi.
Figure 6. Various screens of the Elemental local dashboard running on a Raspberry Pi.
Sensors 19 04017 g006
Figure 7. Histograms showing frequency distributions of 15-min averages of indoor (a) temperature, (b) relative humidity, and (c) CO2 concentration, and (d) initial battery life (voltage over time) for a sensor node deployed in a research lab and office space for ~12 months.
Figure 7. Histograms showing frequency distributions of 15-min averages of indoor (a) temperature, (b) relative humidity, and (c) CO2 concentration, and (d) initial battery life (voltage over time) for a sensor node deployed in a research lab and office space for ~12 months.
Sensors 19 04017 g007
Figure 8. Annual trends showing monthly (a) temperature, (b) relative humidity, (c) CO2 concentration, and (d) weekly occupancy percentage in a research lab and student office space in an academic building.
Figure 8. Annual trends showing monthly (a) temperature, (b) relative humidity, (c) CO2 concentration, and (d) weekly occupancy percentage in a research lab and student office space in an academic building.
Sensors 19 04017 g008
Figure 9. Data from the Elemental platform deployed in an academic lab and office space showing (a) daily CO2 concentrations, (b) extracted natural CO2 decay curves, and (c) air change rates calculated from the decay curves each day, plotted versus time.
Figure 9. Data from the Elemental platform deployed in an academic lab and office space showing (a) daily CO2 concentrations, (b) extracted natural CO2 decay curves, and (c) air change rates calculated from the decay curves each day, plotted versus time.
Sensors 19 04017 g009
Figure 10. (a) Grafana—data monitoring platform in Brood used for monitoring air quality, energy and building systems in a residential setting and (b) 8 months of weekly energy consumption data in four apartments.
Figure 10. (a) Grafana—data monitoring platform in Brood used for monitoring air quality, energy and building systems in a residential setting and (b) 8 months of weekly energy consumption data in four apartments.
Sensors 19 04017 g010
Figure 11. One week of radiator surface temperature data revealed a fault in the system (red arrows). Lines labeled A through G indicate individual radiators, each in separate rooms in the building.
Figure 11. One week of radiator surface temperature data revealed a fault in the system (red arrows). Lines labeled A through G indicate individual radiators, each in separate rooms in the building.
Sensors 19 04017 g011
Table 1. List of components in the Elemental wireless sensor board family.
Table 1. List of components in the Elemental wireless sensor board family.
ComponentsPart NumberUnit Cost (USD)
Common parts
 MicroprocessorMicrochip ATmega328P$2
 Voltage regulatorMCP1703-3.3 V$0.50
 RadioRFM69HCW-915 FSK Transceiver$4
 SwitchMMBT3904 NPN transistor$0.10
 BatteryLithium-Ion polymer (1200 mAh)$5
Sensors
 Temperature & humiditySensirion SHT31$6
 LightAMS TSL2591$2
 MotionParallax mini PIR sensor$10
 Door/Window openingSoway NO Reed switch$0.50
 Carbon DioxideSenseAir S8$85
 TVOCSensirion SGP30$12
 PM2.5 and PM10Plantower PMS7003$15
 Barometric PressureBosch BMP388$3
 Surface temperatureUS sensors PR103J2 precision thermistor$6
Other components
 USB interfaceFTDI FT231XQ USB 2.0 full speed IC$2
 Flash memoryWindbond 4mbit W25 × 40CLSNIG$0.40
 Coil antenna915 MHz helical coil antenna$0.10
Rubber ducky antenna915 MHz 3dBi SMA antenna$2.50
Table 2. Total unit cost of Elemental wireless sensor family and backhaul.
Table 2. Total unit cost of Elemental wireless sensor family and backhaul.
Board TypeUnit Cost (USD)
Elemental wireless sensor boards
 Temperature, relative humidity, light intensity node$15
 Occupancy/motion node$20
 Door/window node$10
 CO2 concentration node$40
 All-in-one IAQ node$85
 Wireless USB Gateway$10
Backhaul (including supported USB gateways)
 Raspberry Pi 3B+$35
 Rainforest Automation RAVEn USB adapter$40
 Smartbedded Meteostick$178
Table 3. Comparative unit and total cost of deployment of existing commercially available wireless solutions versus the Elemental wireless sensor family.
Table 3. Comparative unit and total cost of deployment of existing commercially available wireless solutions versus the Elemental wireless sensor family.
NameUnit Cost (USD)Total Kit Cost (USD)
SensorGateway
Onset HOBO ZW Series wireless monitoring kit (3 sensors, 1 gateway)$274$219$989
Monnit Wi-Fi temperature monitoring bundle (3 sensors)$159-$487
TempGenius complete 5 sensor system--$1,899
Lascar EL-WiFi-TH-Plus (3 sensors)$200-$600
Elemental wireless T/RH/Light 5 sensor kit$15$45$120

Share and Cite

MDPI and ACS Style

Ali, A.S.; Coté, C.; Heidarinejad, M.; Stephens, B. Elemental: An Open-Source Wireless Hardware and Software Platform for Building Energy and Indoor Environmental Monitoring and Control. Sensors 2019, 19, 4017. https://doi.org/10.3390/s19184017

AMA Style

Ali AS, Coté C, Heidarinejad M, Stephens B. Elemental: An Open-Source Wireless Hardware and Software Platform for Building Energy and Indoor Environmental Monitoring and Control. Sensors. 2019; 19(18):4017. https://doi.org/10.3390/s19184017

Chicago/Turabian Style

Ali, Akram Syed, Christopher Coté, Mohammad Heidarinejad, and Brent Stephens. 2019. "Elemental: An Open-Source Wireless Hardware and Software Platform for Building Energy and Indoor Environmental Monitoring and Control" Sensors 19, no. 18: 4017. https://doi.org/10.3390/s19184017

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop