A Prometheus exporter for weather data
Go to file
2022-12-19 22:19:39 +01:00
src Prototype working 2022-12-19 22:08:30 +01:00
.gitignore Initial commit 2022-12-19 11:29:19 +01:00
Cargo.lock Prototype working 2022-12-19 22:08:30 +01:00
Cargo.toml Prototype working 2022-12-19 22:08:30 +01:00
README.md Add README 2022-12-19 22:19:39 +01:00

Weather Station exporter for Prometheus

A simple, zero-configuration binary for exporting weather data to Prometheus.

This is designed to run on a Raspberry Pi[1] equipped with a Seeed Grove base shield[2], with a Grove Light Sensor[3] connected to port A0, and a BME280 Barometer sensor[4] connected to any I2C port.

The exporter listens on 0.0.0.0:9073 and exports these 4 gauges:

  • weather_temperature_celsius
  • weather_humidity_percent
  • weather_pressure_pascals
  • weather_illumination_relative

The last value is between 0 (pitch dark) and 1 (maximum brightness)