envirophat-mqtt

command module
v0.0.0-...-74b7841 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 7 Imported by: 0

README

envirophat-mqtt

A simple go app that reads sensor information from the Pimoroni Enviro pHAT and publishes it to the specified MQTT endpoint at the specified interval.

Please download the precompiled binary from the releases page: https://github.com/dchote/envirophat-mqtt/releases

Usage: envirophat-mqtt [options]
Options:
  --server=<server>          MQTT server host/IP [default: 127.0.0.1]
  --port=<port>              MQTT server port [default: 1883]
  --topic=<topic>            MQTT topic prefix [default: envirophat]
  --clientid=<clientid>      MQTT client identifier [default: envirohat]
  --interval=<interval>      Poll interval (seconds) [default: 5]
  -h, --help                 Show this screen.
  -v, --version              Show version.

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