For a demo of the basic AQ script for the Luftdaten sensor:
This version of the script fetches the last measurement for PM2.5 and PM10 from the Luftdaten database.
And for a more extensive version of the script click here
This script uses all measurements directly from the sensor itself. The sensor will upload all PM values.
The script will calculate current, 24 hour and 7 day 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 Luftdaten sensor go to their site luftdaten.info