Air Quality Index

I decided to add Air Quality to my weather setup. The ideal is a Purple Air sensor but that costs $250 and even more to ship to the UK.

A bit of research shows that I can do the same using a Nova SDS011 and my Raspberry Pi. It's a very straightofward setup and the code to run and collect the data is readily available.

The challenge I had was to add code to upload the data to my website and then get the website to use the data and display it.

After about half a day of coding, and a few tweaks in subsequent days, I ended up with the page above.

You can also see the data uploaded to the AQICN.ORG website for worldwide AQI coverage