>>> Join Us in the Fight Against Air Pollution

AirGradient Forum

API data into PostgreSQL via Python

Because the built-in MQTT is missing from the current Airgradient One and I need this data quickly in my PostgreSQL environment, I created this dockerized Python application to quickly grab the data via the API and shove it into a PostgreSQL database. Please feel free to use/comment/contribute back to it. I kept the API separate from the json/pgsql bits so it’d be easy to transition over to the built in MQTT API whenever that is ready.