KNX Explained: How a KNX System Works in Villas and Buildings
What KNX is, how the bus, group addresses and ETS work, what KNX Secure protects, how KNX links to a BMS, what drives cost, plus a sample villa plan.
KNX is an open, worldwide standard for home and building control, published as ISO/IEC 14543-3 and EN 50090, that lets switches, sensors and actuators from hundreds of manufacturers work on one shared bus. Every device is programmed with the same tool, ETS, and devices talk to each other through group addresses instead of a central controller.
The KNX Association, founded in May 1999 by the associations behind three older systems (EIB, BatiBUS and EHS) and governed by Belgian law, certifies the products. Across Saudi Arabia and the Gulf, a KNX system is a common choice for wired lighting, curtain and AC control in premium villas, hotels and offices. This guide goes deeper than our BACnet, KNX and Modbus comparison, and ends with a sample villa plan and a KNX-or-not decision table.
How a KNX system works
KNX is decentralized. Every device, from a wall keypad to a 12-channel actuator in the board, has its own processor and programmed behavior. No central brain has to stay alive for the lights to work. Press a keypad and it sends a short telegram to a group address; every device listening to that address reacts, and the actuator replies with a status telegram so the keypad LED and the app show the truth.
Each value has a datapoint type, so devices from different makers read it the same way: 1.001 for on/off, 3.007 for dimming, 5.001 for a 0 to 100 percent value, 9.001 for a temperature, 17.001 for a scene number. That shared dictionary, plus certification, is why a keypad from one maker can drive an actuator from another.
In KNX the intelligence lives in every device and the logic lives in the ETS project. Whoever holds that file controls the building.
KNX media and topology
KNX runs on four media, which can be mixed in one installation through couplers:
| Medium | How it works | Speed or band | Where it fits |
|---|---|---|---|
| TP (twisted pair) | Dedicated bus cable carrying data and low-voltage power | 9600 bit/s | New builds and full refurbishments: the default |
| IP (KNXnet/IP) | KNX telegrams over Ethernet, UDP port 3671 | Network speed | Backbone between floors or buildings, apps, BMS links |
| RF (radio) | Wireless devices, many battery powered | 868 MHz band | Retrofits where no new cable can be pulled |
| PL (powerline) | Signals over the existing mains wiring | 1200 bit/s | Rare today, mainly legacy retrofits |
A newer option, KNX IoT, is an IPv6-based extension that can run over Ethernet, Wi-Fi or Thread. Treat it as a future path, not a tender requirement, for now.
Lines, areas and couplers
A TP line is the building block. A line segment takes 64 devices; newer TP1-256 devices allow up to 256 on a line without repeaters, but most KNX power supplies are 640 mA, so most lines still carry around 64. Up to 15 lines join an area through line couplers, and up to 15 areas join the backbone. That gives every device an individual address such as 1.1.12 (area 1, line 1, device 12). KNX IP routers now often replace classic couplers, using Ethernet as the backbone.
On a TP segment, keep total cable under 1,000 m, no more than 700 m between two devices and 350 m from the power supply to any device. The green bus cable runs beside the power wiring, so it must be planned at first fix, not after the plaster.
Group addresses and ETS: where the value sits
Group addresses are the real wiring diagram of a KNX building. Most projects use three levels, main/middle/sub: 32 main groups (0 to 31), 8 middle groups and 256 sub-addresses. A common scheme puts function first, floor second and item third, so 1/0/1 reads as lighting, ground floor, item 1. No scheme is mandatory; consistency is, because the BMS and the next integrator depend on it.
All of it is engineered in ETS, the KNX Association's tool for every certified product. The KNX shop lists ETS6 at reference prices of 200 euros for Lite (up to 20 products per project), 350 euros for Home (one project, up to 64 devices) and 1,000 euros for Professional, excluding VAT (checked November 2026). The project file ETS produces holds every parameter and every group address. It is the building's source code.
Get the ETS project at handover
Ask for the final ETS project file, its password, the KNX Secure keyring if used, and a group address export. With those, any certified KNX integrator can maintain the system. Without them, the installer you chose in year one owns every future change.
Sample villa plan: devices and group addresses
Assumptions: a new two-story villa in Riyadh with a majlis, living and dining rooms, kitchen, six bedrooms, garden lighting, 16 motorized curtains and 10 ducted split AC units, one keypad per room. Quantities are a planning illustration, not a quote.
| Device | Qty | Purpose |
|---|---|---|
| Power supply, 640 mA | 1 | Powers the TP line |
| KNX IP router | 1 | Line coupler, app and BMS access over Ethernet |
| Switch actuator, 12 channels | 2 | On/off lighting circuits and selected sockets |
| Dimming actuator, 4 channels | 3 | Dimmable lighting in majlis, living, dining, master suite |
| Curtain actuator, 8 channels | 2 | 16 motorized curtains and shutters |
| AC interface | 10 | One per unit: on/off, mode, setpoint, fan speed |
| Room keypad with temperature sensor | 14 | Scenes, lights, curtains and AC per room |
| Presence detector | 6 | Corridors, bathrooms and stairs |
| Binary input, 4 channels | 2 | Door contacts and leak sensors |
| Weather station | 1 | Wind and sun for outdoor screens |
| Visualization server | 1 | Phone and tablet control |
That is about 42 bus devices. One TP line carries them if the total bus current fits the 640 mA supply, which ETS checks. Group addresses follow the scheme main = function (0 central, 1 lighting, 2 curtains, 3 HVAC, 4 scenes), middle = floor (0 ground, 1 first):
| Group address | Name | Datapoint type | Sent by | Listened to by |
|---|---|---|---|---|
| 0/0/1 | All lights off | 1.001 switch | Entrance keypad, app | All lighting actuators |
| 1/0/1 | Majlis chandelier on/off | 1.001 switch | Majlis keypad, app | Dimming actuator 1, channel A |
| 1/0/2 | Majlis chandelier dim | 3.007 dimming | Majlis keypad | Dimming actuator 1, channel A |
| 1/0/3 | Majlis chandelier status | 5.001 percent | Dimming actuator 1 | Keypad LED, app, BMS |
| 2/1/1 | Master bedroom curtain | 1.008 up/down | Bedroom keypad | Curtain actuator 2, channel 1 |
| 3/0/1 | Majlis AC setpoint | 9.001 temperature | Majlis keypad, app | AC interface 1 |
| 3/0/2 | Majlis room temperature | 9.001 temperature | Majlis keypad sensor | AC interface 1, app, BMS |
| 4/0/1 | Majlis scene: guests | 17.001 scene | Majlis keypad | Majlis lights, curtains and AC |
KNX Secure: what it protects
Plain KNX telegrams are neither encrypted nor authenticated: any device on the bus, or anyone who reaches a KNX IP network, can send commands. A keypad on the garden wall is a physical entry point to the bus. KNX Data Secure protects telegrams end to end on any medium; KNX IP Secure protects the IP layer while TP traffic stays plain. Both use AES-128 encryption in CCM mode.
Each secure device ships with a Factory Default Setup Key (FDSK), printed as a QR code, which ETS needs before programming and then replaces with its own key. Secure and plain devices can share an installation, but a group address with even one non-secure object communicates insecurely. Insist on IP Secure for any KNX IP backbone, Data Secure for outdoor and public-facing devices, and keep the FDSK list and keyring with the owner.
KNX or not: a decision table
KNX brings wired reliability and many makers and installers, at the cost of cabling, engineering hours and a certified integrator. Proprietary smart home systems are simpler to buy but tie you to one brand's devices, app and dealer; consumer wireless kits are cheap but built for shorter replacement cycles.
| Situation | KNX? | Why, or what instead |
|---|---|---|
| New villa or palace with many circuits, curtains and AC units | Yes | Wired and multi-vendor; any certified integrator can take over |
| Hotel guest rooms: lights, curtains, AC, do-not-disturb | Often | Widely used for room control; compare with dedicated guest room systems |
| Office floors: lighting and blinds linked to the BMS | Often | KNX for rooms, BACnet above; DALI-based lighting control is the main alternative |
| Finished villa, no new cabling possible | Maybe | KNX RF for selected rooms, or a wireless system |
| Small apartment, tight budget, app control | Usually no | A consumer wireless system costs less and is good enough |
| Chiller plant, AHUs and central plant | No | BACnet controllers, with Modbus at device level |
| Owner wants to change installer freely later | Yes | Only if you hold the ETS project, passwords and keys |
Test any proposal, KNX or proprietary, with our vendor lock-in risk assessment: who can program it, who holds the project file, and who you call if the installer disappears.
Integrating KNX with a BMS
KNX handles rooms; the BMS handles plant. They meet in one of three ways: a KNX IP interface or router read directly by the supervisory software (Niagara, for example, ships a KNX IP driver, see our Tridium Niagara review); a KNX-to-BACnet gateway that turns chosen group addresses into BACnet objects; or room controllers that speak both. Share room temperatures, setpoints, occupancy, lighting and curtain status and AC faults. For lighting in offices, read smart lighting for commercial buildings.
Two traps. The TP bus runs at 9600 bit/s, so a gateway that keeps polling status floods it: set actuators to send status on change and poll rarely. And the gateway mapping is built from the ETS group address export, so a messy address plan becomes a messy BMS. Ask who owns and can reprogram the gateway.
KNX cost drivers and certified integrators
Channel count drives KNX cost more than floor area, so honest quotes start from a device list like the one above:
- Channels, not rooms: every dimmed circuit, curtain motor and AC unit needs an actuator channel or an interface.
- Keypads: one per room, and premium glass or metal designs cost far more than standard push-buttons.
- AC integration: one interface per split or ducted unit adds up quickly in a Gulf villa.
- Engineering: ETS programming, scenes, testing and documentation hours.
- Cabling and timing: cheap at first fix in a new build, expensive after finishes.
- Extras: visualization server, KNX Secure devices, weather station, BMS gateway.
On integrators: people who pass the KNX Basic course and exam at a certified training center become KNX Partners and are listed on the KNX website, and the knx.org directory lists several certified training centers in Riyadh. Ask for the partner certificate, two comparable references and a written commitment to hand over the ETS project, passwords and keys. Planning villas or a compound? Our smart home solutions page shows how an owner-controlled layer sits above whatever the villas run, KNX included.
What is KNX in simple terms?
A shared language for switches, sensors and actuators in homes and buildings. Devices from different makers, all programmed with ETS, control lighting, curtains, AC and scenes over one bus cable.
Is KNX wired or wireless?
Mostly wired: twisted pair (TP) is the default. KNX also runs over IP networks, radio (RF, 868 MHz band) and, rarely, powerline, and the media can be mixed in one installation.
Can KNX connect to a BMS?
Yes, through a KNX IP interface read by the supervisory software or a KNX-to-BACnet gateway. Share room temperatures, setpoints, status and faults, and keep plant control on BACnet.
Do I need ETS to change my KNX system?
Yes. Certified KNX devices are programmed in ETS, so you need the ETS project file and its password. ETS6 Lite, for projects up to 20 products, lists at 200 euros excluding VAT.
More from puniq
What Is SCADA? Components, Protocols and Security Explained
SCADA explained for owners: components, how it differs from DCS and BMS, the protocols, where it meets Gulf buildings, and an IEC 62443 and NCA OTCC security checklist.
7 min readWhat Is MQTT? A Practical Guide to MQTT and IoT in Buildings
MQTT explained for building owners: broker, topics, QoS, retained messages, MQTT 5, Sparkplug B and security, with a sample topic namespace and an architecture checklist.
7 min readModbus Explained: RTU vs TCP, Registers and BMS Integration
What Modbus is, how RTU and TCP differ, how function codes, registers and word order work, how to wire RS-485, and how to bring Modbus devices into a BMS.
7 min readPut this into practice
Talk to puniq's engineers about a vendor-neutral path for your building.