Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.0 build 3050 - 1 May 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

Sensor PM 2.5 & PM 10 - Purpleair Network www.purpleair.com

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

Post Reply
andrea_iw2ntf
Posts: 6
Joined: Fri 17 Aug 2018 8:11 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Gaggiano - MI - ITA
Contact:

Sensor PM 2.5 & PM 10 - Purpleair Network www.purpleair.com

Post by andrea_iw2ntf » Tue 04 Jun 2019 8:38 pm

Hi everyone, I recently bought a PM 2.5 & PM 10 sensor, which detects the molecular particulate present in the environment, and therefore possible pollution.
The sensor sends to the network purpleair a whole series of data, to populate the databases of their site www.purpleair.com, however the sensor makes available a json file with all the updated data every few seconds. Here is the example:

DateTime "2019/06/04T20:32:47z"
Geo "PurpleAir-aaa3"
Mem 2012
memfrag 16
memfb 17016
memcs 944
Id 681
lat 45.405125
lon 9.035582
Adc 0.01
loggingrate 15
place "outside"
version "4.02"
uptime 361250
rssi -79
period 120
httpsuccess 18158
httpsends 18162
hardwareversion "2.0"
hardwarediscovered "2.0+BME280+PMSX003-B+PMSX003-A"
current_temp_f 80
current_humidity 40
current_dewpoint_f 53
pressure 998.28
pm2.5_aqi_color_b "rgb(199,249,0)"
pm2.5_aqi_b 46
pm1_0_atm_b 8.37
p_0_3_um_b 1615.23
pm2_5_atm_b 10.99
p_0_5_um_b 470.63
pm10_0_atm_b 11.35
p_1_0_um_b 45.07
pm1_0_cf_1_b 8.37
p_2_5_um_b 3.66
pm2_5_cf_1_b 10.99
p_5_0_um_b 0.48
pm10_0_cf_1_b 11.35
p_10_0_um_b 0
pm2.5_aqi_color "rgb(174,246,0)"
pm2.5_aqi 44
pm1_0_atm 9.25
p_0_3_um 1813.28
pm2_5_atm 10.66
p_0_5_um 484.81
pm10_0_atm 11.35
p_1_0_um 43.53
pm1_0_cf_1 9.25
p_2_5_um 1.68
pm2_5_cf_1 10.66
p_5_0_um 0.65
pm10_0_cf_1 11.35
p_10_0_um 0.4
pa_latency 288
response 201
response_date 15596803
latency 1070
key1_response 200
key1_response_date 15596803
key1_count 12804
ts_latency 1023
key2_response 200
key2_response_date 155968032
key2_count 12791
ts_s_latency 1026
key1_response_b 200
key1_response_date_b 1559680
key1_count_b 12800
ts_latency_b 985
key2_response_b 200
key2_response_date_b 15596803
key2_count_b 12787
ts_s_latency_b 1256
wlstate "Connected"
status_0 2
status_1 2
status_2 2
status_3 2
status_4 2
status_5 2
status_6 2
status_7 0
status_8 2
status_9 2
ssid "saturno"



Why not think about implementing Cumulus even with this data? maybe it is possible to make an apparition with the purpleair network, would it be a possible thing?

Info: http://www.fracassi.net/meteopassione/s ... m25-10.htm
My data: http://andrea.altervista.org/pm10/index.php

tnx! andrea

User avatar
mcrossley
Posts: 5593
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Sensor PM 2.5 & PM 10 - Purpleair Network www.purpleair.com

Post by mcrossley » Fri 07 Jun 2019 9:32 am

Nice idea, but I'm afraid it will be way down the to-do list unless someone implements it themselves and contributes it back.

User avatar
akasonny
Posts: 232
Joined: Mon 15 Jun 2009 4:43 am
Weather Station: Zephyr TD-1000
Operating System: Windows 10
Location: Sahuarita, AZ, USA
Contact:

Re: Sensor PM 2.5 & PM 10 - Purpleair Network www.purpleair.com

Post by akasonny » Thu 13 Jun 2019 6:36 pm

Yes I just installed the same and was wondering how difficult it may be to use the “put” command on this sensor for Cumulus as well. I don't write code, per se, so I’m unable to do it but it doesn't seem altogether difficult.

The temperature data would be unreliable as sensors in the sun read too high, but the particulate data is certified accurate. Seemingly, it’d mean sampling and capturing the data stream to incorporate a part of it to be added to Cumulus updates, as example. Cumulus already has provision for other external sensors.

Anyway, nice thought.

andrea_iw2ntf
Posts: 6
Joined: Fri 17 Aug 2018 8:11 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Gaggiano - MI - ITA
Contact:

Re: Sensor PM 2.5 & PM 10 - Purpleair Network www.purpleair.com

Post by andrea_iw2ntf » Mon 24 Jun 2019 5:50 pm

Hi everyone, I have only launched the idea ...
but unfortunately I am not able to help you.
I can tell you that even with the help of a friend who gave me some input I realized this:

http://andrea.altervista.org/pm10/index.php
http://www.fracassi.net/public/banner_pm.jpg
http://www.fracassi.net/aria_gaggiano.php
http://www.fracassi.net/public/webcam.jpg

I just needed some basic PHP information I didn't have, and some examples.

Hello! and thanks.

Post Reply