The brigde goes OFFLINE and does not try to reconnect (although I have a autoReconnectPeriod=3), only reboot helps here to bring knx bridge online again. For information: In parallel the ETS is connected (I guess via a separate tunnel)
Well, that was ages ago
In fact, your configurations seems ok to me. I’m pretty sure that reconnect does not work at all, at least for some interfaces. I think knx2 is very damageable
On the other hand, my last reboot for openHAB2 (OH2.5, Build #1502) is 44 days ago, no knx crash…
Thanks a lot. So you would propose to move to OH2.5? I‘m running on the last OH2.4 stable version. Was so far a little bit reluctant to a „under testing“ version…
I have the same problem. If I shutdown the router, the connection to the knx bridge go offline and it don’t retry to connect to him despite the router is back up
Well, No. At least for now there is a big problem, that openHAB “nightly” is partially broken.
You can use OH2.5 M-1 (milestone) but I doubt that this will solve the problem.
In fact, I had sometimes twice a week a “knx-down-problem” (with this Build!).
But I’m still on OH1.8.0 with my productive system, my OH2.5 installation is still only a test.
There are several rules which I have to migrate, and as long as knx2 with openHAB2 is not as stable as knx1 with openHAB1, an upgrade will be some sort of “Move one step forward only to move two steps backwards”.
@Udo_Hartmann: thanks a lot for your response. However this is bad news, as it was quite some effort to move my stuff to knx2. I hopped to get a better system. For now, it does not seem so😢
@Udo_Hartmann: one last question for the moment. Do you think it would make sense to put knxd between openhab and the IP-Interface. With that I could let openhab run in router mode. However, I think you already mentioned in knx-forum.de that there will also be some “ Fallstricke”.
Hi Guys, not sure if this is in direct relation to this thread, but maybe someone can help me (again). I have a major issue (again) with the KNX connection.
Everything has been running flawless and to my full satisfaction since November. I did not change or even touch anything, but starting 3 days ago, there is some weird behavior of the KNX connection.
KNX link is lost aproximately every 5 minutes, before it becomes online again after flooding the log with errors for ~3 minutes.
Again, I did not change anything; I tried restarting OH2 (Raspberry), as well as all switches, Router, DHCP Server, KNX Gateway, … with no success.
No light when coming home at night, or lights staying on because OH doesn’t hear the “OFF” signal on the KNX bus; the system is not usable anymore… this is HAPPY EASTER.
Any idea what I can do? please help me ;(
A few lines from the log:
2019-04-22 12:55:12.016 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2019-04-22 12:55:12.024 [hingStatusInfoChangedEvent] - 'knx:device:bridge:lights' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2019-04-22 12:55:14.326 [vent.ItemStateChangedEvent] - N_BU_Temperatur changed from 21.3 to 21.400000000000002
2019-04-22 12:55:14.431 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 754.5600000000001 to 780.16
2019-04-22 12:57:59.228 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): server request
2019-04-22 12:57:59.250 [hingStatusInfoChangedEvent] - 'knx:device:bridge:lights' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2019-04-22 12:57:59.268 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2019-04-22 12:57:59.274 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from OFFLINE (COMMUNICATION_ERROR): server request to ONLINE
2019-04-22 12:57:59.280 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2019-04-22 12:57:59.285 [hingStatusInfoChangedEvent] - 'knx:device:bridge:lights' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2019-04-22 12:58:00.419 [vent.ItemStateChangedEvent] - N_SZ_Temperatur changed from 21.2 to 21.1
2019-04-22 12:58:01.716 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 780.16 to 733.44
2019-04-22 12:58:01.869 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 733.44 to 734.08
2019-04-22 12:58:12.428 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 734.08 to 721.92
2019-04-22 12:58:17.703 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 721.92 to 734.08
2019-04-22 12:59:10.502 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 734.08 to 719.36
2019-04-22 12:59:52.738 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 719.36 to 708.48
2019-04-22 13:00:29.699 [vent.ItemStateChangedEvent] - N_VH_Helligkeit changed from 708.48 to 697.6
==> /var/log/openhab2/openhab.log <==
2019-04-22 13:03:19.248 [WARN ] [NXnet/IP Tunneling 192.168.0.22:3671] - connection state response: server could not find active data connection with specified ID (channel 43)
2019-04-22 13:03:29.249 [WARN ] [NXnet/IP Tunneling 192.168.0.22:3671] - connection state response: server could not find active data connection with specified ID (channel 43)
2019-04-22 13:03:39.249 [WARN ] [NXnet/IP Tunneling 192.168.0.22:3671] - connection state response: server could not find active data connection with specified ID (channel 43)
2019-04-22 13:03:59.248 [WARN ] [NXnet/IP Tunneling 192.168.0.22:3671] - close connection - no heartbeat response
2019-04-22 13:03:59.264 [ERROR] [NXnet/IP Tunneling 192.168.0.22:3671] - establishing connection failed, null
==> /var/log/openhab2/events.log <==
2019-04-22 13:03:59.296 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): no heartbeat response
2019-04-22 13:03:59.317 [hingStatusInfoChangedEvent] - 'knx:device:bridge:lights' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2019-04-22 13:03:59.331 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from OFFLINE (COMMUNICATION_ERROR): no heartbeat response to OFFLINE (COMMUNICATION_ERROR)
2019-04-22 13:03:59.335 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
2019-04-22 13:03:59.342 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE
2019-04-22 13:03:59.351 [hingStatusInfoChangedEvent] - 'knx:device:bridge:generic' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2019-04-22 13:03:59.357 [hingStatusInfoChangedEvent] - 'knx:device:bridge:lights' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2019-04-22 13:04:23.459 [ERROR] [NXnet/IP Tunneling 192.168.0.22:3671] - close connection - maximum send attempts
tuwien.auto.calimero.KNXAckTimeoutException: maximum send attempts, no service acknowledgment received
at tuwien.auto.calimero.knxnetip.ConnectionBase.send(ConnectionBase.java:250) ~[?:?]
at tuwien.auto.calimero.knxnetip.KNXnetIPTunnel.send(KNXnetIPTunnel.java:178) ~[?:?]
at tuwien.auto.calimero.link.KNXNetworkLinkIP.onSend(KNXNetworkLinkIP.java:243) ~[?:?]
at tuwien.auto.calimero.link.AbstractLink.send(AbstractLink.java:351) ~[?:?]
at tuwien.auto.calimero.link.KNXNetworkLinkIP.sendRequestWait(KNXNetworkLinkIP.java:222) ~[?:?]
at tuwien.auto.calimero.process.ProcessCommunicatorImpl.readFromGroup(ProcessCommunicatorImpl.java:418) ~[?:?]
at tuwien.auto.calimero.process.ProcessCommunicatorImpl.read(ProcessCommunicatorImpl.java:346) ~[?:?]
at org.openhab.binding.knx.internal.client.AbstractKNXClient.readNextQueuedDatapoint(AbstractKNXClient.java:284) ~[?:?]
at org.openhab.binding.knx.internal.client.AbstractKNXClient.lambda$1(AbstractKNXClient.java:199) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
==> /var/log/openhab2/events.log <==
2019-04-22 13:04:23.536 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): maximum send attempts
2019-04-22 13:04:23.544 [hingStatusInfoChangedEvent] - 'knx:dev
Hi There.
Nevermind my last post - after further investigation it turned out that one of my ethernet switches seems to be defective. Ping to the MDT KNX IP Router (BTW anyway used in Tunnel mode in my case) brought ~75% package loss. Connected it to another switch and everything works like a charm again.
In other words I can only tell you that the above mentioned version of OH2, together with the official KNX2 binding it came along with at that times, has been working pretty stable in my productive environment on a RaspberryPi since November 2018 +/-. Not sure if this is of any help for anyone who might read this.
@Udo_Hartmann: i guess i will have to set up my system from scratch (i suspect that also sd card makes problem, i.e. is at end of life cycle).
In this context i think to remember one of your comments that you have configured your system fully on a file basis (among others in order to make a fresh set-up easier) In my case i fully configured the things, items and .cfg files (where still necessary) via files.
Now to my question: is there anything else what could be configured via files e.g. habpanel (to my understanding not possible to configure via file), but also runtime.cfg, addons.cfg etc.
Idee would be to just throw these files after installation via openhabian into the respective folders
@Udo_Hartmann
Fresh set-up was unexpectedly easy. Basically I just reinserted my config files to /etc/openhab2/ on the freshly set-up System
With habpanel I did something similar just with the file habpanel.config in the folder /var/lib/openhab2/config/org/openhab/.
I know there is a back/restore function from OH 2.2 onwards. But I wanted only the things have migrated which I textually configured (I have no clue anymore what I did overtime in paperui)