A Prometheus exporter for weather data
Go to file
2023-07-11 12:32:42 +02:00
src Remove stupidity 2022-12-19 23:38:05 +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
deploy.sh SSH deploy/test script 2023-07-11 12:32:42 +02:00
README.md Add links to readme 2022-12-19 22:21: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 Pi1 equipped with a Seeed Grove base hat2, with a Grove Light Sensor3 connected to port A0, and a BME280 Barometer sensor4 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)