[Homematic] Openhab loses connection to CCU after upgrade to OH2.2.0
See original GitHub issueI’m running Homematic CCU1. Operation with OH2.1 on RaspPi (Raspbian) works fine, but after upgrade to OH2.2.0 the connection between OH and the CCU gets lost about all 30 seconds. Most of the time the connection resumes automatically, but after a while the connection gets lost completly. In such case the Homematic ended up in an undefined status.
Expected Behavior
Stable connection between OH (OH2.2.0) and CCU1 as it worked with OH2.1.0
Current Behavior
When running Homematic CCU, then starting OH2.2.0, the connection between both seems to be stable during setup phase. Some while after entering normal operation the Log-File shows e.g.
2018-01-06 22:39:33.599 [WARN ] [ommunicator.AbstractHomematicGateway] - Connection lost on gateway 'bb33c5fa'
Shortly later the connection is resumed automatically:
2018-01-06 22:39:39.887 [INFO ] [ommunicator.AbstractHomematicGateway] - Connection resumed on gateway 'bb33c5fa'
This behaviour occurs again after 20 to 40 seconds again and again.
After some minutes (sometimes up to more than an hour) the connection between both systems brakes down completely. All other functions in OH are still running without any degradation. The Homematic CCU ends up in an undefined state, i.e. sometimes it is still accessable via the web interface, sometimes the CCU has to be reset completly.
Steps to Reproduce (for Bugs)
All other bindings and all items have been removed so that only the pure binding was established. --> no change
Your Environment
- Version used: OH2.2.0 and addons from apt repository
- Operating System: Raspbian Jessie
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:43 (12 by maintainers)

Top Related StackOverflow Question
@macmeck thanks for testing! Good news, i finally found the bug in the CCU1 connection tracker 😃 see PR https://github.com/openhab/openhab2-addons/pull/3498
@macmeck I‘m aware of that. I just wanted to clarify with my Post that the problem still exists for Homegear also (after the HG 0.8. x-Patch mentioned @gerrieg) for Homegear. But since some minutes the PR is merged. I will update my OH Installation today evening when I‘m at home. If I can help at some point with this (Trace-Logs or anything else) just let me know.