- Platform information:
- Hardware: Raspberry Pi 3 Model B Rev 1.2
- OS: Linux 4.14.79-v7+
- Java Runtime Environment: OpenJDK Runtime Environment (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 1.8.0_152-b76)
- openHAB version: openHAB 2.4.0-1 (Release Build)
- Issue of the topic: KNX connection not working
Hej community,
I’m new to openHAB and would like to connect my knx bus, which is an MDT IP Interface:
## Device Info
Device is currently running in normal mode.
|Status:|normal operation|
| --- | --- |
|DHCP:|On|
|IP Address:|192.168.178.36|
|Subnet Mask:|255.255.255.0|
|Gateway:|192.168.178.1|
|DNS:|192.168.178.1|
|Http Port:|8080|
|MAC Address:|CC-1B-E0-80-1D-76|
|Hostname:|KNX-IPIF-801D76|
|Description:|MDT KNX TP IP|
|UDN:|uuid:025a2c2d-025a-2c49-4a51-cc1be0801d76|
|Application SW version:|1.0.6|
|Bootloader SW version:|2.3|
## KNX IP-Interface
Status Programming Mode: Off
Change Programming Mode:
Individual Address 1. 1. 2
Tunneling Addresses 1. 1. 2
1. 1.242
15.15.243
15.15.244 not in use
not in use
UDP: 192.168.178.60
not in use
Set Tunneling Addresses
Serial Number 0083-5B7F0281
## TP Device (E-Mail)
Status Programming Mode: Off
Change Programming Mode:
Individual Address 15.15.254
Serial Number 0083-5B7F0282
I installed openHAB 2.4 and the knx2-binding and configured the following files:
knx.cfg:
ipAddress=192.168.178.36
busaddr=1.1.242
portNumber=3671
localIp=192.168.178.60
knx.things:
Bridge knx:ip:bridge [
ipAddress="192.168.178.36",
portNumber=3671,
localIp="192.168.178.60",
type="TUNNEL",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr="0.0.0"
] {
Thing device generic [
address="1.1.2",
fetch=true,
pingInterval=300,
readInterval=3600
] {
Type switch : Licht_EG_Arbeitszimmer "Licht Arbeitszimmer" [ ga="1/0/1+<1/2/1" ]
}
}
knx.items:
Switch Licht_EG_Arbeitszimmer "Licht Arbeitszimmer" <Arbeitszimmer> {knx="1/0/1+<1/2/1"}
Switch Licht_EG_Flur_Wandspots "Licht Flur Wandspots" (Flur) {knx="1/0/9+<1/2/15"}
myHome.sitemap:
sitemap myHome label="myHome1" {
Frame label="Außen" {
Text item=Temperature label="Temperatur [%.1f °C]"
Text item=Humidity label="Luftfeuchte [%d %%]"
}
Frame label="Licht" {
Switch item=Licht_EG_Arbeitszimmer icon="light"
Switch item=Licht_EG_Flur_Wandspots icon="light"
}
}
Clicking in the sitemap does not take any effect. When I configure the switch with these group addresses in my BlueHome app it works fine. I think, there is some connection problem to the MDT IP Interface.
I’ve not yet understood if I have to take TUNNEL mode or ROUTER mode for this IP interface, but tried both without any success so far.
I really appreciate any help, thank you very much,
Carsten