Node-RED: Integrating the KL LD and KL presence sensors

Learn how to integrate the KL LD and KL presence sensors into Node-RED, with all settings on the sensor and on the hub.

Applies to KL LD and KL · Sensor firmware KL LD 1.1.3, KL 3.2.3 and newer · As of 12/5/2026

Contents

Node-RED integrates the presence sensor via MQTT: The built-in MQTT nodes read the sensor's messages from your broker. The flow below shows presence, zone, distance, motion and stationary, brightness, temperature, humidity, air pressure and availability on a dashboard. You switch the siren, LED and timeout from there. You import the flow once by hand, Node-RED has no automatic detection. This guide applies equally to KL LD and KL.

In this guide, <Hauptthema> stands for the value entered on the sensor under Connections → Main topic. Replace it everywhere with your own value, without the angle brackets. In the flow itself, HAUPTTHEMA stands for it, see step 2.

Prerequisites

  • Node-RED is already running. Tested with Node-RED 5.0.10. Only the built-in nodes mqtt in, mqtt out, change and switch are used.
  • For the display, the package @flowfuse/node-red-dashboard (“Dashboard 2.0”), tested with version 1.37.0. It requires Node-RED 3.0 or newer.
  • An MQTT broker (e.g. Mosquitto) that both the sensor and Node-RED can reach.
  • KL LD presence sensor with firmware 1.1.3 or newer, or KL with firmware 3.2.3 or newer (for older versions see Limitations).

Setting up the sensor

Open the sensor's web interface, menu Connections:

Field Value
Connection type MQTT Broker
Server Name or IP address of your broker
Port 1883
Login / Password only if your broker requires them
Main topic free choice, preferably letters, digits and _ only

Save. The switch Home Assistant is not needed for Node-RED. All fields and messages of the sensor are described in the user manual.

Setup

Menu and field names depend on your browser language. This guide uses the English names. The labels inside the flow (for example “Präsenz”) are German.

  1. Install the dashboard (skip if already installed): menu at the top right → Manage palette → tab Install. Enter in the search field:

    Field Value
    Search field @flowfuse/node-red-dashboard

    On the matching result, click install.

  2. Prepare the flow: Copy the flow from the section Flow into a text editor and change it there with “Find and replace”:

    Find Replace with
    HAUPTTHEMA Your main topic

    There are 13 occurrences.

  3. Import the flow: Menu → Import, paste the changed text into the field and click Import. A new tab “Präsenzmelder” appears.

  4. Enter the broker: In the new tab, double-click one of the purple MQTT nodes, then click the pencil next to the Server field. Then enter:

    Field Value
    Server Name or IP address of your broker (replaces BROKER-ADRESSE)
    Port 1883

    If your broker requires a login, go to the tab Security:

    Field Value
    Username Broker user
    Password Broker password

    Close with Update and Done. The setting applies to all MQTT nodes in the flow.

  5. At the top right, click Deploy.

Quick test

  1. After a few seconds, connected appears under the MQTT nodes.
  2. Open the dashboard: http://<Adresse von Node-RED>:1880/dashboard/praesenz, or, in the right sidebar, Dashboard 2.0 → Open Dashboard.
  3. Presence, zone, connection and the ambient values appear immediately because the broker keeps the last state.
  4. Walk into the detection area: “Präsenz” (presence) jumps to anwesend (present), “Zone” and “Abstand” (distance) follow. Leave the room: After the timeout it shows abwesend (absent).

If everything stays empty although “connected” is shown, the main topic is almost always wrong (mind upper and lower case).

Optional

Presence for automations. Attach a switch node to the mqtt in node with the topic stat/<Hauptthema>/PRESENCE:

Field in the switch node Value
Property msg.payload
first rule ==, type string, value True
second rule ==, type string, value False

The first output reports “someone there”, the second “nobody there”, e.g. for light on and off. The sensor sends True and False as text with a capital first letter. A comparison with the boolean true never matches.

Further settings. The flow switches the siren and LED and sets the timeout. Other values work the same way with an mqtt out node:

Field in the mqtt out node Value
Topic cmnd/<Hauptthema>/SOUND (more names in the user manual)
Retain falsch (false in the English interface)

