1006 B
1006 B
prometheus-arduino-dht-exporter
A Prometheus exporter for IoT temperature and humidity measurements, using an Arduino with a Wi-Fi module and a DHT (temperature + humidity) sensor.
Hardware
Arduino-compatible board: WEMOS D1 Mini (ESP8266)
DHT sensor: Wemos DHT Shield (DHT11)
Requirements
- Arduino IDE (download)
- esp8266 library for Arduino (see instructions)
- Adafruit DHT sensor library (install using the library manager, including all dependencies)
Building
- Copy
config.default.h
toconfig.h
and fill inn the details. - Set the correct board settings in Arduino IDE:
- WEMOS D1 Mini uses board "WeMoS D1 R2 & mini", CPU frequency 160MHz and upload speed 821 600.
- Build and upload in Arduino IDE.