smartthings-exporter

command module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

README

smartthings-exporter

A simple app to help monitor your smart devices via prometheus.

Configuration

Environment Var Description
STE_API_TOKEN your api token
STE_PORT server port (defaults to 9119)

The api token is a personal access token that can be created with a valid smartthings login here.

Required Oauth2 scopes

  • r:devices:*
Prometheus Scrape Configuration example

Since this exporter leverages the smartthings API, there is no need to target the smartthings hub directly.

- job_name: smartthings
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  static_configs:
  - targets:
    - smartthings-exporter:9119

References

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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