And it looks like I've consumed all of my points: I have -33,033 available.
https://github.com/jcdoll/purpleAirRelayControl/blob/master/PurpleAirRelayControl.ino#L23
The account you requested for the EPA's AQS Data Mart has been created. Please click on the link below to confirm your account: https://aqs.epa.gov/data/api/confirm_email?email=longa@nku.edu&confirm_token=uzJjNpNFMFo_fHiNrfp8KQ Your user ID is your email address: longa@nku.edu Your key is: taupeswift45 This key was automatically generated. If, for any reason, it will not work for you, please respond and request a new one. You can stay informed of system and data developments at our RSS feed: http://www.epa.gov/airquality/airdata/rssairdata.xml
Thank you for your interest in creating an AirNow API account. Your confirmation code is: 77D07E02-8858-4385-A2C6-9960B41E4276 Please activate your account at: https://docs.airnowapi.org//account/request?userCode=77D07E02-8858-4385-A2C6-9960B41E4276 Or you may paste the link above in your browser. AirNow Data Management Center airnowdmc@airnowtech.org
I'd say it's a stretch to call it a dashboard....
Needed to login via google to get the keys, and used cassandrewlong@gmail.com to do so.
Created a PurpleAir account, too, with username longa; purpleair usual com ending.
So I'm going to make this call
which got me this:
{
"api_version" : "V1.0.11-0.0.49",
"time_stamp" : 1707795173,
"data_time_stamp" : 1707795164,
"location_type" : 0,
"max_age" : 604800,
"firmware_default_version" : "7.02",
"fields" : ["sensor_index","name","latitude","longitude"],
"data" : [
[177011,"Trinity Episcopal Church",39.08723,-84.510574],
[184237,"Monitor 7",39.086807,-84.49592],
[184671,"Monitor 12",39.092567,-84.48834],
[184699,"Monitor 10",39.084312,-84.497215],
[184711,"Monitor 9",39.087906,-84.4918],
[184723,"ReNewport",39.094616,-84.48508],
[184721,"Monitor 4",39.090923,-84.49152],
[184799,"338 E 9th St Newport KY 41071",39.0902,-84.48639]
]
}
{
"api_version" : "V1.0.11-0.0.49",
"time_stamp" : 1707795657,
"data_time_stamp" : 1707795620,
"location_type" : 0,
"max_age" : 604800,
"firmware_default_version" : "7.02",
"fields" : ["sensor_index","name","latitude","longitude"],
"data" : [
[173711,"Hellmann Creative Center",39.07635,-84.51451],
[175247,"home",39.09708,-84.48963],
[177011,"Trinity Episcopal Church",39.08723,-84.510574],
[184237,"Monitor 7",39.086807,-84.49592],
[184259,"Monitor 6",39.082287,-84.498024],
[184605,"Monitor 11",39.099586,-84.49018],
[184671,"Monitor 12",39.092567,-84.48834],
[184699,"Monitor 10",39.084312,-84.497215],
[184711,"Monitor 9",39.087906,-84.4918],
[184723,"ReNewport",39.094616,-84.48508],
[184721,"Monitor 4",39.090923,-84.49152],
[184725,"Monitor Mickey 8",39.082706,-84.49669],
[184799,"338 E 9th St Newport KY 41071",39.0902,-84.48639],
[188039,"McFarland",39.098476,-84.51862]
]
}
And that did it:
{
"api_version" : "V1.0.11-0.0.49",
"time_stamp" : 1707797663,
"data_time_stamp" : 1707797617,
"location_type" : 0,
"max_age" : 604800,
"firmware_default_version" : "7.02",
"fields" : ["sensor_index","name","latitude","longitude"],
"data" : [
[160405,"Devou Park",39.08122,-84.52894],
[168209,"Park Hills",39.068443,-84.53976],
[172829,"The Bluffs near Devou Park",39.085186,-84.527145],
[173711,"Hellmann Creative Center",39.07635,-84.51451],
[175247,"home",39.09708,-84.48963],
[177011,"Trinity Episcopal Church",39.08723,-84.510574],
[184237,"Monitor 7",39.086807,-84.49592],
[184259,"Monitor 6",39.082287,-84.498024],
[184605,"Monitor 11",39.099586,-84.49018],
[184671,"Monitor 12",39.092567,-84.48834],
[184699,"Monitor 10",39.084312,-84.497215],
[184711,"Monitor 9",39.087906,-84.4918],
[184723,"ReNewport",39.094616,-84.48508],
[184721,"Monitor 4",39.090923,-84.49152],
[184725,"Monitor Mickey 8",39.082706,-84.49669],
[184799,"338 E 9th St Newport KY 41071",39.0902,-84.48639],
[188039,"McFarland",39.098476,-84.51862]
]
}
source("readCSV.R")
sensors
sensors$sensor_index
[1] 160405 168209 172829 173711 175247 177011 184237 184259 184605 184671
[11] 184699 184711 184723 184721 184725 184799 188039
max(sensors$longitude)
[1] -84.48508
min(sensors$longitude)
[1] -84.53976