Home

Awesome

DoMiQTT - node.js based LCN/Domiq Base-MQTT-bridge

TL;DR

Connects to a Domiq Base (LCN) and translate from and to MQTT.

What does it?

The DOMIQ base (https://domiq.eu/products/d_bl_1b) is a DIN rail mounted device which connects to LCN (http://lcn.de/) building automation. Beside of a Abode flash based webinterface it provides a proprietary and text based event stream on TCP port 4224. Using this port one can read (almost) all LCN events and also trigger actions.

MQTT (http://mqtt.org/) is a very lightweight protocol for e.g. sensor data. Many home automation systems (like OpenHAB http://www.openhab.org/ or Home Assistant https://home-assistant.io/) can talk to MQTT.

This software connects the Domiq's port 4244 on one side and implements a MQTT client to connect to a MQTT broker (e.g. mosquitto https://mosquitto.org) on the other. Thus it's acting a a bridge and enables software like OpenHAB or Home-Assistant to read from and control LCN based smart homes.

Requirements

Installation

git clone https://github.com/etobi/domiqtt.git 
cd domiqtt
npm install
cp defaultConfig.json config.json
# edit config.json and adjust the IP of the domiq and MQTT
npm start

Using

Domiq's LCN "channel" adresses look like this

LCN.output.0.20.1

The DoMiQTT will translate these into MQTT topics like

mqttjs_12345678/james/lcn/LCN/output/0/20/1

Ideas