← Project hubAll recipes
Recipe

Show air quality in your building management system

Turn an AXIS D6310 sensor's CO2, particulate and vaping readings into BACnet objects your BMS already understands.

The BACnet Server app with sample data

The situation

Facility teams already watch temperatures, CO2 and alarms in their BMS. The D6310 measures all of that, plus particulates and vaping, but the BMS cannot read it without a gateway. The BACnet Server app makes the sensor show up in the BMS as a normal BACnet device.

What you need

  • An AXIS D6310 Air Quality Sensor (tested on AXIS OS 13.0)
  • A building management system (BMS) that speaks BACnet/IP on the same network
  • A computer with curl to load the ready-made object list

Steps

  1. Download the latest .eap file from the BACnet Server releases and install it on the sensor under Apps.
  2. Open the app and turn the server on. The device instance and name are filled in from the serial number; change them only if your BMS needs specific values. The default port is UDP 47808.
  3. Load the tested object list for the D6310. It creates 16 objects with the right units:
    curl --digest -u USER:PASS -H 'Content-Type: application/json' \
      --data @axis-d6310-air-quality.json \
      http://SENSOR/local/BACnet_Server/api/objects
    Get the file from examples/axis-d6310-air-quality.json.
  4. In the BMS, run device discovery. The sensor appears as a BACnet device; add its objects to your graphics or trends.
  5. Set alarm thresholds (for example CO2 or PM2.5) in the sensor itself. The CO2 and PM2.5 alarm objects follow them.

What you get

ObjectValue
AV 1–3Temperature, humidity, CO2
AV 4–7PM1.0, PM2.5, PM4.0, PM10
AV 8–12VOC index, NOx index, AQI, heat index, humidex
BV 1–4Vaping or smoking, sensor masked, CO2 alarm, PM2.5 alarm

Good to know

  • Values are read-only over BACnet; the BMS cannot change anything on the sensor.
  • BACnet/IP has no authentication. Keep it on the building automation VLAN.
  • Measurements update about once a second, and change-of-value (COV) subscriptions push changes without polling.
  • VOC and NOx are index values, not concentrations.