Repository navigation
User Guide: KNX Agent
NOTE: THIS PROTOCOL IS NOT YET ACCESSIBLE VIA THE NEW MANAGER UI. IT IS HOWEVER ALREADY PART OF THE CODE BASE AND WILL BE ADDED IN NEXT RELEASES.
You can connect a KNX Gateway to the manager. When you import the corresponding ETS file, the manager will import all assets in the manager automatically. Here we describe the steps you need to take.
In the following example, you link your existing KNX Gateway by using the its IP address, eg. http://192.163.1.2.
- Login to the manager UI (
https://localhost/managerasadmin/secret) - Select the Assets tab and click
Create assetat the top of the Asset list on the left - Set the following:
- Asset name:
KNX Agent - Parent asset:
CustomerA -> Smart Homeand select 'OK' - Asset Type:
Agent
- Asset name:
- Click
Create assetat bottom of screen and then clickEdit assetin the top right - Click
Edit assetand add a new attribute:- Name:
Gateway - Type:
KNX
- Name:
- Click
Add attributeand then expand the new attribute (using button on the right of the attribute) then configure the Attribute configuration by setting/adding configuration items as follows:- KNX gateway host:
http://192.163.1.2 - You can configure the gateway by adding a new configuration item, by selecting it from the list:
KNX gateway host,KNX gateway port,KNX local bus address,KNX local host, orKNX use NAT(do not forget to click on 'Add item' for custom items).
- KNX gateway host:
- Click
Save assetat bottom of the screen
You now have a KNX protocol Agent to communicate with your own KNX Gateway.
The protocol connection status is DISCONNECTED until a KNX Gateway is really available on the provided base URL, with the correct configuration.
By adding a configuration item you can configure your KNX Gateway. The following commands are available:
- KNX gateway host, to...
- KNX gateway port, to...
- KNX local bus address, to...
- KNX local host, to...
- KNX use NAT, to...
You can now connect KNX devices, via the new Agent, by importing an ETS project file, this will automatically create assets and attributes ased on the group addresses defined in the ETS project file, each group address will create a new asset with a single attribute also with the same name (no spaces in attribute name), the attribute type is determined by the following naming convention:
- Group Address ends with #A - Actuator (executable attribute)
- Group Address ends with #S - Sensor (read only)
- Group Address ends with #SA or #AS - Actuator and sensor
** Only group addresses using this convention will be imported**
To perform an import:
- Go back to the 'Gateway' attribute, click 'Edit Asset', and expand the 'Gateway' attribute.
- Select the Parent of imported assets first, eg. 'Smart Home' and press 'OK'
- Click 'Upload & import links from file', and select the ETS file from a folder.
- After you click 'Open' you will see that all available commands and sensors are added as assets and attributes
You can now read sensor data as well as send commands to you your KNX devices.
Source · Documentation · Forum · Issues · Docker Images · OpenRemote Inc.