Hi,
Homematic Binding stops working when my host gets a second network interface (openvpn in this case). I added and configured CCU2 via PaperUI, and org.eclipse.smarthome.core.thing.Thing.json looks like this:
"homematic:bridge:ccu2": {
"class": "org.eclipse.smarthome.core.thing.internal.BridgeImpl",
"value": {
"label": "Homematic Bridge",
"channels": [],
"configuration": {
"properties": {
"cuxdPort": 8701.0,
"socketMaxAlive": 900.0,
"reconnectInterval": 0.0,
"aliveInterval": 900.0,
"timeout": 15.0,
"hmIpPort": 2010.0,
"wiredPort": 2000.0,
"gatewayType": "ccu",
"gatewayAddress": "192.168.2.6",
"rfPort": 2001.0,
"callbackHost": "192.168.2.6"
}
Now, frequently I get a message like this:
==> /var/log/openhab2/openhab.log <==
2017-05-21 16:42:42.668 [INFO ] [ternal.communicator.HomematicGateway] - No event since 1302 seconds
from gateway ‘ccu2’, restarting RPC server
2017-05-21 16:42:42.805 [ERROR] [ematic.handler.HomematicThingHandler] - Illegal status INITIALIZING.
Bindings only may set UNKNOWN, ONLINE, OFFLINE or REMOVED.
java.lang.IllegalArgumentException: Illegal status INITIALIZING. Bindings only may set UNKNOWN, ONLINE,
OFFLINE or REMOVED.
Then everything reloads, all Homematic related items get an update, and everything freezes for the next > 900 seconds. I tried to set the ports & Co. manually, but it makes no difference.
Using openhab2 Debian STABLE package 2.0.0-1 on Raspbian 8 (4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux)
$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
What can I do to get a stable system again? Disabling openvpn is not an option as it is needed
Cheers,
Marianne