Air Quality Monitoring solution
Air quality control is an important component of modern life, as high levels of pollutants can negatively affect people’s health. Particularly noteworthy are megacities with a large number of cars and industrial areas in which the concentration of pollutants is higher.
We developed the AIR Quality Monitoring template which represents a solution for general air pollution monitoring and provides general recommendations in a user-friendly manner. The main metric for controlling the level of air pollution is AQI. AQI is calculated based on the sensor readings about such pollutants: Ozone (ppm), PM2.5 (µg/m3 ), PM10 (µg/m3 ), CO (ppm), SO2 (ppb), NO2 (ppb); The solution supports sensors that report either all or a subset of the readings. You will also have the opportunity to manage air control stations using the Administration Dashboard.
You can use this solution as a part of a Smart City and cover the all needed requirements.
Solution Structure
As part of this solution, we have created 2 dashboards that display data from multiple sensors - Public Air Quality Monitoring Dashboard and Administration Air Quality Monitoring Dashboard.
The Public Dashboard is designed for end-users. It is configured to be “public”, meaning the end-user does NOT need to log in to access the dashboard. The dashboard has multiple states:
- City state represents the air pollution monitoring of a specific city (in our case Los Angeles) and calculates value based on the AQI received from city sensors.
- Sensor state represents the selected sensor deployed in a particular city district.
Air Quality Monitoring Benefits
Save up to 90% of development time for your air monitoring solution by utilizing the following platform benefits:
- reliable and scalable data collection for your smart monitors;
- powerful rule engine to process collected data and produce alarms and valuable insights;
- advanced and flexible visualization for real-time and historical data;
- customizable end-user dashboards to analyze and share the results of air quality monitoring;
- integration with third-party analytics frameworks and solutions for advanced usage analytics;
- remote control and OTA updates for your smart sensors and other devices;
- customizable mobile applications with minimum coding efforts.
![air quality 1](/images/usecases/air-quality/aq1.png)
![air quality 2](/images/usecases/air-quality/aq2.png)
![air quality 3](/images/usecases/air-quality/aq3.png)
The Administration Dashboard dashboard is designed for tenant administrators to perform basic device management tasks, and has multiple states:
- Main state which is intended for monitoring sensors health: battery level, connectivity, etc. The Main state contains:
- Sensor state allows you to view detailed information about the sensor: It’s latest sensor readings, location, etc.
![air quality 4](/images/usecases/air-quality/aq4.png)
![air quality 5](/images/usecases/air-quality/aq5.png)
ThingsBoard advantages
ThingsBoard supports high-availability deployments on cloud and on-premises data centers using K8S or bare-metal deployments. Platform components are horizontally scalable. ThingsBoard has production deployments with more than 500 000 smart-meters.
Connect devices directly to the platform via the following built-in protocols: HTTP, CoAP, MQTT, LwM2M, and SNMP. Connect devices in your local network to the cloud using ThingsBoard Gateway via Modbus, BLE, BACnet, OPC-UA, and other protocols.
Connect LoRaWAN devices via integrations with standard network servers like TTN, LORIOT, ChirpStack, Actility, etc. Connect SigFox devices via integrations with the SigFox backend.
ThingsBoard supports industry-standard encryption algorithms like RSA and ECDSA to ensure the data is secure during transfer via TLS(TCP) and DTLS (UDP).
ThingsBoard allows you to define application logic with drag-n-drop rule chain designer. The Rule Engine is a robust and scalable processing framework that leverages industry-standard message queue implementations like Apache Kafka or AWS SQS to ensure data durability and guarantee data processing. You are free to process data with the Rule engine or push it to further processing in external systems.
Visualize collected data using rich interactive dashboards. Develop multi-state interactive dashboards with zero coding efforts and built-in charts, gauges, maps, tables, and control widgets. Customize every dashboard aspect using advanced widget settings or even custom widget bundles. Low latency updates are possible with embedded web-sockets support.
Build your own IoT mobile application with minimum coding efforts using ThingsBoard Mobile Application, an open-source project based on Flutter. Leverage a built-in set of mobile actions to take a photo, scan QR code, update location, and more directly within the dashboard.
ThingsBoard provides UI and API to manage tenants, customers, users, devices, and assets. Single tenant may have multiple tenant administrators and millions of devices and customers. It also offers out-of-the-box support of OTA updates for your smart meters.
Air Quality Monitoring solution overview
The diagram below identifies data flow and integration points for a typical air quality monitoring solution that uses the ThingsBoard platform to collect and analyze monitoring data from air stations.
You may notice plenty of connectivity options for the air monitoring stations: direct connection to the cloud, through the IoT Gateway, or an Integration with a third-party system. The platform supports industry-standard encryption algorithms and device credentials types. ThingsBoard stores data in the fault-tolerant and reliable Cassandra database. The Rule Engine enables forwarding incoming data to various analytics systems, such as Apache Spark or Hadoop, using Kafka or other Message buses.