That’s really weird, because the core of the binding is almost the same in version 2 as in version 1.
What do you have in the log for OH 1.x version of the binding when it is starting?
I don’t think details about your alarm configuration could help, as version 1 works well. Do you have the same binding configuration in version 2 as in 1? I mean refresh time, encryption, timeouts.
That’s really interesting. Theoretically I should have the same version, but it is built by me not the one from the distribution. Anyway that’s something I need to check.
I tried 2.5.3 and 2.5.4 , unfortunately it does not work for me, log shows the same problem, I installed OH by sudo apt-get install openhab2=2.5.3-1 , when I came back to 2.4.0 it started working again without any problem.
Unfortunately I cannot upgrade to 2.5.4 because of some repository issues. But definitely 2.5.3-1 should work. You could also try the version from the marketplace.
Yes I do have the same settings. I tried increasing timeouts but that just delays the behavior.
I will answer your first question last while I am doing more tests you requested.
@druciak so I tried downgrading to OH 2.4 as suggested by @greg161 and tada it works for me immediately as well!
Now this is a a nice surprise!
I hope this maybe helps to find the issue, what do you think ?
All the items come online and stay online. No more looping.
I upgraded to 2.5.4 again, but this time I removed the package for legacy addons (which is only available up to 2.5.3 apparently) and removed the addons package reverting to downloading the extensions I suppose.
Though this did not change anything. It keeps looping in connect/timeout again.
Guys, I am sorry for the inconvenience. I should have guessed the reason earlier. I bet command 7C introduced recently makes troubles. It is supported by newer versions of the ETHM firmware, but I guess older modules do not respond to it.
I will try to come up with a solution soon.
By the way, the command 7C has been added in 2.5.1. If any of you @sim0nx@greg161 could test 2.5.0, that would help to prove that command 7C is a trouble. In that case 2.5.0 should work without any problem.
New version is available at the marketplace. It contain fix for the issue mentioned by @sim0nx and @greg161. It also contains a small fix for incorrect date or time set in Integra panel.
I hope it will solve your issues guys. Let me know how it works.