KNX

On this page 7

KNX is an open international standard for home and building automation, published as ISO/IEC 14543-3 and EN 50090, in which sensors and actuators exchange short messages over a shared bus without depending on a central controller. Among smart home standards, it is the most established professional option: it grew out of the European Installation Bus (EIB), BatiBUS and EHS, which merged in 1999, and it is maintained by the KNX Association with certified products from hundreds of manufacturers.

In a smart home, KNX is usually installed during construction or deep renovation, because its typical medium is a dedicated twisted-pair control cable laid next to the mains wiring. The result is a system that behaves more like electrical infrastructure than consumer electronics: long lifespan, deterministic behavior and vendor independence, at the cost of planning effort and professional commissioning.

How KNX devices communicate on the bus

KNX works by letting every device send and receive telegrams on a shared communication line, so a wall switch talks directly to a dimming actuator rather than through a hub. Intelligence is fully decentralized: each device stores its own configuration, and the installation keeps working if any single component, including a visualization server, fails.

On the classic KNX TP (twisted pair) medium, the bus carries both data and a safety extra-low voltage of about 29-30 V DC from a dedicated power supply with a choke. Data travels at 9,600 bit/s, which sounds slow but is ample, because a typical telegram is only a few dozen bytes and takes roughly 20 milliseconds to transmit. Access to the line uses CSMA/CA with bitwise arbitration: when two devices start at once, the telegram with higher priority wins without corruption, and the other device retries.

Communication is organized around group addresses, which represent functions such as “living room ceiling light on/off” rather than devices. A push button sends a value to a group address, and every actuator linked to that address reacts. Each device also has a unique individual address in the form area.line.device (for example 1.2.15), used mainly for programming and diagnostics. Values follow standardized datapoint types (DPT), so a temperature from one brand is understood by a thermostat from another.

The following table lists the main KNX transmission media and their typical roles.

MediumPhysical layerTypical speedTypical use
KNX TPTwisted-pair bus cable, SELV9,600 bit/sNew builds, core installation
KNX IPEthernet or Wi-Fi, UDP port 3671Network speedBackbone, gateways, visualization
KNX RFRadio at 868 MHz16,384 bit/sRetrofits, battery sensors
KNX PLPowerline over mains wiring1,200 bit/sLegacy retrofits, now rare
KNX transmission media

Topology, addressing and limits

A KNX installation follows a hierarchical topology of lines and areas, which keeps local traffic local and makes very large buildings manageable. Couplers filter telegrams, so a light switch on one floor does not load the line of another floor unless the group address is actually needed there.

These limits apply to a twisted-pair installation and determine how the cable plan is drawn.

ParameterTypical limitWhat it affects
Devices per line segmentUp to 64Number of power supplies and repeaters
Devices per line with repeatersUp to 256Size of one floor or zone
Cable length per segment1,000 m totalCable routing and segmentation
Power supply to deviceMaximum 350 mPlacement of the power supply
Device to deviceMaximum 700 mSignal timing on the bus
Areas and lines15 areas of 15 linesTheoretical size above 50,000 devices
Key planning limits on KNX TP

In modern projects the backbone between lines is often KNXnet/IP routing over Ethernet, using the multicast address 224.0.23.12, while KNXnet/IP tunneling gives a single client, such as a commissioning laptop or a smart home server, a point-to-point connection into the bus.

Configuration with ETS and security

KNX devices are configured with ETS (Engineering Tool Software), the manufacturer-independent tool of the KNX Association, which is what makes multivendor projects practical. Every certified product ships with a database entry describing its parameters, and the integrator links communication objects to group addresses and downloads the configuration into each device.

This approach has a clear consequence: the ETS project file is the real documentation of the installation. Without it, changing a function becomes slow reverse engineering, so owners should always receive and archive the project file together with the password needed to open it.

Classic KNX telegrams are not encrypted, which mattered little on a closed cable but became a risk once IP gateways appeared. KNX Data Secure adds authentication and encryption at the application layer for individual devices, and KNX IP Secure protects KNXnet/IP traffic on the network. Both require compatible devices and ETS5 or later, so mixed installations often run secure and unsecured groups side by side.

How KNX compares with wireless smart home protocols

KNX differs from Zigbee, Z-Wave and Thread mainly in that it is a wired building automation system first, whereas those protocols are wireless mesh networks designed for retrofitting consumer devices. The comparison below shows where each fits.

ProtocolMain mediumArchitectureBest fit
KNXWired bus, plus IP and RFDecentralized, no hub requiredNew builds and commercial buildings
Zigbee2.4 GHz radio meshCoordinator-basedRetrofit lighting and sensors
Z-WaveSub-GHz radio meshController-basedRetrofit locks and sensors
Thread with MatterIPv6 radio meshBorder router and controllersInteroperable consumer devices
EnOceanSub-GHz radio, energy harvestingGateway-basedBattery-free switches
KNX versus common smart home protocols

These systems are not strict rivals. A common pattern is KNX as the reliable backbone for lighting, shading and heating, with a Matter bridge or gateway exposing selected functions to voice assistants and phone apps.

Choosing KNX and avoiding common mistakes

KNX makes the most sense when cabling can be planned before walls are closed and the owner values reliability over decades more than low upfront cost. Its hardware is typically more expensive per function than consumer smart devices, and commissioning requires a trained integrator, ideally one with KNX Partner certification.

ProblemUsual causeRemedy
Owner cannot change functionsETS project file not handed overContract delivery of the project file
Unstable bus voltageToo many devices per power supplyAdd a segment or stronger supply
Slow or lost telegramsChatty sensors flooding a lineAdjust send intervals and filtering
Exposed IP gatewayTunneling port open to the internetUse a VPN and KNX IP Secure
Missing future capacityNo spare cable or DIN rail spacePlan reserve cores and cabinet space
Frequent KNX problems and their remedies
  • Pull the bus cable to every likely control point, including windows and ceilings, because adding cable later is costly.
  • Design group addresses by function with a consistent naming scheme so the project stays readable.
  • Keep the safety separation between bus cable and mains conductors as required by installation rules.

In simple terms

KNX is a shared language that light switches, blinds, thermostats and sensors use to talk to each other in a building. Instead of each light switch being wired directly to one lamp, every device is connected to a thin green control cable, much like houses share one street. A switch sends a short message, and whichever device is listening for it reacts.

Because no central box makes the decisions, the home keeps working even if one part fails. Devices from many brands understand each other, so the owner is not locked into a single company. The trade-off is that KNX is best planned during construction and set up by a trained installer.

A practical example

A family building a two-story house of about 220 square meters asks an electrician to install KNX during the shell phase. The integrator lays bus cable to 38 control points, mounts actuators for 24 lighting circuits, 12 motorized blinds and 9 underfloor heating zones in the distribution cabinet, and splits the installation into two lines, one per floor, joined by IP routers.

In ETS, each room receives group addresses for lighting, shading and temperature, and a weather station on the roof retracts all blinds when wind speed exceeds the configured threshold. A small server connects through a secured KNX IP interface and exposes selected lights and thermostats to phones and a voice assistant through Matter.

Six years later, the family replaces the original visualization server with a different product. Not a single switch or actuator needs to change, because the core functions live in the KNX devices themselves, and the archived ETS project lets a new integrator make the adjustment in one afternoon.