Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Air


image

About this project: I discovered the popular Plantower sensors. The fanciest sensor available senses 8 different things.

This sensor is useless without a way to see its data realtime, so the ESP32 seemed like a good way to read its data and upload it to my web server. The Python CGI script was a fun way to receive the data with no further dependencies on the server - just Linux, Apache, and Python3. Historical data then gets served from an NDJSON file, air.dat, and a realtime file, air.json. The dashboard is vanilla HTML/JS.

More about the PTQS1005 sensor: it measures PM 1.0, PM 2.5, PM 10, TVOC, Formaldehyde, CO2, Humidity, and Temperature. Humidity and Temperature are not at all calibrated but a very simple calibration makes them somewhat usable.

Wire up the Plantower PTQS1005 Sensor

Prepare Arduino IDE, configure credentials and program your ESP32

Install the CGI data receiver, configure Apache, configure CGI, configure credentials

Serve the dashboard

About

8-in-1 IoT Air quality monitor and dashboard. ESP32 connected to Python CGI, with vanilla HTML/JS dashboard.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages