dht22_exporter

command module
v0.0.0-...-281ec05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2019 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址