/mqtt2influxdb

Primary LanguageJavaScriptMIT LicenseMIT

mqtt2influxdb

NPM version Dependency Status Build Status Maintainability js-semistandard-style License: MIT

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.

Overview

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

Installation

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>

Build and run local Docker container

docker build -t mqtt2influxdb .

docker run --env-file ./mqtt2influxdb.env -it mqtt2influxdb