Hi Martin,
I installed the binding and tried to add the gateway.
The discovery still “bricks” the gateway, the WebUI of the CCU is unresponsive and the CCU needs to be restarted, before I can use it again.
I found the following errors in the logs.
The stacktraces are shorted, when I didn’t see anything relevant to org.openhab.binding.homematic.*
When I added the binding, the following showed up in the logs:
11:59:52.163 [ERROR] [org.openhab.binding.homematic ] - bundle org.openhab.binding.homematic:3.0.0.202011221749 (255)[org.openhab.binding.homematic.internal.handler.HomematicThingHandlerFactory(330)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
at org.apache.felix.scr.impl.inject.ComponentConstructor.newInstance(ComponentConstructor.java:309) ~[bundleFile:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:277) [bundleFile:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:114) [bundleFile:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:982) [bundleFile:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:955) [bundleFile:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:900) [bundleFile:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212) [org.eclipse.osgi-3.12.100.jar:?]
at java.security.AccessController.doPrivileged(Native Method) [?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210) [org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111) [org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45) [org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:508) [org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461) [org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:624) [org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:86) [bundleFile:?]
After configuring the bridge, I saw A LOT these:
12:07:50.246 [DEBUG] [l.communicator.parser.CommonRpcParser] - Failed converting 100MS to a Number
java.lang.NumberFormatException: 100MS is not a valid number.
at org.apache.commons.lang.math.NumberUtils.createNumber(NumberUtils.java:597) ~[bundleFile:2.6]
at org.openhab.binding.homematic.internal.communicator.parser.CommonRpcParser.toNumber(CommonRpcParser.java:82) [bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.parser.CommonRpcParser.assembleDatapoint(CommonRpcParser.java:193) [bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.parser.GetParamsetDescriptionParser.parse(GetParamsetDescriptionParser.java:54) [bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.client.RpcClient.addChannelDatapoints(RpcClient.java:183) [bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.CcuGateway.addChannelDatapoints(CcuGateway.java:139) [bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.loadAllDeviceMetadata(AbstractHomematicGateway.java:402) [bundleFile:?]
at org.openhab.binding.homematic.internal.discovery.HomematicDeviceDiscoveryService.lambda$0(HomematicDeviceDiscoveryService.java:209) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
12:07:50.248 [DEBUG] [l.communicator.parser.CommonRpcParser] - Failed converting H to a Number
As well a lot of these entries:
12:09:01.201 [DEBUG] [l.communicator.parser.CommonRpcParser] - No unit information found for temperature datapoint P5_TEMPERATURE_FRIDAY_12, assuming Number:Temperature
12:09:01.203 [DEBUG] [l.communicator.parser.CommonRpcParser] - No unit information found for temperature datapoint P5_TEMPERATURE_FRIDAY_11, assuming Number:Temperature
12:09:01.204 [DEBUG] [l.communicator.parser.CommonRpcParser] - No unit information found for temperature datapoint P5_TEMPERATURE_FRIDAY_10, assuming Number:Temperature
12:09:01.205 [DEBUG] [l.communicator.parser.CommonRpcParser] - No unit information found for temperature datapoint P4_TEMPERATURE_SUNDAY_2, assuming Number:Temperature
After removing the bridge Thing, I saw these, but they may have appeared earlier as well:
12:10:31.668 [DEBUG] [communicator.AbstractHomematicGateway] - Unable to release the connection to the gateway with id 'eaf5a1b9f4': java.util.concurrent.TimeoutException: Total timeout 15000 ms elapsed
java.io.IOException: java.util.concurrent.TimeoutException: Total timeout 15000 ms elapsed
at org.openhab.binding.homematic.internal.communicator.client.XmlRpcClient.send(XmlRpcClient.java:147) ~[bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.client.XmlRpcClient.sendMessage(XmlRpcClient.java:81) ~[bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.client.RpcClient.release(RpcClient.java:102) ~[bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.stopServers(AbstractHomematicGateway.java:268) [bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway$ConnectionTrackerThread.handleInvalidConnection(AbstractHomematicGateway.java:968) [bundleFile:?]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway$ConnectionTrackerThread.run(AbstractHomematicGateway.java:931) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.util.concurrent.TimeoutException: Total timeout 15000 ms elapsed
at org.eclipse.jetty.client.TimeoutCompleteListener.onTimeoutExpired(TimeoutCompleteListener.java:51) ~[?:?]
at org.eclipse.jetty.io.CyclicTimeout$Wakeup.run(CyclicTimeout.java:282) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
... 3 more
12:10:31.687 [DEBUG] [rnal.communicator.server.XmlRpcServer] - Stopping XML-RPC server
I hope, this helps, let me know, if I need to test differntly.
Best regards,
John