Reads PM2.5 index (as well as PM1 and PM10) using a PMS5003 sensor.
Sends the data to a webcom database
Results are graphed using jupyter notebook and published using github actions to github pages
Install Jupyter and its dependencies in a virtual env:
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
setup the configuration from the example airquality-config.json.example
you'll need a database and its auth key from webcom
start jupyter:
source venv/bin/activate
jupyter notebook
prepare the filesystem in platformio to make it run:
pio run --target buildfs