Skip to content

Collects DHT sensor readings and export them as Prometheus metrics

Notifications You must be signed in to change notification settings

joeds13/prometheus-dht-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

prometheus-dht-exporter

Collects DHT/envirophat environmental sensor readings and exports them as Prometheus metrics

Usage

usage: dht-exporter.py [-h] --sensor-connection [gpio|envirophat]
                       [--sensor-version [11|22|2302]] [--sensor-pin N]
                       [--envirophat-temperature-offset N]
                       [--room <room name>] [--listen-port N]

If --sensor-connection is envirophat, --envirophat-temperature-offset is available If --sensor-connection is gpio, --sensor-version and --sensor-pin are required

To Do

  • Create build script
    • Update repo
    • Install deps
    • Check systemd unit file
    • Restart
  • Daemonise properly
  • Dockerise?
  • Setup and packaging stuff
  • Publish to PyPI?
  • Rewrite in Go?

About

Collects DHT sensor readings and export them as Prometheus metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages