Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

How to use knx?

3 Answer(s) Available
Answer # 1 #

Are you wondering how you can program your KNX smart home by yourself?

Regardless if you are a smart home enthusiast who wants to take control of his KNX smart home or an installer who wants to get proficient in KNX, you will need to know a thing or two about KNX programming.

In this guide we will showcase the basics of KNX programming and what are the important building blocks to work with. We will also teach you how to best prepare your ETS project file to integrate well with KNX visualisation servers and smart assistant platforms such as Apple HomeKit, Amazon Alexa, Google Home and others.

A quick spoiler: KNX programming is actually way simpler than it sounds 😉

Before doing any kind of programming you first need to be able to actually connect to your KNX system.

You have two main options when it comes to connecting.

The most basic way is to use a KNX USB interface which enables you to connect your computer to KNX bus over USB port. Even though this option works well, you need to be physically connected to the USB interface at all times which is often limiting.

If you want to connect to your KNX system using your local network you can use a KNX IP interface which lets you access your KNX bus without needing to be physically connected to it. This comes in handy if you need for example to reprogram wall buttons and lights in a room that’s far away from your electrical cabinet, as you can simply take your laptop, go to the room and reprogram it from there.

The IP Interface also has other great benefits.

With some interfaces you can securely connect to your home remotely to reprogram it from afar without even needing to set eg. a VPNor they come with additional software to let you integrate other 3rd party smart home technologies directly with KNX technology.

If you still need to buy an IP interface, our 1Home Bridge IP interface packs all the needed features such as secure remote access (read more about how we handle security here) while you also get many IoT and voice control integrations with Apple HomeKit, Google Home and Amazon Alexa smart home ecosystems, all included in the package. Learn more about our 1Home Bridge IP interface.

After you’ve connected to your KNX bus, you need software to program your smart home.

There are two different software tools made by the KNX Association, namely ETS and ETS Inside.

ETS (the latest version is ETS5) is the staple of KNX programming. It’s a Windows-only software that requires a license, depending on the size of the home:

Note: You can also use ETS without a license for up to 5 devices in order to get familiarised with it.

Recently KNX Association also released the ETS Inside software (160 € + VAT) which promises to bring KNX programming closer to the homeowner. It offers control from mobile devices, creates a better user experience but isn’t yet as feature complete as the ETS Home or ETS Professional. We’re looking forward to seeing it develop even further and get used more and more.

When you are equipped with your KNX interface, an ETS software and a license, you are ready to start with the programming. For this example we will work with the ETS5 software version.

There are 6 main programming concepts to understand:

2. Building structure: From the device catalog you simply drag and drop the device product data to a building structure which defines the structure of your building. This will help you navigate through all of your devices more easily.

3. Group addresses: Group addresses (GA’s) are the most important part to understand when learning about KNX programming. A group address is a definition for a command that devices can trigger or listen to and then based on the command’s value do a specific action.

In a simplified example we can program a push button on the wall near the kitchen door to send a group address named “Kitchen lights on/off” with a unique address 1/0/1 when the kitchen button is pressed.  On the other side we program all light actuators that control lights in the kitchen to turn on or off all lights when they receive a group address named “KItchen lights on/off” with an address 1/0/1. That's it, this way all lights in the kitchen will turn on or off (toggle) once the button on the wall near the kitchen door is pressed.

4. Communication objects: When you click on a device in the building structure, you see a lot of different communication objects that the device can control. A button may have a communication object that controls the button press for different button areas, a dimming actuator may have a communication object to turn the light  ON/OFF, dim it to a specific percentage or to query it to learn if it is currently turned on or off.

To connect communication object  to a group address, we simply drag and drop the group address onto the communication object and the device will know that it is now using this group address with this communication object for communication with other devices.

5. Device parameters: KNX devices offer loads of different parameters to tweak and play around with. From different dimming curves to travel time of the shutters. You can configure device parameters under a parameters tab on the device details view.

6. Uploading new configuration to devices and debugging problems: You can upload your newly created configuration to your device easily by clicking the download button (pressing a programming button on a physical device will be necessary the first time). You can also easily monitor your KNX bus and all the group address commands (telegrams) that are being sent around using a Diagnostics monitor. This will help you diagnose any problems much faster.

