For a demo of the basic AQ script for the PurpleAir sensor:
This version of the script fetches the last measurement from the PurpleAir database.
The retrieved data contains for multiple time preiods the PM2.5 measuremnts only.
And for a more extensive version of the script Click here
This script uses all measurementsd directly from the sensor itself. The sensor will upload all PM values.
The script will calculate current en 24 hour average values.
You will find the read-me pdf in the download, but you can read it here in a new window also.
For information about the PurpleAir go to their site www.purpleair.com