Most smart home guides assume radio: Zigbee, Thread, Wi-Fi. If you are building a house or stripping one back to the brickwork, there is another option: KNX, a wired bus that runs alongside the mains cabling. It does not need a hub, a cloud account or a working Wi-Fi network, and it is the one decision in a smart home that is very hard to change once the plaster is on. This guide explains how KNX works, the wiring rules that matter, what the configuration software costs, and how KNX connects to Home Assistant, openHAB and other systems.

What KNX is

KNX is an open standard for home and building control, standardised in Europe as EN 50090 and internationally as ISO/IEC 14543-3. Devices from different manufacturers that carry KNX certification work on the same bus, and they are all configured with one manufacturer-independent tool, ETS.

The basic idea is that every device is either a sensor or an actuator. Wall push buttons, motion and presence detectors, thermostats, window contacts and weather stations are sensors: they send short messages, called telegrams, onto the bus. Actuators receive telegrams and do the work: switch a lighting circuit, dim a light, move a blind, open a heating valve. In a typical installation the actuators sit on DIN rails in the distribution board and switch the mains loads, while the wall switches carry only the low-voltage bus cable.

Nothing in that chain needs a central controller. Once the devices have been programmed, a push button talks directly to its actuator, and the installation runs on its own with the ETS computer disconnected. ETS is needed again only for changes: adding devices, new functions, firmware.

Addresses: individual and group

Two kinds of address do different jobs, and confusing them is the most common beginner's mistake.

  • The individual address (also called the physical address) identifies one device, in the form area.line.device, for example 1.1.12. ETS uses it to program and diagnose that device.
  • Group addresses describe functions, for example 1/2/3 in the common three-level structure. A push button sends "on" to the group address "kitchen ceiling light", and every device whose communication object is linked to that address reacts. One button can control several actuators, and several buttons can control one light, without any extra wiring.

When you later connect KNX to Home Assistant or openHAB, you will work with group addresses, not individual ones.

The media: cable, radio and IP

KNX can carry the same telegrams over several media.

  • TP (twisted pair) is the standard choice and the one this article focuses on. A two-wire bus carries both data, at 9600 bit/s, and power for the devices' bus electronics, at about 30 V DC from a SELV source. That speed sounds tiny, but telegrams for switching, dimming and sensor values are very short.
  • KNX RF sends telegrams by radio in the 868 MHz band. It is meant for places where no cable was laid, such as an extension or an older building. RF devices are configured in ETS like wired ones. The German blogger behind haus-automatisierung.com points out that range depends heavily on walls and ceilings, duty cycle limits apply, and the components are expensive.
  • KNX IP carries telegrams over an ordinary Ethernet network using KNXnet/IP. It is used as a fast backbone between TP lines and as the access point for ETS and other smart home software.

KNX IoT, a newer IPv6-based approach that can run over Ethernet, Wi-Fi or Thread, also exists, but so far the choice of devices is thin.

Wiring rules for TP

The KNX rules for a TP line are simple, but they are hard limits. Per line segment:

  • up to 64 devices with classic bus couplers (TP1-64). Devices built to the newer TP1-256 specification put less load on the bus, so up to 256 can share one segment if every device in it supports it and the power supply can deliver the current. haus-automatisierung.com notes that a single-family house will hardly reach 256 devices;
  • no more than 1000 m of cable in total, counting every spur;
  • no more than 350 m of cable between the power supply and any device;
  • no more than 700 m between any two devices.

Topology is free: line, tree, star or a mix, with no terminating resistors. Closed rings are not allowed.

The cable is the green KNX bus cable, commonly J-Y(St)Y 2x2x0.8. The red-black pair carries the bus; the yellow-white pair usually stays unused.

Every line needs its own KNX power supply with a choke. The choke separates the DC supply from the data signal, so an ordinary 30 V power supply will not do. A UK installation guide based on the KNX basic course adds a few more site rules: at most two power supplies per line, at least 21 V at the end of every bus cable after installation, and the SELV bus must not be earthed.

Larger installations are built from lines. Up to 15 lines join an area through line couplers, and up to 15 areas join the backbone through area couplers. A KNX IP router can take the place of a coupler, with the Ethernet network acting as the backbone. Note that a KNX IP router needs a network that forwards multicast reliably; haus-automatisierung.com warns that Wi-Fi and some switches cause problems here.

What to plan before the walls are closed

The cable is the cheap part. Running it later is the expensive part. The planning advice from haus-automatisierung.com comes down to one rule: lay bus cable to every place where a device might sit one day, and use radio only where cable is impossible.

