ttnbridge

command module
v0.0.0-...-901c1d5 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

README

What?

Received HTTP pushes from The Things Network and bridge it to other locations.

At present this supports only Logging and pushing to Graphite.

Running

The ripienaar/ttnbridge Docker container can be used to run it:

$ docker run ripienaar/ttnbridge --help
usage: ttnbridge --listen-key=LISTEN-KEY [<flags>]

The Things Network HTTP Push bridge

Flags:
  --help                         Show context-sensitive help (also try
                                 --help-long and --help-man).
  --version                      Show application version.
  --listen-host="0.0.0.0"        Host to listen on
  --listen-port=80               Port to listen on
  --listen-key=LISTEN-KEY        Key to expect in the BridgeKey header
  --logger                       Enable the Logger processor
  --graphite                     Enable the Graphite processor
  --graphite-host=GRAPHITE-HOST  Hostname of the Graphite server
  --graphite-port=GRAPHITE-PORT  Port of the Graphite server
  --graphite-tries=10            Number of times to retry publishing to graphite
  --graphite-prefix="ttn"        Prefix used for the Graphite metrics

For each setting there is a matching Environment variable supported, --graphite-tries can be set with GRAPHITE_TRIES.

Authentication?

The option --listen-key is required, this is a string that should be set in the BridgeKey Custom Header in TTN.

Contact?

R.I.Pienaar / devco.net / @ripienaar

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
processors

Jump to

Keyboard shortcuts

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