Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 472 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 472 Bytes

PatrasAir

Downloads sensors data using PurpleAir HTTP API.

Applies correction factor on quality controlled sensors data.

Plots last 24 hours and last week timeseries.

Plots last values on google map. Markers are colored according Air Quality Index.

Uploads image files to FTP server.

To avoid overlapping cron job execution, use flock in crontab:

*/20 * * * * /usr/bin/flock -w 0 ~/patrasair.lock python3 ~/PatrasAir/main.py