jgeraerts / nefit-easy-mqtt-bridge

Bridge metrics from nefit/buderus/bosch backend to a mqtt topic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nefit-easy-mqtt-bridge

Bridge metrics from nefit/buderus/bosch backend to a mqtt topic

Usage

  • install dependencies using npm install or build a docker image using the provided Dockerfile
  • set the correct environment variables (see below)
  • run node app.js

Configuration

The app is configured using multiple environment variables:

NEFIT_SERIAL_NUMBER 
NEFIT_ACCESS_KEY
NEFIT_PASSWORD
MQTT_URL
MQTT_USERNAME
MQTT_PASSWORD
POLL_DELAY (in ms, defaults to 300000 -> 5 minutes)
PUBLISH_TO_SEPERATE_TOPICS (boolean, defaults to false)

Topics

The bridge posts a JSON message to the topic /nefit/${serialnumber} with following keys

  • 'setpoint'
  • 'inhouse'
  • 'outdoorTemp'
  • 'overrideSetpoint'
  • 'manualSetpoint'
  • 'hotwaterActive'
  • 'serial'
  • 'pressure'
  • 'supplyTemperature'

example

{
  "setpoint": 21.5,
  "inhouse": 21.7,
  "outdoorTemp": 7,
  "overrideSetpoint": 21.5,
  "manualSetpoint": 15,
  "hotWaterActive": 1,
  "serial": "1234567",
  "pressure": 25.5,
  "supplyTemperature": 47.3
}

Commands

The bridge subscribes to the following topics

TODO

  • Make the topic configurable

About

Bridge metrics from nefit/buderus/bosch backend to a mqtt topic

License:MIT License


Languages

Language:JavaScript 98.0%Language:Dockerfile 2.0%