Author Topic: personal air pollution sensor  (Read 5547 times)

0 Members and 1 Guest are viewing this topic.

Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 229
    • Copperwood WX
Re: personal air pollution sensor
« Reply #50 on: December 29, 2017, 01:14:08 PM »
Is it possible to get any data from the unit itself?

Enter the IP of the unit on your network, it has a webpage.

Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 209
  • #conligwx
    • conligwx.org
Re: personal air pollution sensor
« Reply #51 on: December 29, 2017, 01:24:08 PM »
Just curious I don't own one as yet. Are you able to SSH into it?
Regards Simon


Offline R_o_B

  • WxElement panel
  • Member
  • *****
  • Posts: 39
    • Tzouhalem-Maple Bay Weather
Re: personal air pollution sensor
« Reply #52 on: December 30, 2017, 05:31:08 AM »
Is it possible to get any data from the unit itself?
Yes it is possible - as long as you know the IP address of the sensor. Unfortunately, locally, only the data from one channel is available (I have not found a way to access the second channel locally, even after writing many unanswered messages to Adrionics Llc for assistance).

For example, if the PurpleAir sensor local IP address is '192.168.1.15', then, (using PHP) a cURL download or a 'file_get_contents' at 'http://192.168.1.15/json' will produce a JSON file (that JSON file should be saved to disk). The data from that JSON file can then be extracted using the 'json_decode()' function - the data will be in an array.

The values in the array are 'particulate matter' numbers - the useful numbers are those found at 'pm2_5_atm' (2.5 ug/m3) and at 'pm10_0_atm' (10.0 ug/m3).

Then, those numbers have to be processed in order to calculate the air quality index. More information on how the air quality index is calculated can be found on the Wikipedia Air quality index page.
R_o_B
---
eMail: weather@tzweather.org

Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 209
  • #conligwx
    • conligwx.org
Re: personal air pollution sensor
« Reply #53 on: December 30, 2017, 05:54:53 AM »
Is it possible to get any data from the unit itself?
Yes it is possible - as long as you know the IP address of the sensor. Unfortunately, locally, only the data from one channel is available (I have not found a way to access the second channel locally, even after writing many unanswered messages to Adrionics Llc for assistance).

For example, if the PurpleAir sensor local IP address is '192.168.1.15', then, (using PHP) a cURL download or a 'file_get_contents' at 'http://192.168.1.15/json' will produce a JSON file (that JSON file should be saved to disk). The data from that JSON file can then be extracted using the 'json_decode()' function - the data will be in an array.

The values in the array are 'particulate matter' numbers - the useful numbers are those found at 'pm2_5_atm' (2.5 ug/m3) and at 'pm10_0_atm' (10.0 ug/m3).

Then, those numbers have to be processed in order to calculate the air quality index. More information on how the air quality index is calculated can be found on the Wikipedia Air quality index page.
Thanks for the info

Sent from my ONEPLUS A3003 using Tapatalk

Regards Simon


Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 229
    • Copperwood WX
Re: personal air pollution sensor
« Reply #54 on: December 30, 2017, 11:09:54 AM »
I finished the script. I've moved it to it's own thread here:
https://www.wxforum.net/index.php?topic=33482.0

Offline mmorris

  • Forecaster
  • *****
  • Posts: 749
  • Hope your day is full of sunshine
    • Weather and Racin
Re: personal air pollution sensor
« Reply #55 on: January 11, 2018, 07:04:08 AM »
Unbelievable I'm still waiting to receive my PurpleAir any one else waiting?
>>Miles<<  By from Portage Lakes, OH.
Been using VWS since 1996 Ver# 14.01P43
Wireless Vantage Pro2Plus Serial Data Logger, Anemo Tran Kit
Win XP, Firefox, WXSIM, Cumulus, NexStorm, Yawcam, VVP, BadBlue Web server, Quake Catcher Net
Follow me on twitter
Vietnam era Veteran USAF bb loader
Quadruple Bypass survivor

Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 229
    • Copperwood WX
Re: personal air pollution sensor
« Reply #56 on: January 11, 2018, 07:20:55 AM »
Yes me too, I emailed them and they are still blaming power supplies.

Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 209
  • #conligwx
    • conligwx.org
Re: personal air pollution sensor
« Reply #57 on: January 11, 2018, 07:51:07 AM »
Yes me too, I emailed them and they are still blaming power supplies.

I was told 3 days ago the issue was a newer sensor on channel A was not working with older firmware and they had to write new firmware for it. I was told they were close to finishing this and would hopefully ship by the end of the week.
Regards Simon


Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 209
  • #conligwx
    • conligwx.org
Re: personal air pollution sensor
« Reply #58 on: January 11, 2018, 02:57:27 PM »
We now have a new forum for Air Quality Sensors!

Thanks Ken!

Sent from my ONEPLUS A5010 using Tapatalk

Regards Simon


Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 209
  • #conligwx
    • conligwx.org
Re: personal air pollution sensor
« Reply #59 on: January 12, 2018, 04:05:48 PM »
Unbelievable I'm still waiting to receive my PurpleAir any one else waiting?

Yes me too, I emailed them and they are still blaming power supplies.

just got my Email saying it was shipped today!
Regards Simon


Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 209
  • #conligwx
    • conligwx.org
Re: personal air pollution sensor
« Reply #60 on: January 22, 2018, 11:11:41 AM »
Yes me too, I emailed them and they are still blaming power supplies.

Picked mine up from the post office this morning so they are ready to ship ;)
Regards Simon


Offline mmorris

  • Forecaster
  • *****
  • Posts: 749
  • Hope your day is full of sunshine
    • Weather and Racin
Re: personal air pollution sensor
« Reply #61 on: January 25, 2018, 06:34:32 AM »
Still waiting :!:
>>Miles<<  By from Portage Lakes, OH.
Been using VWS since 1996 Ver# 14.01P43
Wireless Vantage Pro2Plus Serial Data Logger, Anemo Tran Kit
Win XP, Firefox, WXSIM, Cumulus, NexStorm, Yawcam, VVP, BadBlue Web server, Quake Catcher Net
Follow me on twitter
Vietnam era Veteran USAF bb loader
Quadruple Bypass survivor

Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 229
    • Copperwood WX
Re: personal air pollution sensor
« Reply #62 on: January 25, 2018, 08:18:46 AM »
Same here

Sent from my Pixel using Tapatalk


Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 229
    • Copperwood WX
Re: personal air pollution sensor
« Reply #63 on: January 26, 2018, 06:36:55 PM »
Well I got a ship notification finally.

Sent from my Pixel using Tapatalk


Offline mmorris

  • Forecaster
  • *****
  • Posts: 749
  • Hope your day is full of sunshine
    • Weather and Racin
Re: personal air pollution sensor
« Reply #64 on: January 26, 2018, 11:06:11 PM »
Today I got a shipping notification finally.
>>Miles<<  By from Portage Lakes, OH.
Been using VWS since 1996 Ver# 14.01P43
Wireless Vantage Pro2Plus Serial Data Logger, Anemo Tran Kit
Win XP, Firefox, WXSIM, Cumulus, NexStorm, Yawcam, VVP, BadBlue Web server, Quake Catcher Net
Follow me on twitter
Vietnam era Veteran USAF bb loader
Quadruple Bypass survivor

Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 209
  • #conligwx
    • conligwx.org
Re: personal air pollution sensor
« Reply #65 on: January 27, 2018, 10:12:04 AM »
Good news then :)

Sent from my ONEPLUS 5T using Tapatalk

Regards Simon


Offline mmorris

  • Forecaster
  • *****
  • Posts: 749
  • Hope your day is full of sunshine
    • Weather and Racin
Re: personal air pollution sensor
« Reply #66 on: January 29, 2018, 09:40:07 PM »
Mine showed of in the mail box now just have to wait for nicer weather.
>>Miles<<  By from Portage Lakes, OH.
Been using VWS since 1996 Ver# 14.01P43
Wireless Vantage Pro2Plus Serial Data Logger, Anemo Tran Kit
Win XP, Firefox, WXSIM, Cumulus, NexStorm, Yawcam, VVP, BadBlue Web server, Quake Catcher Net
Follow me on twitter
Vietnam era Veteran USAF bb loader
Quadruple Bypass survivor

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8567
    • Meteotemplate
Re: personal air pollution sensor
« Reply #67 on: January 30, 2018, 01:07:48 PM »
Unfortunately, so far there are no accurate personal air quality monitors. The only accurate ones are professional, large, very expensive units. These budget versions are to a large extent affected by meteorological conditions and there are many other issues which make the error levels very high. I wanted to buy one some time ago because I live in a large city and it would be interesting. But after doing some research it turned out none of these are really accurate. Especially with certain compounds. The manufacturers of these will be very hesitant to admit it, although they know it very well.

