prometheus-esp8266-dht-expo.../README.md

1.7 KiB

Prometheus ESP8266 DHT Exporter

GitHub release

A Prometheus exporter for IoT temperature and humidity measurements, using an ESP8266 (Arduino-compatible) with a Wi-Fi module and a DHT (temperature + humidity) sensor.

Metrics

Metric Description Unit
iot_info Metadata about the device.
iot_air_humidity_percent Air humidity. %
iot_air_temperature_celsius Air temperature. °C
iot_air_heat_index_celsius Apparent air temperature, based on temperature and humidity. °C

Hardware

ESP8266-based board: WEMOS D1 Mini

DHT sensor: Wemos DHT Shield (DHT11)

Software

Building

This uses the Arduino IDE.

  1. Copy config.default.h to config.h and fill inn the details.
  2. Set the correct settings for the board.
    • WEMOS D1 Mini uses board "WeMoS D1 R2 & mini".
  3. Build and upload using the Arduino IDE.

Version

See src/version.h.

It's set manually since no build tools (or CI) other than the Arduino IDE is used.

License

GNU General Public License version 3 (GPLv3).