/airquality-sender

esp project that get PM2.5 index from a PMS5003 an sends it to a webcom database

Primary LanguageJupyter Notebook

air quality sender Build Status publish jupyter notebook

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

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

esp build

prepare the filesystem in platformio to make it run:

pio run --target buildfs