! IMPORTANT: After you finish configuring your KNX project, you can download the configuration of your installation in the form of an ETS project file. This file stores the complete configuration of your KNX project, serves as a backup and is also used by different smart home servers for easier setup. Make sure to keep it somewhere where you cannot lose it.

When you understand the above 6 concepts you are ready to start playing around with your installation. A good next step is to go through a virtual tutorial on how to program lighting, shading, heating and more (link to the KNX Virtual tutorials).

After you are happy with your KNX system configuration, you can move your KNX smart home to even the next stage and connect it with the world of thousands of IoT devices and use them together with KNX devices in your automations. Probably the easiest way to connect both worlds together is to use our 1Home Bridge device that is made specifically for that purpose. Go here to learn more about what you can achieve with it.

When it comes to KNX programming it’s important to keep in mind that the homeowner might want to visualise the home with a mobile app at some point, so all necessary group addresses need to be programmed in order to be fully controlled through the app.

Installations with KNX devices that don’t have feedback addresses programmed will work well with wall switches, but won’t be able to get the current device status to show it in the assistant mobile app. This is why certain group addresses are required in order to visualise your home with any mobile app.

1Home integrates smart assistants (Apple HomeKit, Amazon Alexa and Google Home) into KNX smart homes, for which you require:

After creating an account in the 1Home Dashboard, you will be prompted to upload your programmed ETS 5 project file and with the help of our device recognising AI, your devices will be read and imported into the Devices tab. Sorted in their corresponding rooms, each device will be presented with its name, device type and properties (on/off, status, set percentage …).

Then you will connect a smart assistant of your choice (Apple HomeKit, Amazon Alexa, Google Home) and import the devices into their mobile app.

Some of the addresses are obligatory (e.g. feedback address, transmit & read flags) for visualisation and if these essential addresses are left empty, the assistant mobile app won’t show the correct status of the device or may not show the device at all in the case of Apple HomeKit.

In this part we will present the necessary KNX programming configuration to ensure the home remains future-proof, even when integrating Apple HomeKit, Amazon Alexa or Google Home smart platforms.

The devices in Apple HomeKit, Amazon Alexa and Google Home are linked to KNX via group addresses and imported as one of the predefined device types (e.g. adjustable blind, switch, RGB light, …).

The device type can be changed easily at any time in the 1Home Dashboard, see how and it requires no knowledge of KNX programming if your installer has done his job already. The same goes for entering the missing group addresses. If they are pre-programmed, they are imported automatically at the ETS project file upload.

This is how the mobile app UI looks for each smart assistant platform once you import the devices:

Here are all popular KNX device types and the required addresses that a KNX programmer needs to include for great visualisation experience with smart assistants:

It is used for setting any device ON or OFF. Feel free to use it for anything that requires only the on/off switching and make it smart (e.g. dishwasher, coffee machine, ….). This is how it is shown in 1Home Dashboard:

Requirements:

Additional settings:

Lights can be imported as Simple Lights (only on/off functions), Dimming Light (on/off, set % value), RGB lights (on/off, set % value, change color), HSV Lights (on/off, set % value, change hue and saturation) or Color Temperature Lights (on/off, set % value, change light temperature).

Here are settings for Dimming light as they are the most common type:

Requirements:

The blinds device type is used for any window coverings: blinds, shades, curtains, sun screens, etc. There are Simple (on&off) and Adjustable blinds (on/off, set % value)

Here is the setup of an Adjustable Blind that’s the most flexible of the two:

Requirements:

Additional settings:

The Thermostat device type reads the temperature in the room and controls heating devices based on the desired temperature and heating mode. This is done simply in the assistant mobile app.

This is how the thermostat is shown in 1Home Dashboard:

Required functions:

Additional settings:

The Air Conditioning device type supports: controlling the temperature, fans, swing modes and heating/cooling modes. Please keep in mind that only Apple HomeKit supports this device type. This is how it is shown in 1Home Dashboard:

Required functions:

Additional settings:

Fan device type can be turned on/off and you can also set the speed of a fan (in %). Additionally you can add addresses for swing mode if your fan supports it.

