Written and (C) 2015-17 Kai Kramer Build with https://github.com/hobbyquaker/xyz2mqtt-skeleton from Sebastian Raff.
Provided under the terms of the MIT license.
mqtt2influxdb is a gateway between MQTT with the https://github.com/mqtt-smarthome topic and payload format and influxdb. mqtt2influxdb is designed to work with https://github.com/hobbyquaker/mqtt-scripts
The recommended away is via docker hub.
docker run --env-file ./mqtt2influxdb.env -it mqtt2influxdb krambox/mqtt2influxdb
Or via direct call
./mqtt2influxdb.js -u mqtt://192.168.1.13 -k 192.168.1.162 -p <AES key>
docker build -t mqtt2influxdb .
docker run --env-file ./mqtt2influxdb.env -it mqtt2influxdb