Indoor Air Quality Monitoring with Home Assistant or HomeKit

How to monitor indoor air quality in Home Assistant or HomeKit: choosing sensors, pairing them, building a dashboard, and using readings to run simple automations.

7 min read20 viewsIndoor Air Quality Monitoring with Home Assistant or HomeKit
— · 0 votes
Contents
  1. What each monitoring route does
  2. Choosing CO2 and VOC sensors
  3. Pairing sensors with each system
  4. Building an air quality dashboard
  5. Automating ventilation on readings
  6. Placing sensors for useful readings
  7. Keeping readings trustworthy
  8. Questions about indoor air quality monitoring
  9. Can I use an indoor air quality monitor with Home Assistant?
  10. Can I use an indoor air quality monitor with HomeKit?
  11. Do I need both Home Assistant and HomeKit for air quality?
  12. Which sensors measure indoor air quality?
  13. Where should an indoor air quality sensor go?

Indoor air quality monitoring with Home Assistant or HomeKit means pairing sensors for carbon dioxide (CO2), volatile organic compounds (VOC), temperature and humidity, then reading them in one dashboard. Home Assistant accepts sensors from many brands through its integrations, while HomeKit works with sensors built for Apple's smart home system. The readings help you ventilate and automate on evidence instead of guesswork.

  • Pick sensors by the readings you need, not by the app they ship with.
  • Home Assistant can merge sensors from several brands into one air quality dashboard.
  • HomeKit shows and automates only accessories that support HomeKit or Matter.
  • Placement of a sensor decides whether its numbers are useful.
  • Automations should act on sustained readings, not single spikes.

What each monitoring route does

Home Assistant is open smart home software that runs on a small computer in your home and connects devices from many makers. A Home Assistant integration is the add-on that lets the software talk to a brand's sensors or hub. HomeKit is Apple's smart home framework, and it works with accessories designed for it.

The HomeKit route is the simpler of the two when your sensors carry the HomeKit or Matter label. Devices appear in the Apple Home app, and their readings drive scenes and automations there. The Home Assistant route demands a little setup but accepts far more hardware, including Zigbee sensors that need a coordinator.

Both routes can run side by side, because Home Assistant can pass supported accessories into HomeKit. Some households monitor in Home Assistant and check a HomeKit tile for a quick glance. Decide which app you want as your main view before you buy any hardware.

PointHome AssistantHomeKit
Hardware rangeMany brands and protocolsHomeKit or Matter accessories
Setup effortSoftware install and configurationAdd accessory in the Home app
DashboardFully customizableFixed tiles in the Home app
AutomationRules on any sensor valueAutomations and scenes on supported accessories

Choosing CO2 and VOC sensors

A CO2 sensor tells you how well a room is ventilated, because the gas rises when people breathe in a closed space. A VOC sensor responds to gases released by cooking, cleaning products, paints and furnishings. The two measure different problems and answer different questions.

Check how a sensor reports its values before you buy. Some devices send a simple air quality index, while others send raw CO2 in parts per million or VOC in an index scale. Raw values let you set thresholds in Home Assistant, so look for devices that expose them.

Zigbee sensors pair with Home Assistant through a Zigbee coordinator, a small radio stick that links the devices. Battery-powered sensors suit a rental where you cannot run wiring. Mains-powered models avoid battery swaps in a room you monitor all year.

Pairing sensors with each system

Home Assistant pairing starts with the integration for your sensor brand, added from the settings menu. Zigbee devices join through the coordinator, and cloud-based brands ask for an account login. Once the device appears, rename its entities so the dashboard reads clearly.

HomeKit pairing uses the code printed on the sensor or its packaging, entered in the Home app. A Matter sensor pairs in the same app through its own code. Keep the code label after setup, because you need it again if you reset the device.

A sensor that will not pair is often too far from its hub or coordinator. Move the sensor closer during pairing and add a mains-powered Zigbee device between rooms to extend the network. A trained specialist should handle any work inside walls or on fixed wiring.

