buderus2mqtt

0.0.3 • Public • Published

mqtt-km200

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

Written and (C) 2015-17 Kai Kramer, based on an idea and code from Andreas Hahn. Build with https://github.com/hobbyquaker/xyz2mqtt-skeleton from Sebastian Raff.

Provided under the terms of the MIT license.

Overview

buderus2mqtt is a gateway between a KM200 Buderus internet gateway and MQTT with the https://github.com/mqtt-smarthome topic and payload format.

Installation

The recommended away is via docker hub.

docker run --env-file ./km200.env -it km200 krambox/buderus2mqtt

Or via direct call

./km200mqtt.js -u mqtt://192.168.1.13 -k 192.168.1.162 -p <AES key>

Key

AES key generator for the KM200 web gateway: https://ssl-account.com/km200.andreashahn.info/

Configuration

config.yml example

measurements:
  - url: '/system/sensors/temperatures/chimney'
  - url: '/system/sensors/temperatures/outdoor_t1'
  - url: '/system/sensors/temperatures/supply_t1_setpoint'
  - url: '/heatSources/actualSupplyTemperature'
  - url: '/heatingCircuits/hc1/temperatureLevels/day'
  - url: '/heatingCircuits/hc1/temperatureLevels/night'
  - url: '/heatingCircuits/hc1/roomtemperature'
  - url: '/heatingCircuits/hc1/temperatureRoomSetpoint'
  - url: '/dhwCircuits/dhw1/actualTemp'
  - url: '/dhwCircuits/dhw1/setTemperature'
  - url: '/system/appliance/workingTime/centralHeating'
  - url: '/system/appliance/workingTime/secondBurner'
  - url: '/system/appliance/workingTime/totalSystem'
  - url: '/dhwCircuits/dhw1/workingTime'
  - url: '/system/appliance/numberOfStarts'
  - url: '/system/appliance/fanSpeed'
  - url: '/system/appliance/flameCurrent'
  - url: '/system/appliance/actualPower'
  - url: '/system/appliance/powerSetpoint'
  - url: '/dhwCircuits/dhw1/waterFlow'

Env file

KM200_url=mqtt://192.168.1.13
KM200_config=./config.yml
KM200_passcode=<AES k generated with https://ssl-account.com/km200.andreashahn.info/ >
KM200_km200=192.168.1.162

Scan KM200

The tool scan. js is used to determine the possible and useful values. This allows you to retrieve the value space of the Installed KM200 and display it in a table on the console.

./scan.js -p <KEY generated with https://ssl-account.com/km200.andreashahn.info/ > -k 192.168.1.162 > gb135.txt

Build and run local Docker container

docker build -t km200 .

docker run --env-file ./km200.env -it km200 krambox/buderus2mqtt 

Package Sidebar

Install

npm i buderus2mqtt

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • krambox