Hello community,
I’m a total n00b at OH2/Openhabian/Raspberries and the like, so be gentle.
I have a knx system running including a Gira X1. Due too the limited possibilities of the Gira X1 I started looking into other options and decided to go for a RasberryPi 3B+ running Openhabian and OH2.
I managed to set up OH2, including things and items. I haven’t explored beyond switching some light and logging values from the KNX system such as temperatures and the position of heating actuator valves. That is working fine, no lag or delay. So far so good.
Unfortunately the bridge keeps turning off-line without any apparent cause (to me at least). After some searching within this community and going trough several treads I managed to put some extra items to be logged, such as debug and trace. Below some of the entries in the log.
2018-12-23 17:14:16.930 [hingStatusInfoChangedEvent] - 'knx:ip:X1' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): server request
2018-12-23 17:14:16.982 [ERROR] [net/IP Tunneling 192.168.178.12:3671] - establishing connection failed, null
2018-12-23 17:14:16.984 [DEBUG] [nx.internal.client.AbstractKNXClient] - Error connecting to the bus: null
java.lang.InterruptedException: null
2018-12-23 17:14:17.063 [hingStatusInfoChangedEvent] - ‘knx:ip:X1’ changed from OFFLINE (COMMUNICATION_ERROR): server request to OFFLINE (COMMUNICATION_ERROR)
2018-12-23 17:14:17.092 [hingStatusInfoChangedEvent] - ‘knx:ip:X1’ changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE
If I make a small change in the .things file and when I hit save, the bridge and the associated things come back on-line immediately. Sometimes some things will show offline in the PaperUI but the item associated is still working. This is mentioned in other treads also but is said to have no influence on the workings of OH2.
I’ve been playing around with some of the non-mandatory settings for the bridge such as autoreconnect and localIp but nothing seems to cure this problem for more then a couple of hours at most. Yesterday I restarted the Gira X1 and the error didn’t return for half a day but this morning the whole system was stopped again. However I’ve also had 30 minutes between two off-line errors appearing. There is no clear pattern to be observed yet.
Hereby the relevant section of my .things file:
Bridge knx:ip:X1 "GIRA X1 KNX/IP GATEWAY" @ "KNX Schakelkast"
[
type="TUNNEL",
ipAddress="192.178.168.12",
portNumber=3671,
//localIp="192.178.168.16"
// readingPause=50,
// responseTimeout=10,
//readRetriesLimit=3,
autoReconnectPeriod=10
//localSourceAddr="1.1.251" //X1 is 1.1.250, tunnels are 251, 252, 253 and 254//
]
The Gira X1 is setup via ETS5. It has a main address at 1.1.250, and 4 host addresses 1.1.251 to 1.1.255. The Gira X1 app (iOS) is working fine all the time. Programming via ETS5 of knx actuators and such is also no problem. In that respect the X1 is behaving as an IP interface to KNX TP with no problems
Can anybody show me a direction to look for possible errors or items to check? Thanks in advance.