The open, local, real-time air quality data from PurpleAir has been super valuable during the pollution we've experienced over the past few months. I was also happy to see they even used the Arduino IDE to create this product!
I've found myself checking PurpleAir's map multiple times a day - then realized the Arduino could just read the value itself and display the color on an LED display - so you would always know when it's good to go outside.
This project uses the Arduino MKR WiFi 1010 and RGB shield which is a really neat, simple combination of hardware - just add USB power supply. As the components inside a connected LED lamp it would look really good behind some translucent white plastic casing - I haven't got around to doing this but I am sure you can get creative.Entering details into secrets.h
You need to go into the secrets.h tab of the Arduino IDE project and add your WIFI credentials, as well as the ID of the PurpleAir sensor you'd like to monitor.
You can find the nearest sensor to you on the www.purpleair.com map, zoom in and take a look at the value of the select parameter (see below).
After than you can compile, upload to your Arduino and you should be good to go!
This is a project I made as I found it useful, and I decided to share with the world in case others do to. Please do not solely rely on this if you are concerned about medical effects of air pollution...