Skip to content

TurlxTheHuman/dhtexporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

dhtexporter

Prometheus exporter to export dht11 temperature + humidity sensor data to prometheus This is to be used on an ESP8266 but I am sure you can run it on other boards with slight modification

Installation and Usage

  1. Add ESP8266 To Board Manager
  2. Select board
  3. Upload Code
  4. Add server to prometheus (add in targets parameter)

ESP8266

Connect sensor voltage+ground to any voltage and ground ping on the esp8266 Data pin goes to D4 (data pin 2) you could change this in the code, I just chose a pin closest to power on my board

Metrics

Server Is Defaulted At http://IP:8663/metrics

       Name         | Description
--------------------|------------
dhtexp_temperature    show temperature reading in celcius
dhtexp_humidit        show humidity level reading

About

Prometheus exporter to export dht11 temperature + humidity sensor data to prometheus

Topics

Resources

Stars

Watchers

Forks

Languages