Smart Home Air Quality System – SHAQS

When it became clear that New Zealand’s successful elimination strategy was to be replaced with one of mitigation, it also became clear that we needed to understand the ventilation practices in our indoor spaces.

As part of the Ministry of Health fund to improve preparedness for future pandemics, my team set out to characterise the ventilation conditions of multiple indoor spaces in New Zealand. The basic idea was to visit as many indoor spaces as possible, characterise their ventilation performance while in use, provide some information and observe the potential changes to that performance.

The first challenge was that there was no off-the-shelf device that would allow us to measure all the characteristics that we wanted to observe in any indoor space. So, my first task was to develop such a system. The basic requirements were:

  • Measure
  • Capture the level of human activity in the space
  • Observe the openning/closing of windows/doors in the space
  • Provide a means of direct feedback about the quality of the air in the space

On top of these requirements, it was necessary for the system(s) to be managed centrally so that we could tweak them when needed, particularly in the feedback stage of the interventions.

Our response to this challenge was to develop SHAQS (Smart Home Air Quality System), a modular and portable system to quickly characterise the ventilation performance of indoor spaces. The heart and brain of the system is a Raspberry Pi computer running Home Assistant that receives the data transmissions form air quality sensors as well as human presence monitors and door/window opening sensors. The parameters measured are:

  • Motion detection. mmWave radar (Tuya ZigBee Human Presence Detector)
  • Door/Windows opening sensor. Simple Hall sensors with ZigBee connectivity (Tuya ZigBee Door Window sensor)
  • Indoor air quality. The Qingping Air Monitor Lite using BlueTooth connectivity:
    • Photoacoustic sensor – Sensair 41.
    • PM1, PM2.5, PM10. Plantower PMS5003 laser dust sensor.

The data are streamed to an InfluxDB instance with a separate bucket for each SHAQS, as data available locally onboard of each SHAQS only covers the last 48 hours. To generate the automatic reports, we setup Batch jobs in Amazon’s cloud computing platform to run Docker images with R scripts to take the data from the InfluxDB database and generate automatic daily and weekly reports.

Here is a sample of a report to our participants that shows the ventilation conditions (colour scale from Good to Poor) during a week of measurements. Each vertical bar corresponds to a day, from midnight to midnight.

Sample report
Find out more
MoH report, when available
NIWA press release
webinar
AirGrid: Sensor grids to map airborne particulate matter across towns and cities

AirGrid: Sensor grids to map airborne particulate matter across towns and cities

To create a map of air quality across a town or city you used to have spend significant resources setting up and maintaining a sparse air quality monitoring network and then apply uncertain models which rely on emissions data you don’t usually have. But gone are the...

Mapping traffic pollution: Using cheap samplers and semi-empirical modelling to gain insight into how urban planning and design impacts exposure

Mapping traffic pollution: Using cheap samplers and semi-empirical modelling to gain insight into how urban planning and design impacts exposure

The degree to which road traffic pollutes urban air varies hugely, depending how much traffic is nearby. We’ve been mapping traffic pollution in detail across all New Zealand’s towns and cities over the last decade. In doing so we’ve been refining the methods to...

The Air We Share: Helping teachers and students to improve air quality in classrooms

The Air We Share: Helping teachers and students to improve air quality in classrooms

Many teachers know that period 3 brain fog, when the children in front of them slump their shoulders and everything seems harder. It could be stale air. Without good ventilation contaminants can build up, including other people’s breath. And that breath could contain...

West Connex

West Connex

WestConnex: Using monitoring data to understand the impact of new road tunnels on local air quality  Major road tunnels are designed to meet consent conditions that minimize their impact on local air quality. But how can communities be assured they are meeting these...

Community air action (Gore/Milton)

Community air action (Gore/Milton)

Community Air Action: Air quality solutions for homes and communities, and the means to evaluate them Putting another log on the fire keeps many New Zealanders warm on winter nights. But the smoke it creates pollutes many of our towns, causing regular breaches of...

Clearing the air

Clearing the air

Clearing The Air: Helping managers of small businesses and community facilities to improve ventilation Gyms, churches, clinics, daycares, libraries. They all need to ensure safe and healthy air for staff, customers and visitors. But how? Many smaller buildings don’t...