Required functions:

Additional settings:

Note: Fans can’t be imported into Google Home and Alexa.

Garage Door device type is used for different types of garage doors, we support the opening via a pulse or toggle switch.

Required functions:

Pulse enabled

OR

Toggle enabled

Push button objects bring the control of your physical KNX wall switches to HomeKit and use them to also control HomeKit devices,

Required functions:

Additional settings:

The Speaker device type is used for controlling speakers of all sorts (please keep in mind that only Alexa and Google support them), here’s how it is shown in 1Home Dashboard:

Required functions:

If your ETS project file is missing any of the required functions, then the device won’t work reliably with the voice commands, the app won’t be able to show the status or, in the worst case, the device won’t be shown at all in the assistant’s mobile app.

If you’d like to find out what the common issues with KNX programming are when it comes to visualisation with smart assistants, head HERE. If you’re experiencing issues with your imported devices or you assume the KNX programming wasn’t done correctly, our support team is happy to guide you at the lower right corner of the 1home.io webpage.

A number of devices aren’t supported by the assistants, no matter the amount of KNX programming or what the KNX actuators themselves support. To see what KNX and Loxone devices Apple, Alexa and Google support, check out this these lists:

To use voice control with all of your KNX devices it’s important to be familiar with the exact commands that were programmed for your assistant. These commands are constantly being added as each assistant adds new ones or improves their language-processing. We have tested and collected the working commands for you.

To get a list of  tested voice commands for each device type and voice assistant, see:

I hope this article has given you the confidence needed to dive into KNX programming yourself or more insight into the world of KNX integrations.

In case you have any questions, feel free to kick off a conversation with our support team at the lower-right corner of the 1home.io webpage.

[5]
Edit
Query
Report
AIS Olleras
SALES REPRESENTATIVE WEIGHING AND FORCE MEASUREMENT INSTRUMENTS
Answer # 2 #

First of all, you should know that KNX is an open standard for commercial and domestic building automation. KNX devices can manage different types of devices including lighting, blinds and shutters, HVAC, security systems, energy management, sensors and much more.

KNX devices are commonly connected by a twisted pair bus and can be modified from a controller. The bus is routed to the electrical power supply to all devices and systems on the network linking sensors, controllers, actuators and system devices and components.

We want to give you a general overview of KNX programming, whether you are passionate about the smart home or an installer looking to discover the KNX world. Remember we are always at your disposal if you have questions about KNX programming, or on how to connect your KNX home automation system with the best smart home platforms such as Google Assistant, Apple HomeKit and Amazon Alexa, Home Assistant and IFTTT.

Once you have installed the KNX system, connecting it over a KNX IP interface, such as Easykon for KNX, you need to have software to program your KNX installation.

To proceed with KNX programming, you need a software called ETS, for which a license is necessary: the latest version of this software is ETS6. On the official KNX website you can compare the different ETS versions and find the one that best suits your needs. If you wish to begin with a trial version, you can use the ETS free version as a demo.

After having acquired a KNX interface, such as Easykon for KNX , an ETS software, you can start programming your system.

First of all, you can find all devices (both the KNX ones and those from other manufacturers) in the device catalogue: here, the device product data will give you an exact definition of how to use the device during programming. From the device catalogue, drag and drop the device data to a building structure which defines the structure of your building.

At this point you can create group addresses - commands that devices can trigger or listen to in order to complete an action based on their value - and use them later to connect them to different communication objects. Then drag and drop the group addresses onto the communication objects in order to establish communication between the devices.

You can configure the devices’ parameters in the parameters tab on the device details view. Now you can download the newly created configuration simply by clicking the download button: you will get a KNX project file to upload to your installation.

[5]
Edit
Query
Report
Monal Baqal
DIAMOND DIE POLISHER
Answer # 3 #
  • Step 1: Learn the basics with the online ETS eCampus.
  • Step 2: Configure your virtual smart home device with KNX Virtual.
  • Step 3: Extend your KNX knowledge with online KNX Webinars.
  • Step 4: Become a certified KNX Partner.
  • Step 5: KNX Literature.
[1]
Edit
Query
Report
Nnamdi Niciphor
Road Foreman Of Engines