eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 783 forks source link

[Homematic] no automatic value update after upgrade to OpenHAB 2.4 #6700

Closed macmeck closed 5 years ago

macmeck commented 5 years ago

After upgrading my OpenHAB 2.3 installation to 2.4, the Homematic items won't update their values any more. When I restart OpenHAB, the current (correct!) values are being retrieved from the CCU1 but they don't update during normal operation. Manually refreshing the datapoints works as well.

The log does not give any indication on what could be wrong. Am I missing an important step after the upgrade?

macmeck commented 5 years ago

Am I the only one having this issue? For all other Homematic users it's working fine? @gerrieg, did you see something similar during testing?

gerrieg commented 5 years ago

Without more details it's hard to say what's wrong. There is no special upgrade step for Homematic. Did you set the callbackHost bridge parameter?

macmeck commented 5 years ago

Yes, the Callback Network Address is set and the configuration works fine in OpenHAB 2.3.

I will try to strip down my setup to isolate the relevant parts and send a trace log in the next couple of days.

macmeck commented 5 years ago

Okay, here we go with a trace log: openhab.log

gerrieg commented 5 years ago

Set the callbackHost to 172.17.0.1 and not to openhab.xundheit, maybe the CCU can't resolve the name.

macmeck commented 5 years ago

Hm, that seems to do the trick, thanks! So this is something within core OH and not the binding. There seems to be a change somewhere that does the name resolution in a different way. As I said, OH2.3 was fine (also after downgrading) and OH2.4 seems to need the IP Address.