No project description provided
Project description
sgp30-exporter
Exports air quality readings from Pimoroni SGP30 to Prometheus.
This exporter uses pimoroni-sgp30 to obtain data.
Installation
pip install sgp30-exporter
Running
FLASK_ENV=production FLASK_APP=sgp30_exporter.app flask run --host 0.0.0.0
This will serve metrics at http://localhost:5000/metrics
.
You can make Prometheus scrape these with this scrape config:
scrape_configs:
- job_name: "sgp30"
static_configs:
- targets: ["<the IP of your exporter host>:5000"]
labels:
location: "bedroom"
0.1.0
- Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sgp30-exporter-0.1.0.tar.gz
(4.9 kB
view hashes)