Skip to content

Prometheus exporter for DTH22 temperature and humidity sensor

License

Notifications You must be signed in to change notification settings

gnasr/dht22_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHT22 Prometheus exporter

DHT22 temperature and humidity sensor Prometheus exporter

Instalation

Connect the DHT22 to the raspberry Pi's GPIO port of your choice, 3.3v and GND

schematic

go get github.com/gnasr/dht22_exporter
cd $GOPATH/src/github.com/gnasr/dht22_exporter
GOOS=linux GOARCH=arm GOARM=5 go build -o dht22_exporter

Usage

./dht22_exporter -gpio-port='4' -listen-address=':9543'

License

GNU License, see LICENSE

About

Prometheus exporter for DTH22 temperature and humidity sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published