Building an air quality dashboard

An air quality dashboard gathers the readings from every monitored room onto one screen. In Home Assistant you place gauge or graph cards for CO2, VOC, temperature and humidity side by side. A colored badge for each room makes a high reading visible at a glance.

HomeKit builds its view from accessory tiles, one per sensor, grouped by room. The Home app shows current values, and asking the voice assistant for a room reading works without opening the app. Separate rooms in the app so each tile carries the right name.

Keep the dashboard short and put the rooms you use most at the top. Graphs of the last day reveal patterns such as a CO2 climb during meetings or a VOC rise at cooking time. Patterns like these are what your automations should respond to.

Automating ventilation on readings

A CO2 automation turns on a fan or opens a vent when a room passes a level you set. Set the trigger on a sustained reading over several minutes, so a brief spike does not start the fan. Add a second condition on occupancy if the room is often empty.

VOC automations suit kitchens and rooms where cleaning happens. A rising VOC index can start an extractor fan or send a reminder to open a window. The same reading can pause a diffuser or a scented product until the air clears.

HomeKit automations can switch a connected fan when a HomeKit sensor reports a value. Home Assistant rules reach further, because they can compare sensors from different brands in one condition. Keep a manual switch for every fan so anyone can run it without the app.

Placing sensors for useful readings

A sensor measures the air around it, so placement decides what its numbers mean. Mount a CO2 sensor at breathing height in the room you occupy, away from windows and doors. A sensor above a radiator or in direct sun reads warmer air than the room holds.

Kitchen VOC sensors belong away from the hob but within reach of cooking fumes. A sensor right beside a toaster will alarm on every slice, while one across the room reacts too slowly. Test a position for a few days before you trust its readings.

Bedroom monitoring works well at pillow height on a shelf, where exhaled air collects overnight. Keep sensors out of closed cupboards, because trapped air tells you nothing about the room. Label each device with its room so the dashboard stays readable.

Keeping readings trustworthy

Sensor readings drift over time, so each device needs attention at the interval its maker states. Many CO2 sensors offer a calibration routine that you run in fresh outdoor air. Follow the maker's instructions rather than assuming a fixed schedule.

Dust on the intake slows a sensor and can skew its values. Wipe the vents with a dry cloth when you clean the room, and keep the device away from sprays and polish. A sensor that stops reporting often needs a battery or a fresh pairing.

Compare a room sensor against a second device now and then, because a large gap points to a fault. Label readings with their room and device name so a bad value is easy to trace. Reliable monitoring comes from steady placement and basic upkeep.

Questions about indoor air quality monitoring

Can I use an indoor air quality monitor with Home Assistant?

Yes, Home Assistant works with many indoor air quality monitors through an integration for the brand or through Zigbee. The monitor appears as entities you can show on a dashboard and use in automations. Check that the model exposes the readings you want before you buy it.

Can I use an indoor air quality monitor with HomeKit?

Yes, HomeKit accepts indoor air quality monitors that carry the HomeKit or Matter label. Such a monitor appears in the Home app, where its readings drive scenes and automations. A monitor without that support needs a bridge or a different system.

Do I need both Home Assistant and HomeKit for air quality?

No, one system can run your indoor air quality monitoring on its own. Home Assistant offers the wider hardware range and more detailed dashboards. HomeKit offers a fast setup for accessories built for it, and Home Assistant can pass supported devices into HomeKit if you want both views.

Which sensors measure indoor air quality?

CO2 and VOC sensors cover the two main readings for indoor air quality, with temperature and humidity sensors adding context. A CO2 sensor shows how well a room is ventilated. A VOC sensor responds to gases from cooking, cleaning and furnishings.

Where should an indoor air quality sensor go?

An indoor air quality sensor belongs at breathing height in the room you use, away from windows, doors and heat sources. Kitchens need a spot clear of the hob but near cooking fumes. Test a position for a few days before you rely on its readings.

Read next

Latest articles