Closed tpetkovich closed 3 years ago
The log line is an info from the discovery endpoint, not the control endpoint. You can ignore that. (I could actually omit that log entry as it might cause confusion.) ETS likely connects via TCP, that's why you don't see the output there.
If you don't reuse the control endpoint address reuseCtrlEP="false"
, you have to leave the additionalAddresses
element in there and add some addresses you want to use.
Thank You!
Now I understand that the discovery-endpoint was not relevant in this case, so I deactivated it. The control endpoint was not receiving the connection. I experimented a bit, and it seemed, that it was not using the right interface with listenNetIf="any", so I have changed it to listenNetIf="lo", and turned on reuseCtrlEP. Now it seems to be working fine, the connection is established and KNX telegrams are sent to OpenHAB.
Here is my working server-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<knxServer name="knx-server" friendlyName="Calimero KNX IP Server">
<discovery listenNetIf="all" outgoingNetIf="all" activate="false" />
<serviceContainer reuseCtrlEP="true" activate="true" routing="false" networkMonitoring="true" udpPort="3671" listenNetIf="lo">
<knxAddress type="individual">1.1.80</knxAddress>
<knxSubnet type="usb" medium="tp1">USB Interface (MDRC)</knxSubnet>
</serviceContainer>
</knxServer>
Thank You again for the swift response and help!
FYI, the one downside with a single knx address is that you are not able to parallel connect with ETS, and if you disrupt the tunneling connection (no proper close), you will have to wait the connection timeout to reconnect.
Anyway, good it works now. I will close this issue.
Greetings!
I am using calimero-server on a Windows box, to tunnel an USB KNX connection for an OpenHAB3 server. (As OpenHAB KNX binding unfortunately does not have an USB implementation). Both calimero-server and the OpenHAB3 is on the same Windows box, using a loopback interface to communicate. Due to some reason the calimero-server does not accept the 0x205 CONNECTION_REQUEST KNX/IP service type, which is sent by the OpenHAB binding (which is based on calimero as well). ETS5 discovery and connection works perfectly. Is this working as intended? Or is there some kind of problem with the KNX/IP protocol used between the binding and claimero-server?
My server-config.xml:
The log of the calimero-server: