cloudy cloudy

Recent Posts

Pages: [1] 2 3 ... 10
1
Chatter / Re: Weather Undergroundís Next Frontier: Air Quality
« Last post by Weather Display on Today at 05:44:19 AM »
I am thinking though currently its not known how to get the second channel data from the local json data?
I can make so that in the setup in WD the user enters their sensor ID so that the data can be downloaded from the cloud data to make sure the channel A (local) is OK (i,e compares OK)..if one is much too high (different), then the lesser is used, yes?

2
Chatter / Re: Weather Undergroundís Next Frontier: Air Quality
« Last post by R_o_B on Today at 05:33:44 AM »
instead the cronairquality.exe program would get both lots of data (local IP and then from the purple air site, to 2 different file names)
Indeed. The software 'cronairquality.exe' by itself (without an external additional configuration file) could download the data from the local PurpleAir unit (channel #1) to the file 'airquality.txt' (as it does presently).

The software 'cronairquality.exe' with (using) an external additional configuration file could download the data from:
  • either the local PurpleAir unit (channel #2) to a file with a different name (a name other than 'airquality.txt' to prevent overwriting)
  • or from the Thingspeak cloud storage (channels #1 and #2), again,  to a file with a different name (a name other than 'airquality.txt' to prevent overwriting)

where /how does the owner get the ID? (e.g 1256
The unit ID number is supplied with the unit when it is sold.

also I see that json data has two
"PM2_5Value":
values, I assume the first is one channel the other is the other channel?
Indeed, again, the two 'PM2_5Value' values represent the two channels.

I am attaching the PDF file 'Using PurpleAir Data' that will identify the parameters found in the file downloaded from the Thingspeak cloud storage.
3
WD Bug Reports / Re: WD update failure
« Last post by Weather Display on Today at 04:51:27 AM »
worse comes to worse, do you have remote access to the pc?
4
Chatter / Re: Weather Undergroundís Next Frontier: Air Quality
« Last post by Weather Display on Today at 03:34:08 AM »
Quote
ing the above link in a browser will display a JSON data file. Using the above link as the IP Address in the software 'cronairquality.exe' will download the JSON data file (and overwrite the previously saved data file)
yes of course, but that is not what would happen
instead the cronairquality.exe program would get both lots of data (local IP and then from the purple air site, to 2 different file names)
where /how does the owner get the ID? (e.g 1256

also I see that json data has two
"PM2_5Value":
values, I assume the first is one channel the other is the other channel?
5
WD Questions / Re: Data quality red
« Last post by Weather Display on Today at 03:25:58 AM »
what is the barometer reading on the console?
do you happen to have set to use altimeter barometer in the cwop setup for WD barometer reading?
what is the barometer offset in WD?

you can set WD to show debug info:
setup, advanced/misc, tick to log the raw data , then see what shows under view, debug info
6
WD Bug Reports / Re: WD update failure
« Last post by Weather Display on Today at 03:23:46 AM »
you could try this:
in the original install location
delete everything except the wdisplay.ini settings file and the sub folders (datafiles, logfiles, webfiles)
then install the full install to that location and run from there

try that
7
Chatter / Re: Weather Undergroundís Next Frontier: Air Quality
« Last post by R_o_B on Today at 03:19:51 AM »
Niko, thank you for providing the link to the 'Worldwide Air Quality' site - quite interesting, very informative. Just wish my dexterity, my sight and my brain cells were a bit younger ... I would certainly get involved into building my own air quality sensor...  :oops:

Brian, the ID found in the 'airquality.txt' data file is not the sensor ID. To view the data uploaded by my PurpleAir unit to the Thingspeak cloud storage, use the following link:

https://map.purpleair.org/json?show=1256

Using the above link in a browser will display a JSON data file. Using the above link as the IP Address in the software 'cronairquality.exe' will download the JSON data file (and overwrite the previously saved data file).  :wink:
8
Chatter / Re: Weather Undergroundís Next Frontier: Air Quality
« Last post by Weather Display on Today at 03:11:21 AM »
Quote
Will that be available also in the updated ZIP version?
yes, of course
as for
Quote
https://map.purpleair.org/json?show=SENSOR_ID'
what is say your sensor ID, to see if that works?
(there is a sensor ID in the airquality.txt file, but where and how do you use that in the above url?)
ah, nevermind, you just need to have "" around the ID

but that still does not seem to show the other channel data?
9
Chatter / Re: Weather Undergroundís Next Frontier: Air Quality
« Last post by niko on Today at 01:58:38 AM »
For the DIY'ers, if you are interested in tinkering with this type of sensor a number of reasonably priced laser PM sensors suitable for this application can be found by searching ebay for "Plantower". Prices start around $20.

More info here.
10
Chatter / Re: Weather Undergroundís Next Frontier: Air Quality
« Last post by R_o_B on Today at 01:34:49 AM »
Brian, please do not be offended as my suggestion was just that, a suggestion, in order to improve and add some additional functionalities to the software 'cronairquality.exe'.

OK, here is why I suggest adding some options to the software 'cronairquality.exe'.

As you might be aware (or maybe not) the PurpleAir unit is made up of two identical particulate matter sensors (dual laser sensor - two sensors identified as PMSX003A and PMSX003B) - thus two slightly different data produced by the PourpleAir unit and uploaded to the Thingspeak cloud storage.

When the software 'cronairquality.exe' contact the PurpleAir unit (using for example the URL 'http://192.168.0.1/json'), it is accessing only the first sensor (of the dual laser sensor) on channel #1 (or sensor PMSX003A). Unfortunately, because of the poor technical support (communication) I have been having with the PurpleAir company, I do not know how to access directly (through the local URL) the second sensor (of the dual laser sensor) on channel #2 (or sensor PMSX003B).

Why, you may ask, is there a need to access the data of channel #2 when the data of channel #1 is perfectly usable. Well, two weeks ago, when my area was covered with thick smokes from the numerous provincial forest fires and the AQI levels were reaching the 'very unhealthy' level (AQI greater than 225), for some unknown reasons, channel #1 started reporting 9000 Ķg/m3 for all PM readings. It was not until I looked at the data of channel #2 that I realize I had a problem. After powering off the unit, blowing a bit of air into the unit (to clean it up) and powering the unit back on did I understand that I had to check both channels and not just rely on channel #1.

As it is now, the software 'cronairquality.exe' downloads only the data from channel #1 and produces the file 'airquality.txt'. If the data from channel #2 could be downloaded (that is a big 'IF' unless I or someone else eventually get some technical support from the PurpleAir company), then it would overwrite the file 'airquality.txt' and the data from channel #1 would be lost.

Having the data from both sensors (and comparing that the data is almost similar or less than the maximum AQI) would make the PurpleAir unit very reliable.

Thus my suggestion that some flexibility (such as being able to create a data file using a different name) be added to the software 'cronairquality.exe'. That would also allow the software 'cronairquality.exe' to contact the Thingspeak cloud storage using, for example, the URL 'https://map.purpleair.org/json?show=SENSOR_ID' and download, in one JSON file, the data of the PM2.5 for channel #1 and channel #2.

Brian, please do not be upset if I suggest to identify the PurpleAir unit as one word (and not as purple air).

Finally, you indicated that:
Quote
what I have added currently (and a bit more) is now in the latest full install
Will that be available also in the updated ZIP version?

Brian, once again, I really appreciate the time and work you have put into the integration of the PurpleAir data into Weather Display - thenk you very much.
Pages: [1] 2 3 ... 10