MergenHub Envest Live demo
Home/Protocols/KNXnet/IP
Protocol · KNXnet/IP

KNX — lighting, blinds, climate in SCADA

Connect the building's KNX line to MergenHub with a KNX IP interface. Turn group addresses into tags from the ETS file or by listening to the line; monitor and write the values and use them in alarms and reports.

← All protocols & modules
MergenHub — KNXnet/IPConnected
Project
▾Connectivity
▾KNX
▪Floor2_Lighting
Floor2_Lighting · 10.20.4.50 : 3671
DriverKNXnet/IP
Connection typeUDP tunnelling
Connection state check60 s
Tag sourceETS export
NAT modeOff
TagAddressValueQuality
Corridor_Light1/1/1;DPT=1.0011Good
Office_Dimmer1/2/4;DPT=5.00165Good
Room_Temp3/1/2;DPT=9.00122.6Good
Active_Energy4/0/1;DPT=13.01018422Good
Time0/0/1;DPT=10.00108:30:00Good

The MergenHub interface — lighting, dimmer, temperature and energy group addresses through a KNX IP interface.

What is KNX?

KNX (ISO/IEC 14543-3) is the building automation standard for lighting, blinds, heating and cooling and energy metering. Devices talk through group addresses; the data type of each address is defined by a DPT. KNXnet/IP gives access to the line over IP.

Where is it used?

Lighting and climate control in hotels, offices, hospitals, schools and homes; energy monitoring in public buildings. It often sits next to BACnet HVAC in the same building: MergenHub brings both into one project.

Driver capabilities

Feature coverage

Tunnelling and routing frames, cEMI and DPT encoding are written inside the driver; no external library.

Connection

Tunnelling and routing

UDP tunnelling (default), TCP tunnelling (KNXnet/IP 2) or routing (multicast). Devices on the same channel share one tunnel.

Address

Group address + DPT

1/2/3;DPT=9.001 or the ETS form DPST-9-1; DPT 1, 2, 3, 5–9, 12–14, 17, 18, 20, 29, time / date (10, 11, 19), text (16) and RGB (232.600).

Tag generation

ETS or line listening

From an ETS group address export (CSV / XML) or by listening to the line; guessed types are marked "verify".

Reads

Listening + cache

Writes and responses on the line are captured and the last value is cached; one GroupValue_Read for an unknown address.

Writes

Confirmed writes

GroupValue_Write; the interface confirmation is awaited. An out-of-range value is not clipped, it returns an error.

Bridge

KNX ↔ BACnet

With the Link type of Virtual Tags a KNX group address is written to a BACnet object and back; conditional transfer with Automation.

Supported data types (DPT)
DPT 1 bitDPT 5 percent / angleDPT 9 temperature, luxDPT 13 / 14 energyDPT 10 timeDPT 11 dateDPT 19 date-timeDPT 16 textDPT 232 RGBUDP / TCP tunnellingRouting (multicast)ETS CSV / XML
Control safety

Connection liveness is checked

GuaranteeEvery tunnel frame's acknowledgement and sequence number are checked and the connection state is polled regularly. If the interface disconnects or the poll goes unanswered, the tags turn Bad and the driver reconnects.