There is not much on the hardware side to do, because it is just plugging in the USB-Serial…
Open School Solutions
1

Thanks I just thought it would be useful to tell beginners. However I have it working now and it’s a beautiful project!

The only issue I’m seeing is that the output of aqi.py does not match up with the web server display.

I’m seeing the following in the output of aqi.py:

Going to sleep for 1 min…
PM2.5: 0.0 , PM10: 0.0
PM2.5: 5.8 , PM10: 12.1
PM2.5: 6.0 , PM10: 15.2
PM2.5: 5.7 , PM10: 12.4
PM2.5: 5.2 , PM10: 10.5
PM2.5: 4.8 , PM10: 9.2
PM2.5: 4.9 , PM10: 9.4
PM2.5: 4.7 , PM10: 11.2
PM2.5: 4.6 , PM10: 10.4
PM2.5: 5.2 , PM10: 11.1
PM2.5: 5.6 , PM10: 11.0
PM2.5: 6.2 , PM10: 12.5
PM2.5: 6.5 , PM10: 14.8
PM2.5: 6.7 , PM10: 14.6
PM2.5: 6.8 , PM10: 16.0
Going to sleep for 1 min…

but the web server is showing:

AQI 2.5 at 28 and AQI 10 at 15. The display does update every few minutes but the values are much higher than what the output of aqi.pi shows.