Ethan
(Ethan)
July 22, 2022, 6:50pm
7
Good question. All of the relevant data from this document can now be found in the community forums at the following links (all that is excluded is how to use ThingSpeak and the JSON URLs).
https://api.purpleair.com/
This method of downloading data is no longer available. We have created a new download tool that uses the PurpleAir API. More information is available here: PurpleAir Data Download Tool .
The “Sensor data download tool” page allows users to download PurpleAir sensor data. You can read about how to access this tool here . Depending on how this page was accessed, there will be a vertical list of at least one sensor that you can download data from. Each sensor has two channels (A and B). Each chann…
The following items written in bold are the headers of the SD card data that PurpleAir sensors log. What follows are their descriptions.
UTCDateTime : The Date and time derived from the Real-Time Clock and synced with NTP where possible (in UTC).
mac_address : The Date and time derived from the Real-Time Clock and synced with NTP where possible (in UTC).
firmware_ver : Firmware version of the control board.
hardware : Hardware type the control board has detected.
current_temp_f : Current te…
The following code is used to calculate the US EPA PM2.5 AQI from a Raw PM 2.5 value. It is written in JavaScript. The US EPA PM2.5 AQI is calculated using the EPA’s breakpoints as described in this link: AQI Breakpoints | Air Quality System | US EPA . The AQI equation can be found on here: https://forum.airnowtech.org/t/the-aqi-equation/169 .
var AQI = aqiFromPM(pm25value);
function aqiFromPM(pm) {
if (isNaN(pm)) return "-";
if (pm == undefined) return "-";
if (pm < 0) return pm;
…
The document will likely stay. We will update it so that links like these will be mentioned near the top or throughout.