目录

Set the PurpleAir API dashboard here https://develop.purpleair.com/ Generate a read and write API. You only use the read API key for this project This is the API dashboard that will connect your sensors and allow data pull. The dashboard uses points, once they are exhausted you need to purchase more Next, prepare your sensor IDs. If you know your sensor IDs it is easier. If not, make sure your sensors are publicly open, available and read out the IDs directly from the map and right-clicking on the sensor https://map.purpleair.com/air-quality-standards-us-epa-aqi?opt=%2F1%2Flp%2Fa10%2Fp604800%2FcC0&select=143758#8.52/17.9652/-77.2806. In this case the sensor ID is the number 143758. Enter the sensor IDs in the code. You will need a server to point the purpleair datasets preferably in a json format. In this case I used my Github as the server If you are generating information from more than one sensor, the code is structured to output one json file per sensor Once the json files are created in your server, copy the link and paste it on the grafana setting dashboard. Use one dashboard per json file (per sensor). My dashboard uses infinix database

邀请码