An metrics exporter for the CO₂ sensor AirCo2ntrol Coach
2.8K
The exporter provides functionality to export values from the USB CO₂ monitor:
The core of the service uses the API from the system Linux HIDRAW (/dev/hidraw0 etc.) to access the USB CO₂ monitor.
| Name | Type | Label | Unit |
|---|---|---|---|
| tfa_airco2ntrol_carbon_dioxide_total | Gauge | Unit | ppm |
| tfa_airco2ntrol_temperature_total | Gauge | Unit | celsius |
| tfa_airco2ntrol_humidity_total | Gauge | Unit | percent |
go get github.com/netzaffe/co2_exporter
$ sudo CO2MOINITOR_DEVICE=/dev/hidraw0 $GOPATH/bin/co2_exporter
Hint: sadly, to access the HIDRAW API you need root permissions.
docker run -d --name co2-exporter -v /dev/hidraw0:/dev/hidraw0:ro --privileged -p 8080:8080 netzaffe/co2-exporter:latest
Feel free to contribute to the project.
Content type
Image
Digest
sha256:b3eb9ce08…
Size
3.4 MB
Last updated
over 3 years ago
docker pull netzaffe/co2-exporter