Working with KNX in Automations
KNX is very important to us and we always do our best to provide great support for it in our products.
In Automations, like in other parts of the 1Home Server, KNX is a first class citizen.
It is very easy to listen for telegrams received from KNX, read group address values and write directly to the KNX bus.
Table of contents
Want to write time & date to KNX bus?
You can use Automations to write date and time to KNX bus. Download a KNX Date & Time automation template.
In BETA
Automations are currently in BETA. If you find any issues, please submit a bug report.
🎬 Video tutorial
Reacting to new KNX telegrams
You can listen for new KNX telegrams on a specific KNX gateway and group address and use it to trigger automations.
Configuration:
Group Address
- If you have previously imported an ETS project file, you can select a group address from the list and search for it by name. If the Datapoint Type was provided in ETS it is automatically selected. Otherwise you can manually type in the group address.Datapoint Type
- You can choose from many different KNX Datapoint Types to specify in which way you expect the telegram to be interpreted. If any is missing, let us know and we will add it (submit a bug report and selectOther
, then type your desired DPT).Only Trigger on Value Change
- For some telegrams such as push button events you want to react every time, even if the value that you receive is the same as the previous one. With other devices where you only want to react on state change (e.g. water pump), you canenable
this value and any retransmits of the same value will be ignored.
In the later steps of the automation you can use the value of the KNX telegram received in the trigger (as interpreted based on the Datapoint Type
) as a Dynamic Data.
Select the value of the trigger which received a KNX telegram.
It can then be used in the Dynamic inputs as shown below.
Learn more about Dynamic Data in the Using dynamic data guide.
Writing KNX Group Address
You can write a new value to a KNX bus for a specific group address, datapoint dype and gateway. You can either use the value from the dropdown (e.g. true
or false
) or use a Dynamic data to for example send to KNX a specific state of some device.
Configuration:
Group Address
- If you have previously imported an ETS project file, you can select a group address from the list and search for it by name. If the Datapoint Type was provided in ETS it is automatically selected. Otherwise you can manually type in the group address.Datapoint Type
- You can choose from many different KNX Datapoint Types to specify in which way you expect the telegram to be interpreted. If any is missing, let us know and we will add it (submit a bug report and selectOther
, then type your desired DPT).Group Value Type
- Can be eitherGroup Value Write
orGroup Read Response
(Group Value Read
uses a dedicated command, explained in the next section). When writing data to KNX bus, usuallyGroup Value Write
is used.
Reading KNX Group Address
You can read a value from a KNX bus for a specific group address, datapoint type and gateway. You can then use the received value in the next steps of the automation.
Configuration:
Group Address
- If you have previously imported an ETS project file, you can select a group address from the list and search for it by name. If the Datapoint Type was provided in ETS it is automatically selected. Otherwise you can manually type in the group address.Datapoint Type
- You can choose from many different KNX Datapoint Types to specify in which way you expect the telegram to be interpreted. If any is missing, let us know and we will add it (submit a bug report and selectOther
, then type your desired DPT).
In automation steps after the read is performed, you can use the returned value.
Simply select it from the Dynamic Data list as shown below.
It can then be used in the Dynamic inputs as shown below.
Learn more about Dynamic Data in the Using dynamic data guide.