KNX Support

Initial support for the KNX protocol was build by Timo. This plugin connects to/works together with a daemon called 'eibd' which communicates with the gateway hardware.

Connection to the KNX bus

The physical connection can be made via an IP gateway or an USB gateway device, the eibd daemon connects to either one, only the startup parameters are different.

The daemon run a socket on port 6720 (default) which DomotiGa connects to.

Installing the eibd daemon

Prebuild packages are outdated and don't run well on newer Ubuntu/Linux distro's.
Even the latest source code need a patch not to crash with certain USB setups.

First install some pre-required packages:

$ sudo apt-get install libxml2-dev liblua5.1-0-dev

Then download and compile/install pthsem:

$ mkdir -p ~/install/eibd
$ cd ~/install/eibd
$ wget --no-check-certificate https://www.auto.tuwien.ac.at/~mkoegler/pth/pthsem_2.0.8.tar.gz
$ tar -zxvf pthsem_2.0.8.tar.gz
$ cd pthsem-2.0.8
$ ./configure

$ vi Makefile
Add " -D_FORTIFY_SOURCE=0" to the line starting with "CFLAGS" 

$ make
$ sudo make install

$ sudo ldconfig

Then download and compile/install eibd:

$ cd ~/install/eibd

$ wget http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_0.0.5.tar.gz
$ tar xzvf bcusdk_0.0.5.tar.gz

$ vi usb.patch

--- bcusdk-0.0.5/eibd/usb/linux_usbfs.c.orig    2011-01-26 11:50:08.000000000 +0100
+++ bcusdk-0.0.5/eibd/usb/linux_usbfs.c    2011-08-25 22:57:29.000000000 +0200
@@ -52,7 +52,8 @@
     return 0;
 }

