Homematic and Homegear RPC event every 15 sec

Hi all,

I’m using MAX! components with Homegear in my openhab2 installation. It’s working fine. But the Homegear log shows every 15sec a connection from openhab2.

Blockquote

09/11/17 14:34:01.368 RPC Server (Port 2001): Info: Client number 155 is calling RPC method: listBidcosInterfaces (2) Parameters:
09/11/17 14:34:16.373 RPC Server (Port 2001): Info: Client number 155 is calling RPC method: listBidcosInterfaces (2) Parameters:
09/11/17 14:34:31.378 RPC Server (Port 2001): Info: Client number 155 is calling RPC method: listBidcosInterfaces (2) Parameters:
09/11/17 14:34:46.382 RPC Server (Port 2001): Info: Client number 155 is calling RPC method: listBidcosInterfaces (2) Parameters:
09/11/17 14:35:01.387 RPC Server (Port 2001): Info: Client number 155 is calling RPC method: listBidcosInterfaces (2) Parameters:

Blockquote

Is this really neccessary? How can I increase this intervall?

Thanks / Thomas

That’s the heartbeat from the binding. It checks the connection. In the latest 2.2 SNAPSHOT version of the binding, this has been changed to PING.

Hi Gerhard,

thanks for this information. Is this really necessary, because in my case the Homegear and Openhab installation is on the same Raspberry? Ping to localhost is working all the time and the binding has it’s own keep allive intervalls.

Greetings / Thomas

yes, it’s necessary. This is not a network ping, this is a Homematic API ping. The gateway returns a pong and only if a pong arrives after a ping, the communication between the binding and the gateway is OK.

OK thank you.
I tried to moven the binding without success. Could you please send me the actual snapshot jar?

Greetings / Thomas

you can always download the latest snapshot from cloudbees

Hi Gerhard,

Yes I know, but I don’t want to copy all of the addons. I only want to have the homeatic snapshot. My openhab2 installation is stable 2.1. I loaded the sources and go to the homematic directory and try to moven it. Compiles without problems. Copying the jar to the addon folder of my openhab2 addon folder, nothing happens.
Before I uninstalled the 2.1 homematic binding. Do I need to update the whole openhab2 distribution to use this binding?

Thanks / Thomas

just download the addons kar file from cloudbees and unzip it. The you will find the binding jar in /repository/org/openhab/binding/org.openhab.binding.homematic

there is a binding cache, i don’t know how it works exactly, but you can try to remove the cache, kar and tmp folders in your userdata folder.

Thanks for this tip to get the snapshot jar files.
Unfortunately I didn’t get it working. I removed the two things and deinstalled the 2.1 bindig. Copied the jar to addon folder.
After restarting openhab, the bindig is shown but no things would be recognised.
In the openhab.log is: “Failed installing ‘openhab-binding-homematic’: Error restarting bundles” shown.

If I try to delete the cache all my things and items where gone.
I also tried to replace the jar file in openhab2/userdata/kar/openhab-addons-2.1.0/org/openhab/binding/org.openhab.binding.homematic/2.1.0 without success.
Seems the binding needs something from the 2.2 distro. My installation is 2.1 stable.
Should I wait for 2.2?

greetings / Thomas

Seems the binding needs something from the 2.2 distro

Maybe the OH team changed something there

Should I wait for 2.2

I’m using the Snapshot versions and have no problems with my used bindings, so you can try it.