Author Topic: Purpleair, another PHP script  (Read 1152 times)

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1960
    • My PWS at Leuven Belgium Europe
Purpleair, another PHP script
« on: July 20, 2018, 10:43:25 AM »
My Purpleair script is available from   Support for the Leuven Scripts   => Menu: Demo - Purpleair.

There are two versions of the script. The basic version uses the data from the PurpleAir database. It displays only PM2.5 for all available times.

The mmore extensive versions uses data directly uploaded from the sensor to ones own webserver. It can therefor display PM1, PM2.5 and PM10 values and calculates the 24 hour values.

The script can use USA AQ calculations, but also European calculations.

This script is not as extensively tested as the other Leuven scripts.  There are only 2 users of the PurpleAir sensor in the area.  But the script is similar to the "Luftdaten sensor" script of which there are dozens of users.

I use both sensors at my personal site :


Offline zmarfak

  • Contributor
  • ***
  • Posts: 125
    • Matar
Re: Purpleair, another PHP script
« Reply #1 on: August 06, 2020, 03:47:26 PM »
Hi Wim,
thank you for the script.
Got my Purple air sensor today and installed everything.
Works nicely [tup]
Davis Vantage Pro2 with a Meteobridge NANO SD and WL (6.04) on a Intel NUC