Offline RXB2

  • Member
  • *
  • Posts: 12
Re: personal air pollution sensor
« Reply #68 on: January 30, 2018, 01:43:19 PM »
The only accurate ones are professional, large, very expensive units. These budget versions are to a large extent affected by meteorological conditions.
So BAMS and TEOMs are not affected by meteorological conditions?


none of these are really accurate. Especially with certain compounds.
Most of the posts above are about PurpleAir's PM sensors. They don't measure any compounds, only particulate matter.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8567
    • Meteotemplate
Re: personal air pollution sensor
« Reply #69 on: January 31, 2018, 10:51:52 AM »
Yes, even those that measure PMs are not accurate. During some conditions they can be, but you never know that and so it is not something you can count on.

Offline mmorris

  • Forecaster
  • *****
  • Posts: 749
  • Hope your day is full of sunshine
    • Weather and Racin
Re: personal air pollution sensor
« Reply #70 on: January 31, 2018, 12:25:41 PM »
Nothing but death and Taxes is a sure thing. Even the official equipment may be only right part of the time. 
>>Miles<<  By from Portage Lakes, OH.
Been using VWS since 1996 Ver# 14.01P43
Wireless Vantage Pro2Plus Serial Data Logger, Anemo Tran Kit
Win XP, Firefox, WXSIM, Cumulus, NexStorm, Yawcam, VVP, BadBlue Web server, Quake Catcher Net
Follow me on twitter
Vietnam era Veteran USAF bb loader
Quadruple Bypass survivor

Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 229
    • Copperwood WX
Re: personal air pollution sensor
« Reply #71 on: January 31, 2018, 01:22:06 PM »
I disagree on the accuracy. Purple air sensors were put up against 25 thousand dollar machines and they tracked the pollution very well They were OKish with PM10 but did excellent on PM 2.5 Read the links to the independent testing facility on Purpleairs site.

Sent from my Pixel using Tapatalk


Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8567
    • Meteotemplate
Re: personal air pollution sensor
« Reply #72 on: February 01, 2018, 08:24:49 AM »
It is the most accurate personal air quality sensor, but... but the other ones often have errors over 100%. This one only 30-50%.... which IMHO is still a LOT

Quote
PA-II had the highest correlation with measurements made in side-by-side tests in the field with the expensive commercial-grade sensors used by EPA. Thus, when a change in PM2.5 levels occurred, the PA-II did the best job of tracking the change. However, the PA-II tended to have a high bias in these field tests, typically overestimating the PM2.5 levels by 36 - 48%.

So yes, excellent for the price, but in general, not very good.
There is more pages describing this.

Offline Aardvark

  • Forecaster
  • *****
  • Posts: 1984
  • www.desmoinesweather.org
    • Des Moines Iowa Weather and Climate
Re: personal air pollution sensor
« Reply #73 on: February 01, 2018, 04:50:42 PM »
I have thought about Purple Air , the personal sensor, but going to wait a bit longer.  Finances.

I bought two air purifiers that have sensors that speed up the fan when the air is not so great (Winix 5300*2)/  I got my daughter one because she has asthma.  Being the 38 year old she is,  she farted near the sensor, the indicator went from normal to deep red, the fan roared to action as we laughed.   I am guessing that if a toot can trip the sensor, probably someone could actually produce one that theycould get the readings directly.

What of late really bothers me is that we buy things, but have to have a web or phone connection to get the data from it. Bloomsky is a perfect example, no way to get pictures or the data, but have to rely on servers working.   I guess that is partly why I am going to wait on the Purple Air, but you know I want one
Davis VP2 Plus; 24h  FARS;  Soil Moisture/Temp Station;Weatherlink  MAC Sierra;
Signature
[200x760]
<iframe src='https://www.weatherlink.com/embeddablePage/show/9939a1e2095347408d139366964b63ba/signature' width='760' height='200' frameborder='0'></iframe>

Offline Forever

  • Contributor
  • ***
  • Posts: 120
Re: personal air pollution sensor
« Reply #74 on: February 01, 2018, 05:45:04 PM »
You can access the data directly from the PurpleAir using it's IP/jason. This will be important when their site is down like it is now.

 

anything