Go to file
Félix Baylac Jacqué aa3fb2e359
Add flake.nix
2022-12-18 10:02:15 +01:00
.envrc Retrieving temp/humidity data. 2022-06-17 12:07:40 +02:00
Makefile Retrieving temp/humidity data. 2022-06-17 12:07:40 +02:00
README.md Retrieving temp/humidity data. 2022-06-17 12:07:40 +02:00
default.nix Retrieving temp/humidity data. 2022-06-17 12:07:40 +02:00
flake.lock Add flake.nix 2022-12-18 10:02:15 +01:00
flake.nix Add flake.nix 2022-12-18 10:02:15 +01:00
main.rs Extract file IO from mutex lock zone. 2022-06-17 12:21:36 +02:00

README.md

Prometheus Temperature Exporter

This small software reads some temperature/humidity data from a serial USB device before exposing the data using the Prometheus file format.

Note: you'll have to use Nginx or another webserver to expose the prometheus file to the web.

Usage

./temp-prometheus USB-DEV PROMETHEUS-FILE