A whole number without a unit is sent (e.g. 5), and for switches the text ON or OFF. The sensor discards invalid values without feedback. Retain must be set explicitly to falsch (false): If the field stays empty, Node-RED adopts the retain flag of the previously received message, and the broker repeats your command every time the sensor logs in again.

Query values immediately. An inject node with any content on an mqtt out node with the topic cmnd/<Hauptthema>/UPDATE (Retain falsch (false)) makes the sensor immediately send a status message with brightness, temperature, humidity and air pressure.

Without MQTT. An http request node for http://<IP des Sensors>/measurements with the return set to “a parsed JSON object” delivers presence, distance, zone and ambient values without a broker. The only thing that can be set this way is the siren (/siren?turn=on or ?turn=off). If Authentication is switched on on the sensor, append ?login=<Login>&password=<Passwort> to the address.

Limitations

  • Brightness, temperature, humidity and air pressure are only in the status message tele/<Hauptthema>/STATE. They therefore change only at the pace of the Publish interval (factory value 5 minutes).
  • For automations, use presence, not “Bewegung” (motion). The individual distances (MOVING_TARGET_DIST, STATIONARY_TARGET_DIST) arrive more than ten times per second during motion. Do not store or record them unfiltered.
  • The slider “Nachlaufzeit” (timeout) ranges from 5 to 300 seconds. On the KL, shorter values down to 0 would also be possible. Set these in the sensor's web interface.
  • Older firmware (KL LD up to 1.1.2, KL up to 3.2.2) sends the presence only when it changes. Until then, the old value may remain after a restart of the sensor. Please update the firmware.
  • The flow includes its own dashboard interface at /dashboard. If you already run a Dashboard 2.0, afterwards assign the page “Präsenz” to the existing interface and delete the included one.
  • Encryption (TLS) and login to the broker are set on the broker node.

Residual risk: If Node-RED or the broker fails, the dashboard stays at the last state. Automations that depend on presence then do not switch.

Verification status

Tested with Node-RED 5.0.10, Dashboard 2.0 and the sensor firmware KL LD 1.1.3 and KL 3.2.3.

Flow

Before importing, replace HAUPTTHEMA (step 2).

