command
module
Version:
v0.0.0-...-281ec05
Opens a new window with list of versions in this module.
Published: Jul 1, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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

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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.