Skip to main content

KNXnet/IP (Lighting / Shading / Room Control)

KNX is the European standard for building and home automation (ISO/IEC 14543-3), and one of the most common protocols for lighting, shading (blinds), HVAC, and access control. Twisted pair (KNX TP) is the native medium, but KNXnet/IP — exposed to Ethernet through a gateway — is the form PlantPulse can address directly.

This gateway communicates in KNXnet/IP Tunneling mode.

KNX is not a PLC

KNX is a distributed "device network." Meaningful values can only be read if the site has a project file in which group addresses and DPTs (Datapoint Types) have already been mapped in ETS (KNX Engineering Tool Software). Obtain the ETS project (*.knxproj) or a group address list from the contractor or KNX integration partner.


Registration form entries

FieldWhat to enterExample
IP addressIP of the KNX/IP router or interface192.168.20.30
PortKNXnet/IP port3671 (standard)
Connection Typetunneling / routingtunneling (default)

Typical hardware: Siemens N146, ABB IPR/S, Gira X1, MDT IP interfaces, Weinzierl KNX IP BAOS, and others.


Group addresses

KNX devices do not carry direct addresses; messages are exchanged via group addresses. The same address can be written in any of the following three notations.

Notation (3-level)Notation (2-level)rawMeaning
1/2/101/5222570Main 1, middle 2, sub 10
0/0/10/11First group

For the PLC address field in PlantPulse, the 3-level notation (1/2/10) is recommended — exactly as it appears in the ETS project.

Common group address patterns

NotationTypical meaning
1/0/xLighting ON/OFF
1/2/xLighting dimming value (%)
2/0/xShading (blind) UP/DOWN
3/0/xRoom temperature measurement
3/2/xSetpoint temperature

These patterns are conventions only — the actual mapping is determined by the site's ETS project.


DPT (Datapoint Type) is the key

Raw KNX messages are just byte strings, so they cannot be interpreted without knowing the DPT. Commonly used DPTs:

DPTMeaningData formatFormat modifier
DPT 1.001 SwitchON/OFFBoolean(empty)
DPT 1.008 Up/Down0=Up, 1=DownBoolean(empty)
DPT 5.001 Scaling0–100 % (1 byte)IntegerB
DPT 5.010 Counter0–255IntegerB
DPT 9.001 Temperature2-byte float (°C)FloatREAL
DPT 9.002 Temp Difference2-byte float (K)FloatREAL
DPT 9.004 Lux2-byte float (lx)FloatREAL
DPT 14.x4-byte floatFloatREAL
DPT 16.x14-byte stringStringSTR[14]

Set the [Data format] / [Format modifier] columns in PlantPulse according to the table above and the conversion is applied automatically in post-processing.


Registration flow at a glance

  1. In the ETS project, identify the group address you want to read (e.g. 3/0/12 = meeting room temperature) and its DPT (9.001)
  2. Register the tag in PlantPulse with PLC address = 3/0/12, Data format = Float, Format modifier = REAL
  3. Do not set the polling interval too short — the KNX TP bus is narrow and floods easily (5 seconds or more is generally recommended)

Common problems and remedies

SymptomPossible causeRemedy
"No tunneling slot available"Concurrent tunnel limit of the KNX/IP interface exceededClose other ETS / visualization clients. Upgrade to an IP router
Always 0 or NaNWrong DPTRe-check the ETS project or the contractor's group address list
Value off by a factor of 100 or 2561-byte vs. 2-byte DPT confusionDistinguish DPT 5 (1 byte, 0–255) from DPT 9 (2-byte float)
Some groups never respondKNX Read property disabledEnable the "Read" flag on the group object in ETS
Other devices slow down during pollingKNX TP 9600 bps limitIncrease the polling interval. Consider event capture (GroupValue_Write) instead of Read
Write with care

Writing incorrectly to a lighting or shading group address actuates the real load (lights switch on, blinds go down). On production sites, registering read-only tags is recommended.


Next steps

  • KNX examples in Advanced — REST API
  • If an ETS project file (*.knxproj) is available, ask the integration partner for the group address / DPT list as CSV — CSV bulk upload is then the fastest route.