[
 {"id":"pm_tab","type":"tab","label":"Präsenzmelder","disabled":false,"info":""},
 {"id":"pm_broker","type":"mqtt-broker","name":"Broker Präsenzmelder","broker":"BROKER-ADRESSE","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":4,"keepalive":60,"cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"0","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closeRetain":"false","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willRetain":"false","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},
 {"id":"pm_base","type":"ui-base","name":"Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"headerContent":"page","navigationStyle":"default","titleBarStyle":"default","showReconnectNotification":true,"notificationDisplayTime":1,"showDisconnectNotification":true,"allowInstall":false},
 {"id":"pm_theme","type":"ui-theme","name":"Standard","colors":{"surface":"#fcfcfd","primary":"#0d74ce","bgPage":"#f9f9fb","groupBg":"#ffffff","groupOutline":"#d9d9e0"},"sizes":{"density":"default","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}},
 {"id":"pm_page","type":"ui-page","name":"Präsenz","ui":"pm_base","path":"/praesenz","icon":"account","layout":"grid","theme":"pm_theme","breakpoints":[{"name":"Default","px":0,"cols":3},{"name":"Tablet","px":576,"cols":6},{"name":"Small Desktop","px":768,"cols":9},{"name":"Desktop","px":1024,"cols":12}],"tabs":[],"order":1,"className":"","visible":"true","disabled":"false"},
 {"id":"pm_grp","type":"ui-group","name":"Raum","page":"pm_page","width":4,"height":1,"order":1,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default","keepLoaded":false,"tab":""},
 {"id":"pm_grp_env","type":"ui-group","name":"Umgebung","page":"pm_page","width":4,"height":1,"order":2,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default","keepLoaded":false,"tab":""},
 {"id":"pm_grp_set","type":"ui-group","name":"Einstellen","page":"pm_page","width":4,"height":1,"order":3,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default","keepLoaded":false,"tab":""},
 {"id":"pm_in_pres","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/PRESENCE","qos":"0","datatype":"utf8","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":100,"wires":[["pm_c_pres"]]},
 {"id":"pm_c_pres","type":"change","z":"pm_tab","name":"True/False in Text","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload = \"True\" ? \"anwesend\" : \"abwesend\"","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":100,"wires":[["pm_t_pres"]]},
 {"id":"pm_t_pres","type":"ui-text","z":"pm_tab","group":"pm_grp","order":1,"width":0,"height":0,"name":"Präsenz","label":"Präsenz","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":100,"wires":[]},
 {"id":"pm_in_zone","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/ZONE","qos":"0","datatype":"utf8","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":160,"wires":[["pm_c_zone"]]},
 {"id":"pm_c_zone","type":"change","z":"pm_tab","name":"- = keine","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload = \"-\" ? \"keine\" : payload","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":160,"wires":[["pm_t_zone"]]},
 {"id":"pm_t_zone","type":"ui-text","z":"pm_tab","group":"pm_grp","order":2,"width":0,"height":0,"name":"Zone","label":"Zone","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":160,"wires":[]},
 {"id":"pm_in_dist","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/DETECTION_DIST","qos":"0","datatype":"auto-detect","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":220,"wires":[["pm_sw_dist"]]},
 {"id":"pm_sw_dist","type":"switch","z":"pm_tab","name":"nur Zahlen","property":"payload","propertyType":"msg","rules":[{"t":"istype","v":"number","vt":"number"}],"checkall":"true","repair":false,"outputs":1,"x":480,"y":220,"wires":[["pm_t_dist"]]},
 {"id":"pm_t_dist","type":"ui-text","z":"pm_tab","group":"pm_grp","order":3,"width":0,"height":0,"name":"Abstand","label":"Abstand","format":"{{msg.payload}} cm","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":220,"wires":[]},
 {"id":"pm_in_mov","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/MOVING","qos":"0","datatype":"utf8","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":280,"wires":[["pm_c_mov"]]},
 {"id":"pm_c_mov","type":"change","z":"pm_tab","name":"True/False in Text","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload = \"True\" ? \"ja\" : \"nein\"","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":280,"wires":[["pm_t_mov"]]},
 {"id":"pm_t_mov","type":"ui-text","z":"pm_tab","group":"pm_grp","order":4,"width":0,"height":0,"name":"Bewegung","label":"Bewegung","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":280,"wires":[]},
 {"id":"pm_in_sta","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/STATIONARY","qos":"0","datatype":"utf8","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":340,"wires":[["pm_c_sta"]]},
 {"id":"pm_c_sta","type":"change","z":"pm_tab","name":"True/False in Text","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload = \"True\" ? \"ja\" : \"nein\"","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":340,"wires":[["pm_t_sta"]]},
 {"id":"pm_t_sta","type":"ui-text","z":"pm_tab","group":"pm_grp","order":5,"width":0,"height":0,"name":"Ruhend","label":"Ruhend","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":340,"wires":[]},
 {"id":"pm_in_lwt","type":"mqtt in","z":"pm_tab","name":"","topic":"tele/HAUPTTHEMA/LWT","qos":"0","datatype":"utf8","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":400,"wires":[["pm_t_lwt"]]},
 {"id":"pm_t_lwt","type":"ui-text","z":"pm_tab","group":"pm_grp","order":6,"width":0,"height":0,"name":"Verbindung","label":"Verbindung","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":400,"wires":[]},
 {"id":"pm_in_state","type":"mqtt in","z":"pm_tab","name":"","topic":"tele/HAUPTTHEMA/STATE","qos":"0","datatype":"json","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":460,"wires":[["pm_c_bri","pm_c_temp","pm_c_hum","pm_c_pres2"]]},
 {"id":"pm_c_bri","type":"change","z":"pm_tab","name":"Helligkeit aus JSON","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.brightness","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":460,"wires":[["pm_t_bri"]]},
 {"id":"pm_t_bri","type":"ui-text","z":"pm_tab","group":"pm_grp_env","order":1,"width":0,"height":0,"name":"Helligkeit","label":"Helligkeit","format":"{{msg.payload}} lx","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":460,"wires":[]},
 {"id":"pm_c_temp","type":"change","z":"pm_tab","name":"Temperatur aus JSON","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.temperature","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":520,"wires":[["pm_t_temp"]]},
 {"id":"pm_t_temp","type":"ui-text","z":"pm_tab","group":"pm_grp_env","order":2,"width":0,"height":0,"name":"Temperatur","label":"Temperatur","format":"{{msg.payload}} °C","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":520,"wires":[]},
 {"id":"pm_c_hum","type":"change","z":"pm_tab","name":"Luftfeuchte aus JSON","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.humidity","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":580,"wires":[["pm_t_hum"]]},
 {"id":"pm_t_hum","type":"ui-text","z":"pm_tab","group":"pm_grp_env","order":3,"width":0,"height":0,"name":"Luftfeuchte","label":"Luftfeuchte","format":"{{msg.payload}} %","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":580,"wires":[]},
 {"id":"pm_c_pres2","type":"change","z":"pm_tab","name":"Luftdruck aus JSON","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.pressure","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":640,"wires":[["pm_t_pres2"]]},
 {"id":"pm_t_pres2","type":"ui-text","z":"pm_tab","group":"pm_grp_env","order":4,"width":0,"height":0,"name":"Luftdruck","label":"Luftdruck","format":"{{msg.payload}} hPa","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","value":"payload","valueType":"msg","x":760,"y":640,"wires":[]},
 {"id":"pm_in_siren","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/SIREN","qos":"0","datatype":"utf8","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":760,"wires":[["pm_c_siren"]]},
 {"id":"pm_c_siren","type":"change","z":"pm_tab","name":"True/False in ON/OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload = \"True\" ? \"ON\" : \"OFF\"","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":760,"wires":[["pm_sw_siren"]]},
 {"id":"pm_sw_siren","type":"ui-switch","z":"pm_tab","name":"Sirene","label":"Sirene","group":"pm_grp_set","order":1,"width":0,"height":0,"passthru":false,"decouple":false,"topic":"topic","topicType":"msg","style":"","className":"","layout":"row-spread","clickableArea":"switch","onvalue":"ON","onvalueType":"str","onicon":"","oncolor":"","offvalue":"OFF","offvalueType":"str","officon":"","offcolor":"","x":760,"y":760,"wires":[["pm_out_siren"]]},
 {"id":"pm_out_siren","type":"mqtt out","z":"pm_tab","name":"","topic":"cmnd/HAUPTTHEMA/SIREN","qos":"0","retain":"false","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"pm_broker","x":1000,"y":760,"wires":[]},
 {"id":"pm_in_leds","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/LEDS","qos":"0","datatype":"utf8","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":820,"wires":[["pm_c_leds"]]},
 {"id":"pm_c_leds","type":"change","z":"pm_tab","name":"True/False in ON/OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload = \"True\" ? \"ON\" : \"OFF\"","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":820,"wires":[["pm_sw_leds"]]},
 {"id":"pm_sw_leds","type":"ui-switch","z":"pm_tab","name":"LED","label":"LED","group":"pm_grp_set","order":2,"width":0,"height":0,"passthru":false,"decouple":false,"topic":"topic","topicType":"msg","style":"","className":"","layout":"row-spread","clickableArea":"switch","onvalue":"ON","onvalueType":"str","onicon":"","oncolor":"","offvalue":"OFF","offvalueType":"str","officon":"","offcolor":"","x":760,"y":820,"wires":[["pm_out_leds"]]},
 {"id":"pm_out_leds","type":"mqtt out","z":"pm_tab","name":"","topic":"cmnd/HAUPTTHEMA/LEDS","qos":"0","retain":"false","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"pm_broker","x":1000,"y":820,"wires":[]},
 {"id":"pm_in_to","type":"mqtt in","z":"pm_tab","name":"","topic":"stat/HAUPTTHEMA/DETECTION_TIMEOUT","qos":"0","datatype":"auto-detect","broker":"pm_broker","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":880,"wires":[["pm_sw_to"]]},
 {"id":"pm_sw_to","type":"switch","z":"pm_tab","name":"nur Zahlen","property":"payload","propertyType":"msg","rules":[{"t":"istype","v":"number","vt":"number"}],"checkall":"true","repair":false,"outputs":1,"x":480,"y":880,"wires":[["pm_sl_to"]]},
 {"id":"pm_sl_to","type":"ui-slider","z":"pm_tab","group":"pm_grp_set","name":"Nachlaufzeit","label":"Nachlaufzeit (s)","tooltip":"","order":3,"width":0,"height":0,"passthru":false,"outs":"end","topic":"topic","topicType":"msg","thumbLabel":"always","showTicks":"false","min":5,"max":300,"step":1,"className":"","iconPrepend":"","iconAppend":"","color":"","colorTrack":"","colorThumb":"","showTextField":true,"x":760,"y":880,"wires":[["pm_out_to"]]},
 {"id":"pm_out_to","type":"mqtt out","z":"pm_tab","name":"","topic":"cmnd/HAUPTTHEMA/DETECTION_TIMEOUT","qos":"0","retain":"false","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"pm_broker","x":1000,"y":880,"wires":[]}
]

Appendix: Writing presence to the KNX bus

With the package node-red-contrib-knx-ultimate (via Manage palette, Node-RED 3.1.1 or newer on Node.js 20.18 or newer), Node-RED writes the values of the presence sensor to group addresses. Create them in the ETS first. The addresses are examples:

Value Source on the sensor Group address (example) Datapoint
Presence stat/<Hauptthema>/PRESENCE 6/0/1 1.018 (occupancy)
Brightness in lx brightness from tele/<Hauptthema>/STATE 6/0/3 9.004
Temperature in °C temperature from tele/<Hauptthema>/STATE 6/0/4 9.001
Humidity in % humidity from tele/<Hauptthema>/STATE 6/0/5 9.007
Air pressure in Pa pressure from tele/<Hauptthema>/STATE, times 100 6/0/6 14.058
  1. In Node-RED, drag a KNX Device node onto the canvas and set up the connection to the bus via the field Gateway:

    Field Value
    Gateway IP address of the KNX IP interface (for a router 224.0.23.12)
    Gateway port 3671
    Connection protocol Auto (interface: Tunnel UDP, router: Multicast UDP)
    KNX Physical Address a free physical address on the line, e.g. 1.1.250
  2. For each row of the table, create a KNX Device node:

    Field Value
    Group address e.g. 6/0/1
    Datapoint e.g. 1.018
    Send payload to the KNX BUS only on change (RBE filter) enabled
  3. For presence, create an mqtt in node and connect it via a function node to the KNX node 6/0/1:

    Field (mqtt in) Value
    Server IP address of the broker, port 1883
    Topic stat/<Hauptthema>/PRESENCE
    Output Ein String (a String)

    Content of the function node (turns True/False into a boolean and does not let anything else onto the bus):

    const s = String(msg.payload).trim();
    if (s !== "True" && s !== "False") return null;
    msg.payload = (s === "True");
    return msg;
    
  4. For the ambient values, create a second mqtt in node:

    Field (mqtt in) Value
    Topic tele/<Hauptthema>/STATE
    Output Ein analysiertes (parsed) JSON-Objekt (a parsed JSON object)

    Connect it to a function node with four outputs (tab “Setup”, field “Outputs”) and these in order to 6/0/3 through 6/0/6:

    const j = msg.payload;
    const zahl = (v, f) => (typeof v === "number" ? { payload: v * f } : null);
    return [zahl(j.brightness, 1), zahl(j.temperature, 1), zahl(j.humidity, 1), zahl(j.pressure, 100)];
    
  5. Click Deploy.

In the ETS group monitor, check that on 6/0/1 a telegram “occupied” appears when entering the room and “not occupied” after the timeout. If a restarted visualization should get the value immediately, switch on “React to read requests of group addresses” and “Automatically send node values as a response on the KNX bus” in the KNX node. The ambient values arrive only at the sensor's Publish interval. If Node-RED or the broker fails, the last value remains on the bus without KNX noticing.

Next

Manual

KL LD presence sensor

Mounting, connecting to Wi-Fi, setting up.

Manual

KL presence sensor

Mounting, connecting to Wi-Fi, setting up.

Smart home

All systems

An overview of the guides for all presence sensors and systems.

Support

Help and contact

Phone, email and contact form.