{"repo":"carlkidcrypto/purpleair_data_logger","free":true,"listed":false,"github":"https://github.com/carlkidcrypto/purpleair_data_logger","clone":"git clone https://github.com/carlkidcrypto/purpleair_data_logger.git","description":"A logger that will query purple air sensor(s) for data. That data can then be stored in a PostGreSQL database, CSV files, or SQLite3 databse. Find this package on pypi: https://pypi.org/project/purpleair-data-logger/#history You can grab your own sensor here: https://www2.purpleair.com/","language":"Python","stars":11,"topics":["purpleair","database","logger","postgresql","grafana","purpleair-sensor","api","purpleairapi","datalogger","paa"],"license":"MIT","category":"databases-storage","readme_excerpt":"Purple Air Data Logger(s) (PADLs) A set of data logger(s) that will query PurpleAir sensor(s) for data. That data can be stored in a TimescaleDB PostgreSQL database, CSV files, a SQLite3 database, or a Grafana Loki instance; exposed as Prometheus metrics; or converted to Matter-shaped device JSON over HTTP. Cloud requests require a PurpleAir API key. You can get API keys by sending an email to contact@purpleair.com with a first and last name to assign them to. Local-network requests use sensor IPv4 addresses instead. --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- How to Support This Project Installation You can install the PurpleAir Data Logger via pip. You can install PurpleAir Data Logger by cloning down this repo. Usage PurpleAirPSQLDataLogger.py Using it with single sensor requests... Using it with multiple sensor requests... High Level Design Getting Started 1. Grab and install Postgresql for your platform. 2. Create two database users. One for Grafana with select only privileges. The other for the data logger with only insert/create privileges. , 3. Install and configure TimescaleDB. 4. Install and configure Grafana. 5. Import into your local Grafana instance the dashboard file found here%20Data%20Logger%20Grafana%20Dashboard-1660355898051.json) Usage PurpleAirCSVDataLogger.py Using it with single sensor requests... Using it with multiple sensor requests... Usage PurpleAirSQLiteDataLogger.p","default_branch":null,"files":null,"tree":[],"storefront":"/r/carlkidcrypto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/carlkidcrypto/purpleair_data_logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}