An open API service indexing awesome lists of open source software.

https://github.com/dchote/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.
https://github.com/dchote/envirophat-mqtt

golang pimoroni-envirophat raspberry-pi

Last synced: 9 days ago
JSON representation

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.

Awesome Lists containing this project

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= MQTT server host/IP [default: 127.0.0.1]
--port= MQTT server port [default: 1883]
--topic= MQTT topic prefix [default: envirophat]
--clientid= MQTT client identifier [default: envirohat]
--interval= Poll interval (seconds) [default: 5]
-h, --help Show this screen.
-v, --version Show version.
```