-int clock_gettime(clockid_t clk_id, struct timespec *tp)
+#define clock_gettime(A,B) xclock_gettime(A, B)
+int xclock_gettime(clockid_t clk_id, struct timespec *tp)
 {
     pth_int_time (tp);
     return 0;

$ patch bcusdk-0.0.5/eibd/usb/linux_usbfs.c < usb.patch

$ cd bcusdk-0.0.5
$ ./configure --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel \
--enable-eibnetipserver --enable-groupcache

$ make
$ sudo make install

$ sudo ldconfig

Configuring autostart of eibd on startup

It's not recommended to run eibd as root, so create a user under which the daemon should run, or use your user account name.

Only if you want to create a new user for eibd to run with, here called 'eibd':

$ sudo useradd eibd -s /bin/false -U -M

Create an upstart config (eg for Ubuntu 14.04):

The user to run the script/daemon as is written in bold, change it if needed.

$ sudo vi /etc/init/eibd.conf

# eibd - startscript for the eibd daemon
#
# The eibd daemon provides communication with an KNX/EIB bus

description "eibd KNX/EIB daemon" 

start on net-device-up
stop on [!2345]

expect fork
normal exit 0

pre-start script
route add 224.0.23.12 dev eth0 2>&1 > /dev/null || true
end script

script
# Replace the user with your own userid if needed
USER="eibd" 
# Location of the eibd binary
DAEMON="/usr/local/bin/eibd" 
# The IP address the eibd should listen on, customize where needed
IPADDR="127.0.0.1" 
DAEMON_OPTS="-d -D -S -T -R -i -u --GroupCache --eibaddr=0.0.1 ipt:$IPADDR" 
exec start-stop-daemon --start -c $USER --exec $DAEMON -- $DAEMON_OPTS
end script

post-stop script
route delete 224.0.23.12 2>&1 > /dev/null || true
end script

Also change the IP address to the address of your gateway.

Testing the eibd daemon

Start the upstart script:

$ sudo initctl reload-configuration
$ sudo initctl start eibd

You could check the functionality of your KNX/EIB eibd from the command line with the following command:

Display any received KNX/EIB Messages on the bus: (debug)

$  vbusmonitor1 ip:localhost
LPDU: BC 11 01 09 14 E3 00 80 0C BC 9D :L_Data low from 1.1.1 to 1/1/20 hops: 06 T_DATA_XXX_REQ A_GroupValue_Write 0C BC 
LPDU: BC 11 01 09 15 E3 00 80 03 59 76 :L_Data low from 1.1.1 to 1/1/21 hops: 06 T_DATA_XXX_REQ A_GroupValue_Write 03 59 

Display any received KNX/EIB group messages on the bus:

$ groupsocketlisten ip:localhost
Write from 1.1.1 to 1/1/20: 0C BC 
Write from 1.1.1 to 1/1/21: 03 59 
Write from 1.1.1 to 1/1/24: 00 
Write from 1.1.1 to 1/1/23: 13 24 52 60 
Write from 1.1.1 to 1/1/20: 0C BC 
Write from 1.1.1 to 1/1/21: 03 59 
Write from 1.1.1 to 1/1/24: 00 
Write from 1.1.1 to 1/1/23: 13 24 52 60 
Write from 1.1.1 to 1/1/20: 0C BC 
Write from 1.1.1 to 1/1/21: 03 59 

Write to a group address (use one of your actors)
1/2/3 is the Group Address, 0/1 is on or off

$ groupswrite ip:localhost 1/2/3 0
Send request

Configure KNX plugin

After installing and checking functionality of eibd it's time to configure DomotiGa.

It's quite simple, open KNX plugin settings, enable it, and check if eibd host and port are correct.
Enable Debug to see communication in the debug log, and click Save.

KNX/EIB Devicetypes

Each KNX/EIB device whether it's connected to the bus via TP or RF, uses one or more group address objects, their format and usage is defined in a standard.
Well actually two, in the older EIB standard objects are referring to EIS1-15.
KNX uses datapoints (called DPT), and two actuators, 'Dimming Actuator Basic' and 'Sunblind Actuator Basic'.

See attachment:03_07_02 Datapoint Types v1.07.00 AS.pdf for all the details.

Below all common types are described with extra info when needed.

DPT 1.* 1-Bit

This DPT has a format of 1-Bit, so it's either 0 or 1.
Using specific sub-types the KNX plugin maps the 0-1 to On-Off, Up-Down etc.

+-----------------------------------+-------------+---------------+
| name                              | description | addressformat |
+-----------------------------------+-------------+---------------+
| KNX DPT 1.001 Switch              | DPT 1.001   | 0/1/2[|1/2/3] |
| KNX DPT 1.002 Boolean             | DPT 1.002   | 0/1/2         |
| KNX DPT 1.003 Enable              | DPT 1.003   | 0/1/2         |
| KNX DPT 1.004 Ramp                | DPT 1.004   | 0/1/2         |
| KNX DPT 1.005 Alarm               | DPT 1.005   | 0/1/2         |
| KNX DPT 1.006 BinaryValue         | DPT 1.006   | 0/1/2         |
| KNX DPT 1.007 Step                | DPT 1.007   | 0/1/2         |
| KNX DPT 1.008 Up/Down             | DPT 1.008   | 0/1/2         |
| KNX DPT 1.009 Open/Close          | DPT 1.009   | 0/1/2         |
| KNX DPT 1.010 Start/Stop          | DPT 1.010   | 0/1/2         |
| KNX DPT 1.011 State               | DPT 1.011   | 0/1/2         |
| KNX DPT 1.012 Invert              | DPT 1.012   | 0/1/2         |
| KNX DPT 1.013 Dim Set Style       | DPT 1.013   | 0/1/2         |
| KNX DPT 1.014 Input Source        | DPT 1.014   | 0/1/2         |
| KNX DPT 1.015 Reset               | DPT 1.015   | 0/1/2         |
| KNX DPT 1.016 Acknowledge         | DPT 1.016   | 0/1/2         |
| KNX DPT 1.017 Trigger             | DPT 1.017   | 0/1/2         |
| KNX DPT 1.018 Occupancy           | DPT 1.018   | 0/1/2         |
| KNX DPT 1.019 Window/Door         | DPT 1.019   | 0/1/2         |
| KNX DPT 1.021 Logical Function    | DPT 1.021   | 0/1/2         |
| KNX DPT 1.022 Scene AB            | DPT 1.022   | 0/1/2         |
| KNX DPT 1.023 Shutter/Blinds Mode | DPT 1.023   | 0/1/2         |
| KNX DPT 1.100 Heat/Cool           | DPT 1.100   | 0/1/2         |
+-----------------------------------+-------------+---------------+

DPT 2.* 1-Bit

Same as DPT-1 but with Priority/Forced bit, working as a overrule, block for other devices.

+------------------------------------+-------------+------+
| name                               | description | type |
+------------------------------------+-------------+------+
| KNX DPT 2.xxx 1-Bit Priority       | DPT 2.xxx   | KNX  |
| KNX DPT 2.001 Switch Priority      | DPT 2.001   | KNX  |
| KNX DPT 2.002 Bool Priority        | DPT 2.002   | KNX  |
| KNX DPT 2.003 Enable Priority      | DPT 2.003   | KNX  |
| KNX DPT 2.004 Ramp Priority        | DPT 2.004   | KNX  |
| KNX DPT 2.005 Alarm Priority       | DPT 2.005   | KNX  |
| KNX DPT 2.006 BinaryValue Priority | DPT 2.006   | KNX  |
| KNX DPT 2.007 Step Priority        | DPT 2.007   | KNX  |
| KNX DPT 2.008 Direction1 Priority  | DPT 2.008   | KNX  |
| KNX DPT 2.009 Direction2 Priority  | DPT 2.009   | KNX  |
| KNX DPT 2.010 Start Priority       | DPT 2.010   | KNX  |
| KNX DPT 2.011 State Priority       | DPT 2.011   | KNX  |
| KNX DPT 2.012 Invert Priority      | DPT 2.012   | KNX  |
+------------------------------------+-------------+------+

DPT 3.* 4-Bit Control with Priority/Forced bit for Dimming and Blinds

Implementation not finish yet
1 Bit control field (0 - Down/Dim/1 - Up/Brighten), 3 Bit stepcode field (1-7, 0 - Break)

+-------------------------------+-------------+------+
| name                          | description | type |
+-------------------------------+-------------+------+
| KNX DPT 3.007 Control Dimming | DPT 3.007   | KNX  |
| KNX DPT 3.008 Control Blinds  | DPT 3.008   | KNX  |
+-------------------------------+-------------+------+

DPT 4.* 1-Byte Character

+--------------------------------------+-------------+------+
| name                                 | description | type |
+--------------------------------------+-------------+------+
| KNX DPT 4.001 Character (ASCII)      | DPT 4.001   | KNX  |
| KNX DPT 4.002 Character (ISO 8859-1) | DPT 4.002   | KNX  |
+--------------------------------------+-------------+------+

DPT 5.* 1-Byte Relative

+----------------------------------------+-------------+---------------+
| name                                   | description | addressformat |
+----------------------------------------+-------------+---------------+
| KNX DPT 5.xxx Relative Value (0..100%) | DPT 5.xxx   | 0/1/2         |
| KNX DPT 5.001 Percentage (0..100%)     | DPT 5.001   | 0/1/2         |
| KNX DPT 5.003 Angle (Degrees)          | DPT 5.002   | 0/1/2         |
| KNX DPT 5.004 Percentage (0..255%)     | DPT 5.004   | 0/1/2         |
| KNX DPT 5.005 Ratio (0..255)           | DPT 5.005   | 0/1/2         |
| KNX DPT 5.006 Tariff (0..255)          | DPT 5.006   | 0/1/2         |
| KNX DPT 5.010 Counter Pulses (0..255)  | DPT 5.010   | 0/1/2         |
+----------------------------------------+-------------+---------------+

DPT 6.* 1-Byte value Signed

Range: -127 - 128

+------------------------------------------+-------------+------+
| name                                     | description | type |
+------------------------------------------+-------------+------+
| KNX DPT 6.001 Percentage (-128..127%)    | DPT 6.001   | KNX  |
| KNX DPT 6.010 Counter Pulses (-128..127) | DPT 6.003   | KNX  |
| KNX DPT 6.020 Status with Mode           | DPT 6.004   | KNX  |
+------------------------------------------+-------------+------+

DPT 7.* 2-Byte unsigned

+------------------------------------------+-------------+------+
| name                                     | description | type |
+------------------------------------------+-------------+------+
| KNX DPT 7.xxx 16-Bit Unsigned (0..65535) | DPT 7.xxx   | KNX  |
| KNX DPT 7.001 Pulses (0..100%)           | DPT 7.001   | KNX  |
| KNX DPT 7.002 Time (mS)                  | DPT 7.002   | KNX  |
| KNX DPT 7.003 Time (10 mS)               | DPT 7.003   | KNX  |
| KNX DPT 7.004 Time (100 mS)              | DPT 7.004   | KNX  |
| KNX DPT 7.005 Time (Sec)                 | DPT 7.005   | KNX  |
| KNX DPT 7.006 Time (Min)                 | DPT 7.006   | KNX  |
| KNX DPT 7.007 Time (Hour)                | DPT 7.007   | KNX  |
| KNX DPT 7.010 Property Data Type         | DPT 7.010   | KNX  |
| KNX DPT 7.011 Length (mm)                | DPT 7.011   | KNX  |
| KNX DPT 7.012 Current (mA)               | DPT 7.012   | KNX  |
| KNX DPT 7.013 Brightness (lux)           | DPT 7.013   | KNX  |
+------------------------------------------+-------------+------+

DPT 8.* 2-Byte Signed

Implemented not finished yet

+------------------------------------+-------------+------+
| name                               | description | type |
+------------------------------------+-------------+------+
| KNX DPT 8.001 Pulse Difference     | DPT 8.001   | KNX  |
| KNX DPT 8.002 Time Lag (mS)        | DPT 8.002   | KNX  |
| KNX DPT 8.003 Time Lag (10 mS)     | DPT 8.003   | KNX  |
| KNX DPT 8.004 Time Lag (100 mS)    | DPT 8.004   | KNX  |
| KNX DPT 8.005 Time Lag (Sec)       | DPT 8.005   | KNX  |
| KNX DPT 8.006 Time Lag (Min)       | DPT 8.006   | KNX  |
| KNX DPT 8.007 Time Lag (Hour)      | DPT 8.007   | KNX  |
| KNX DPT 8.010 Percentage Diff. (%) | DPT 8.010   | KNX  |
| KNX DPT 8.011 Rotation Angle (°)   | DPT 8.011   | KNX  |
+------------------------------------+-------------+------+

DPT 9.* 2-Byte Floating Point

+-------------------------------------+-------------+---------------+
| name                                | description | addressformat |
+-------------------------------------+-------------+---------------+
| KNX DPT 9.xxx 2-Byte Floating Point | DPT 9.xxx   | 0/1/2         |
| KNX DPT 9.001 Temperatue (°C)       | DPT 9.001   | 0/1/2         |
| KNX DPT 9.002 Temperature Diff. (K) | DPT 9.002   | 0/1/2         |
| KNX DPT 9.003 Kelvin/Hour (K/h)     | DPT 9.003   | 0/1/2         |
| KNX DPT 9.004 Lux (Lux              | DPT 9.004   | 0/1/2         |
| KNX DPT 9.005 Speed (Mtr/Sec)       | DPT 9.005   | 0/1/2         |
| KNX DPT 9.006 Pressure (Pa)         | DPT 9.006   | 0/1/2         |
| KNX DPT 9.007 Percentage (%)        | DPT 9.007   | 0/1/2         |
| KNX DPT 9.008 Air Quality (ppm)     | DPT 9.008   | 0/1/2         |
| KNX DPT 9.010 Time (Sec)            | DPT 9.010   | 0/1/2         |
| KNX DPT 9.011 Time (mS)             | DPT 9.011   | 0/1/2         |
| KNX DPT 9.020 Voltage (mV)          | DPT 9.020   | 0/1/2         |
| KNX DPT 9.021 Current (mA)          | DPT 9.021   | 0/1/2         |
| KNX DPT 9.022 Power Density (W/m²)  | DPT 9.022   | 0/1/2         |
| KNX DPT 9.023 Kelvin/Percent (K/%)  | DPT 9.023   | 0/1/2         |
| KNX DPT 9.024 Power (kW)            | DPT 9.024   | 0/1/2         |
| KNX DPT 9.025 Volume Flow (l/h)     | DPT 9.025   | 0/1/2         |
| KNX DPT 9.026 Rain Amount (l/m²)    | DPT 9.026   | 0/1/2         |
| KNX DPT 9.027 Temperature (°F)      | DPT 9.027   | 0/1/2         |
| KNX DPT 9.028 Wind Speed (km/h)     | DPT 9.028   | 0/1/2         |
+-------------------------------------+-------------+---------------+

DPT 10.001 3-Byte Time of Day

+----------------------------+-------------+---------------+
| name                       | description | addressformat |
+----------------------------+-------------+---------------+
| KNX DPT 10.001 Time of Day | DPT 10.001  | 0/1/2         |
+----------------------------+-------------+---------------+

DPT 11.001 3-Byte Date

+---------------------+-------------+---------------+
| name                | description | addressformat |
+---------------------+-------------+---------------+
| KNX DPT 11.001 Date | DPT 11.001  | 0/1/2         |
+---------------------+-------------+---------------+

DPT 12.001 4-Byte Unsigned Counter

+---------------------------------+-------------+------+
| name                            | description | type |
+---------------------------------+-------------+------+
| KNX DPT 12.001 Counter (Pulses) | DPT 12.001  | KNX  |
+---------------------------------+-------------+------+

DPT 13.* 4-Byte Signed

+----------------------------------------+-------------+------+
| name                                   | description | type |
+----------------------------------------+-------------+------+
| KNX DPT 13.001 Counter (Pulses)        | DPT 13.001  | KNX  |
| KNX DPT 13.002 Flow Rate (m³/h)        | DPT 13.002  | KNX  |
| KNX DPT 13.010 Active Energy (Wh)      | DPT 13.010  | KNX  |
| KNX DPT 13.011 Apparant Energy (VAh)   | DPT 13.011  | KNX  |
| KNX DPT 13.012 Reactive Energy (VARh)  | DPT 13.012  | KNX  |
| KNX DPT 13.013 Active Energy (kWh)     | DPT 13.013  | KNX  |
| KNX DPT 13.014 Apparant Energy (kVAh)  | DPT 13.014  | KNX  |
| KNX DPT 13.015 Reactive Energy (kVARh) | DPT 13.015  | KNX  |
| KNX DPT 13.100 Time Lag (Sec)          | DPT 13.020  | KNX  |
+----------------------------------------+-------------+------+

DPT 14.001 4-Byte Unsigned Counter

+-------------------------------------------------+-------------+------+
| name                                            | description | type |
+-------------------------------------------------+-------------+------+
| KNX DPT 14.xxx 4-Byte Floating Point            | DPT 14.xxx  | KNX  |
| KNX DPT 14.000 Acceleration (m/s²)              | DPT 14.000  | KNX  |
| KNX DPT 14.001 Angular Acceleration (rad/s²)    | DPT 14.001  | KNX  |
| KNX DPT 14.002 Activation Energy (J/mol)        | DPT 14.002  | KNX  |
| KNX DPT 14.003 Radioactive Energy (1/s          | DPT 14.003  | KNX  |
| KNX DPT 14.004 Amount of Substance (mol)        | DPT 14.004  | KNX  |
| KNX DPT 14.005 Amplitude                        | DPT 14.005  | KNX  |
| KNX DPT 14.006 Angle (radiant)                  | DPT 14.006  | KNX  |
| KNX DPT 14.007 Angle (degree)                   | DPT 14.007  | KNX  |
| KNX DPT 14.008 Angular Momentum (Js)            | DPT 14.008  | KNX  |
| KNX DPT 14.009 Angular Velocity (rad/s)         | DPT 14.009  | KNX  |
| KNX DPT 14.010 Area (m*m)                       | DPT 14.010  | KNX  |
| KNX DPT 14.011 Capacitance (F)                  | DPT 14.011  | KNX  |
| KNX DPT 14.012 Flux Density (C/m²)              | DPT 14.012  | KNX  |
| KNX DPT 14.013 Charge Density (C/m³)            | DPT 14.013  | KNX  |
| KNX DPT 14.014 Compressibility (m²/N)           | DPT 14.014  | KNX  |
| KNX DPT 14.015 Conductance (l/h)                | DPT 14.015  | KNX  |
| KNX DPT 14.016 Conductivity (S/m)               | DPT 14.016  | KNX  |
| KNX DPT 14.017 Density (kg/m³)                  | DPT 14.017  | KNX  |
| KNX DPT 14.018 Electric Charge (C)              | DPT 14.018  | KNX  |
| KNX DPT 14.019 Electric Current(A)              | DPT 14.019  | KNX  |
| KNX DPT 14.020 Electric Current Density (A/m²)  | DPT 14.020  | KNX  |
| KNX DPT 14.021 Electric Dipole Moment (Cm)      | DPT 14.021  | KNX  |
| KNX DPT 14.022 Electric Displacement (C/m²)     | DPT 14.022  | KNX  |
| KNX DPT 14.023 Electric Field Strenght (V/m)    | DPT 14.023  | KNX  |
| KNX DPT 14.024 Electric Flux (C)                | DPT 14.024  | KNX  |
| KNX DPT 14.025 Electric Flux Density            | DPT 14.025  | KNX  |
| KNX DPT 14.026 Electric Polarization (C/m²)     | DPT 14.026  | KNX  |
| KNX DPT 14.027 Electric Potential (V)           | DPT 14.027  | KNX  |
| KNX DPT 14.028 Electric Potential  Diff. (V)    | DPT 14.028  | KNX  |
| KNX DPT 14.029 Electromagnetic Moment (Am²)     | DPT 14.029  | KNX  |
| KNX DPT 14.030 Electromotive Force (V)          | DPT 14.030  | KNX  |
| KNX DPT 14.031 Energy (J)                       | DPT 14.031  | KNX  |
| KNX DPT 14.032 Force (N)                        | DPT 14.032  | KNX  |
| KNX DPT 14.033 Frequency (Hz)                   | DPT 14.033  | KNX  |
| KNX DPT 14.034 Angular Frequency (rad/s)        | DPT 14.034  | KNX  |
| KNX DPT 14.035 Heat Capacity (J/K)              | DPT 14.035  | KNX  |
| KNX DPT 14.036 Heat Flow Rate (W)               | DPT 14.036  | KNX  |
| KNX DPT 14.037 Heat Quantity                    | DPT 14.037  | KNX  |
| KNX DPT 14.038 Impedance (Ohm)                  | DPT 14.038  | KNX  |
| KNX DPT 14.039 Length (m)                       | DPT 14.039  | KNX  |
| KNX DPT 14.040 Light Quantity (J)               | DPT 14.040  | KNX  |
| KNX DPT 14.041 Luminance (cd/m²)                | DPT 14.041  | KNX  |
| KNX DPT 14.042 Luminous Flux (lm)               | DPT 14.042  | KNX  |
| KNX DPT 14.043 Luminous Intensity (cd)          | DPT 14.043  | KNX  |
| KNX DPT 14.044 Magnetic Field Strength (A/m)    | DPT 14.044  | KNX  |
| KNX DPT 14.045 Magnetic Flux (lm)               | DPT 14.045  | KNX  |
| KNX DPT 14.046 Magnetic Flux Density (T)        | DPT 14.046  | KNX  |
| KNX DPT 14.047 Magnetic Moment (Am²)            | DPT 14.047  | KNX  |
| KNX DPT 14.048 Magnetic Polarisation (T)        | DPT 14.048  | KNX  |
| KNX DPT 14.049 Magnetisation (A/m)              | DPT 14.049  | KNX  |
| KNX DPT 14.050 Magnetomotive Force (A)          | DPT 14.050  | KNX  |
| KNX DPT 14.051 Mass (Kg)                        | DPT 14.051  | KNX  |
| KNX DPT 14.052 Mass Flux (Kg/s)                 | DPT 14.052  | KNX  |
| KNX DPT 14.053 Momentum (N/s)                   | DPT 14.053  | KNX  |
| KNX DPT 14.054 Phase Angle (rad)                | DPT 14.054  | KNX  |
| KNX DPT 14.055 Phase Angle (°)                  | DPT 14.055  | KNX  |
| KNX DPT 14.056 Power (W)                        | DPT 14.056  | KNX  |
| KNX DPT 14.057 Power Factor (Cos Phi)           | DPT 14.057  | KNX  |
| KNX DPT 14.058 Pressure (Pa)                    | DPT 14.058  | KNX  |
| KNX DPT 14.059 Reactance (Ohm)                  | DPT 14.059  | KNX  |
| KNX DPT 14.060 Resistance (Ohm)                 | DPT 14.060  | KNX  |
| KNX DPT 14.061 Resistivity (Ohmm)               | DPT 14.061  | KNX  |
| KNX DPT 14.062 Self Inductance (H)              | DPT 14.062  | KNX  |
| KNX DPT 14.063 Solid Angle (sr)                 | DPT 14.063  | KNX  |
| KNX DPT 14.064 Sound Intensity (W/m²)           | DPT 14.064  | KNX  |
| KNX DPT 14.065 Speed (m/s)                      | DPT 14.065  | KNX  |
| KNX DPT 14.066 Stress (Pa)                      | DPT 14.066  | KNX  |
| KNX DPT 14.067 Surface Tension (N/m)            | DPT 14.067  | KNX  |
| KNX DPT 14.068 Temperature (°C)                 | DPT 14.068  | KNX  |
| KNX DPT 14.069 Temperature Absolute (°C)        | DPT 14.069  | KNX  |
| KNX DPT 14.070 Temperature Diff. (K)            | DPT 14.070  | KNX  |
| KNX DPT 14.071 Thermal Capacity (J/K)           | DPT 14.071  | KNX  |
| KNX DPT 14.072 Thermal Conductivity (W/mK)      | DPT 14.072  | KNX  |
| KNX DPT 14.073 Thermoelectric Power (V/K)       | DPT 14.073  | KNX  |
| KNX DPT 14.074 Time (Sec)                       | DPT 14.074  | KNX  |
| KNX DPT 14.075 Torque (Nm)                      | DPT 14.075  | KNX  |
| KNX DPT 14.076 Volume (m³)                      | DPT 14.076  | KNX  |
| KNX DPT 14.077 Volume Flux (m³/s)               | DPT 14.077  | KNX  |
| KNX DPT 14.078 Weight (N)                       | DPT 14.078  | KNX  |
| KNX DPT 14.079 Work (J)                         | DPT 14.079  | KNX  |
+-------------------------------------------------+-------------+------+

DPT 16.* Character String

+----------------------------------------------+-------------+------+
| name                                         | description | type |
+----------------------------------------------+-------------+------+
| KNX DPT 16.000 Character String (ASCII)      | DPT 16.000  | KNX  |
| KNX DPT 16.001 Character String (ISO 8859-1) | DPT 16.001  | KNX  |
+----------------------------------------------+-------------+------+

DPT 17.001 1-Byte Scene Number

+-----------------------------+-------------+------+
| name                        | description | type |
+-----------------------------+-------------+------+
| KNX DPT 17.001 Scene Number | DPT 17.001  | KNX  |
+-----------------------------+-------------+------+

DPT 18.001 1-Byte Scene Control

Activate 0, Learn 63

+------------------------------+-------------+------+
| name                         | description | type |
+------------------------------+-------------+------+
| KNX DPT 18.001 Scene Control | DPT 18.001  | KNX  |
+------------------------------+-------------+------+

h3. Dimming Actuator Basic

This is a special item defined in KNX standard.
It uses three object of different sizes to control a dimmer, and so you must specify 3 addresses and optional status address.
(Position, Control, Value) 1-Bit, 4-Bit, 1-Byte

+-----------------------------+-------------------+---------------------------+
| name                        | description       | addressformat             |
+-----------------------------+-------------------+---------------------------+
| KNX Dimming Actuator Basic  | KNX Device Dimmer | 0/1/2|0/1/3|0/1/4[|0/1/5] |
+-----------------------------+-------------------+---------------------------+

Sunblind Actuator Basic

This is a special item defined in KNX standard.
It uses two object of different sizes to control sunblinds.

+-----------------------------+-------------------+---------------------------+
| name                        | description       | addressformat             |
+-----------------------------+-------------------+---------------------------+
| KNX Sunblind Actuator Basic | KNX Device Blinds | 0/1/2|0/1/3[|0/1/5]       |
+-----------------------------+-------------------+---------------------------+

KNX Commander

Started to build a commander to do maintenance, and setting up of KNX devices.

Group actions

This tab is not finished yet, when it is you can select a specific DPT and value to send to the KNX bus.

Import from ETS

This function is working, you simply export your ETS project via menu Export OPC in ETS software.
And import this file, you can then select group object aand copy them over to create a DomotiGa KNX device.
It even create a value with correct unit, you only need to enabled control/switch/dimming options.

  • OLD *
    KNX/EIB Function Information length EIS Sensor Actuator DPT
    Blinds / Roller shutter 1 Bit EIS 7 DPT 1
    Priority 1 Bit, 2 Bit EIS 8 DPT 2
    IEEE Floating point 4 Byte EIS 9 DPT 14
    16-bit counter values 2 Byte EIS 10 DPT 7, DPT 8
    32-bit counter values 4 Byte EIS 11 DPT 12, DPT 13
    Access control 1 Byte EIS 12 DPT 15
    ASCII character 1 Byte EIS 13 DPT 4
    8-bit counter values 1 Byte EIS 14 DPT 5, DPT6
    14 Byte string 14 Byte EIS 15 DPT 16

Devicetype "KNX/EIB Motor Drives" (EIS7)

Use this for Blinds/Roller shutters, the address format is:
0/1/2

The size of the value is 1 Bit.

Devicetype "KNX/EIB Forced Control" (EIS8)

Use this for Priority, the address format is:
0/1/2

The size of the values is 1 Bit/2 Bit.

Devicetype "KNX/EIB 32bit Float" (EIS9)

Use this for 32 Bits Floating values, the address format is:
0/1/2

The size of the values is 4 Bytes.

Devicetype "KNX/EIB 16bit Int" (EIS10)

Use this for 16 Bits Counter values, the address format is:
0/1/2

The size of the values is 2 Bytes.

Devicetype "KNX/EIB 32bit Int" (EIS11)

Use this for 32 Bits Counter values, the address format is:
0/1/2

The size of the values is 4 Bytes.

Devicetype "KNX/EIB Access Control" (EIS12)

Use this for Access Controllers, the address format is:
0/1/2

The size of the values is 1 Byte.

Devicetype "KNX/EIB ASCII Char" (EIS13)

Use this for 1 ASCII char values, the address format is:
0/1/2

The size of the values is 1 Byte.

Devicetype "KNX/EIB 8bit Int" (EIS14)

Use this for 8 Bit Counter values, the address format is:
0/1/2

The size of the values is 1 Byte.

Devicetype "KNX/EIB 14Byte Text" (EIS15)

Use this for 14 Byte ASCII Texts, the address format is:
0/1/2

The size of the values is 14 Bytes.

Resources

    Updated by: Alexie, Updated over 1 year ago
    Access count: 83352 since 2011-08-25

    Attached Files

    knx-ip-gateway.jpg (34.3 KB) rdnzl, 09/07/2014 02:32 PM

    03_07_02 Datapoint Types v1.07.00 AS.pdf (2.27 MB) rdnzl, 10/19/2014 04:03 PM

    knx-commander.png (110 KB) rdnzl, 10/21/2014 10:01 PM

    knx-settings.png (19.5 KB) rdnzl, 01/25/2015 11:57 AM

    Also available in: PDF HTML TXT