In practice that means:

  • bus cable to every wall switch position, plus places for room thermostats or temperature sensors, presence detectors in the ceiling, window contacts and the outdoor weather station;
  • the mains cables for lights, blinds and controlled sockets running to the distribution board, where the actuators will be;
  • space in the distribution board for the DIN-rail devices: power supply, actuators and an IP interface or router;
  • a wired Ethernet connection in the distribution board for the IP interface or router.

An electrician who knows KNX will plan the details. What you need to settle early is which functions you want and where. Functions can be reprogrammed in ETS later without touching the wiring, but a cable that was never laid cannot be added in software.

ETS: the software and what it costs

All KNX devices are configured in ETS (Engineering Tool Software), published by the KNX Association. It runs on Windows 10 and 11. The current generation is ETS6, and version 6.4.1 was released on 2 April 2026. Prices on the KNX support pages, excluding VAT, are:

Licence Price Scope Activation
ETS6 Professional €1,000 unlimited projects and devices cloud or USB dongle
ETS6 Home €350 one project with up to 64 devices cloud only
ETS6 Lite €200 unlimited projects, up to 20 devices each cloud only

A free trial version is limited to 5 devices. KNX Virtual, a free cloud tool that simulates a KNX installation, lets you learn ETS without hardware. Note that a cloud licence requires an internet connection while ETS is in use, which is something to keep in mind when you work in an unfinished house.

ETS6 Home is aimed at homeowners. The KNX shop describes it as intended for technically skilled people or homeowners who work together with a KNX installer. If an installer builds and commissions your system, agree in advance that you get the ETS project file, so you can make changes yourself later.

ETS reaches the bus through an interface, usually USB or IP. A KNX IP interface only provides access for ETS or other software; it is not a coupler. To connect lines over the network you need IP routers.

Security: plan for KNX Secure

Classic KNX telegrams are not encrypted. KNX Secure adds two layers:

  • KNX Data Secure protects telegrams on any medium. It is set per group address, and secured telegrams carry a sequence number for freshness and an authentication code, with AES-128 in CCM mode for encryption and integrity.
  • KNX IP Secure protects KNXnet/IP traffic on the network, both tunnelling and routing.

Each Data Secure device ships with a Factory Default Setup Key (FDSK), printed on the device or supplied as a QR code. During commissioning ETS replaces it with a new device key, because, as the KNX Association notes, an attacker who knows the FDSK could otherwise eavesdrop on the secured communication. The keys end up in the ETS project, so the project file itself becomes something to store safely.

IP routing without IP Secure deserves particular care. Routing uses multicast, and haus-automatisierung.com points out that any device on that network can then read the telegrams and send its own. Keep KNX IP traffic on a wired network you control, and use IP Secure for routing.

Connecting KNX to Home Assistant, openHAB and other systems

A smart home platform adds what a KNX installation usually does not do on its own, such as phone notifications or links to Zigbee, Matter and cloud devices. It connects through a KNX IP interface or router.

Home Assistant has an official KNX integration, which requires a local KNX/IP interface or router. Tunnelling is the recommended connection type. With modern interfaces you choose a specific tunnel endpoint, and Home Assistant should be the only client using it. If you use IP Secure tunnelling or Data Secure group addresses, you export the keyring file from ETS and import it into the integration. Routing over multicast is also supported. In that case the documentation recommends adding a dummy device in ETS with the integration's individual address and linking the group addresses Home Assistant uses to it, so couplers keep their filter tables up to date.

openHAB has a KNX binding that connects through an IP router or tunnel or through a serial gateway. It can also connect through knxd, open-source software that acts as a broker so several clients can share one gateway.

Other systems connect through gateways. A media coupler stays inside KNX (for example between TP and RF), while a gateway translates between KNX and another protocol such as DALI, Modbus or Zigbee. Some devices speak KNX IP directly, such as Shelly devices with KNX support, which use routing and therefore need a KNX IP router in the installation.

A sensible split is to let KNX handle everything that must work every time, such as lights, blinds and heating, and to add the convenience on top. If the smart home server goes down, the light switches keep working.

When KNX makes sense

KNX fits best when the walls are open anyway: a new build or a full renovation. You get a local, wired system with devices from many manufacturers. It does not depend on the home network for basic functions, and haus-automatisierung.com notes that a TP installation can still be extended decades later.

The costs are real, though. You need an ETS licence, the bus devices and DIN-rail hardware add up, and a good installation needs someone who knows the system. In a finished flat, where cables cannot be laid, radio is usually the more practical choice. If you are planning a new house, at least ask your electrician to price the bus cable. It is the one part you cannot add later.