How to access the CCI air quality data

We have several AirGradient indoor and outdoor air quality sensors at the Greencoat building which log data every 30 seconds via MQTT and is available to students and staff who want to access this data.

MQTT Server

The MQTT server sits at on port 1833.

The read only student username and password can be provided by asking on Slack in the #technical channel.

Data format

The data format is airgradient/readings/(sensor), the sensors is the MAC address and serial number of that location, the locations are:

Example data:


Subscribing to the data

In order to view the data in something like a GUI you need to subscribe with a wildcard such as airgradient/# the default subscription for apps like MQTT Explorer shown below is just # however the permissions of the student account only allow you to view the data inside airgradient, sensors.

If you wanted just 1 sensor, you could subscribe to airgradient/sensors/(sensor) where sensor is one of the sensors listed in the sections above.

Screenshot showing MQTT Explorer sensor data

Revision #2
Created 23 August 2023 14:52:33 by Tom Lynch
Updated 23 August 2023 15:10:59 by Tom Lynch