This page last changed on Apr 20, 2015 by martmiwp.

Hi All,

just installed OR. This is great!!
In my network I have eibd and N148 and N350 and linknx. I connect to the N148 or eibd - same results.

Using the tutorial, I can create a switch - switching once (off to on) is possible.
BUT: Even if OR sends out the ON, the status of the lamp icon does not change. So a switching back to off does not work.
BUTBUT: If I switch via the real switch - the lamp icon is changing !!!
So "only" the internal connection / statusupdate is missing.

Any idea?? Pls help!

THis is the log:
OpenRemote Controller started...
root@media:~# tail -f /opt/OpenRemote-Controller/logs/knx/knx.log
org.openremote.controller.protocol.knx.ConnectionException: Connect failed
at org.openremote.controller.protocol.knx.KNXIpConnectionManager$KNXConnectionImpl.connect(KNXIpConnectionManager.java:699)
at org.openremote.controller.protocol.knx.KNXIpConnectionManager.getConnection(KNXIpConnectionManager.java:223)
at org.openremote.controller.protocol.knx.KNXIpConnectionManager$ConnectionTask.run(KNXIpConnectionManager.java:989)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: org.openremote.controller.protocol.knx.ip.KnxIpException: Connect failed : 36
at org.openremote.controller.protocol.knx.ip.IpTunnelClient.connect(IpTunnelClient.java:137)
at org.openremote.controller.protocol.knx.KNXIpConnectionManager$KNXConnectionImpl.connect(KNXIpConnectionManager.java:697)
... 4 more
INFO 2015-04-20 20:33:39,078 (KNX): KNX IP interface hostname set to '192.168.1.85'
INFO 2015-04-20 20:33:39,078 (KNX): KNX IP interface port set to '3671'
INFO 2015-04-20 20:33:39,078 (KNX): KNX PhysicalBus clazz set to 'org.openremote.controller.protocol.port.DatagramSocketPort'
INFO 2015-04-20 20:33:39,081 (KNX): Scheduled reconnection task
WARN 2015-04-20 20:33:39,081 (KNX): Unknown KNX property '<property name = "name" value = "Power STATUS"/>'.
INFO 2015-04-20 20:33:39,084 (KNX): Trying to create connection
INFO 2015-04-20 20:33:39,084 (KNX): Removing connection
INFO 2015-04-20 20:33:39,085 (KNX): KNX Connection manager resolving local host IP addresses...
INFO 2015-04-20 20:33:39,086 (KNX): Found candidate NIC: name2p1 (p2p1)
INFO 2015-04-20 20:33:39,087 (KNX): Skipped IPv6 address (not supported by KNX) /fe80:0:0:0:...:8...:....:....%2
INFO 2015-04-20 20:33:39,087 (KNX): Added candidate IP address to set - /192.168.1.231
INFO 2015-04-20 20:33:39,087 (KNX): Skipping loopback interface: name:lo (lo)
INFO 2015-04-20 20:33:39,103 (KNX): Found a KNX IP interface at /192.168.1.85:3671
INFO 2015-04-20 20:33:39,107 (KNX): Created KNX Command FRAME L_Data.req 0.0.0 -> 3/0/0 Data: 0x00 for group address '3/0/0'
INFO 2015-04-20 20:33:39,107 (KNX): Connection created for KNX IP interface at /192.168.1.85:3671
INFO 2015-04-20 20:33:39,107 (KNX): Found a KNX IP interface at /192.168.1.227:3671
INFO 2015-04-20 20:33:39,108 (KNX): Found a KNX IP interface at /192.168.1.86:3671
INFO 2015-04-20 20:33:39,109 (KNX): KNX-IP socket listener IOException
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:146)
at java.net.DatagramSocket.receive(DatagramSocket.java:817)
at org.openremote.controller.protocol.port.DatagramSocketPort.receive(DatagramSocketPort.java:78)
at org.openremote.controller.protocol.knx.ip.IpProcessor$PhysicalBusListener.run(IpProcessor.java:82)
WARN 2015-04-20 20:33:39,109 (KNX): KNX-IP socket listener stopped
WARN 2015-04-20 20:33:39,110 (KNX): Could not connect
org.openremote.controller.protocol.knx.ConnectionException: Connect failed
at org.openremote.controller.protocol.knx.KNXIpConnectionManager$KNXConnectionImpl.connect(KNXIpConnectionManager.java:699)
at org.openremote.controller.protocol.knx.KNXIpConnectionManager.getConnection(KNXIpConnectionManager.java:223)
at org.openremote.controller.protocol.knx.KNXIpConnectionManager$ConnectionTask.run(KNXIpConnectionManager.java:989)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: org.openremote.controller.protocol.knx.ip.KnxIpException: Connect failed : 36
at org.openremote.controller.protocol.knx.ip.IpTunnelClient.connect(IpTunnelClient.java:137)
at org.openremote.controller.protocol.knx.KNXIpConnectionManager$KNXConnectionImpl.connect(KNXIpConnectionManager.java:697)
... 4 more
INFO 2015-04-20 20:33:39,112 (KNX): KNX connection not available.
INFO 2015-04-20 20:33:49,083 (KNX): Trying to create connection
INFO 2015-04-20 20:33:49,083 (KNX): Removing connection
INFO 2015-04-20 20:33:49,083 (KNX): KNX-IP socket listener IOException
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:146)
at java.net.DatagramSocket.receive(DatagramSocket.java:817)
at org.openremote.controller.protocol.port.DatagramSocketPort.receive(DatagramSocketPort.java:78)
at org.openremote.controller.protocol.knx.ip.IpProcessor$PhysicalBusListener.run(IpProcessor.java:82)
WARN 2015-04-20 20:33:49,084 (KNX): KNX-IP socket listener stopped
INFO 2015-04-20 20:33:49,084 (KNX): Notified with KNX interface status = disconnected
ERROR 2015-04-20 20:33:49,084 (KNX): Disconnect failed
org.openremote.controller.protocol.knx.ip.KnxIpException: Disconnect failed

Do you have 2 group addresses? One to perform the switching and one for the status?

Posted by mredeker at Apr 21, 2015 00:15

Hi!

No - I only have 1 address for switching.
I don't understand why this is needed // how to configure in ETS.

Michael

Posted by martmiwp at Apr 21, 2015 07:51

It's discussed plenty of times in the forum and how to.
Sorry, but this is the way our KNX protocol works at the moment.

Posted by mredeker at Apr 21, 2015 10:03

ok .

But the video http://openremote.org/display/docs/OpenRemote+2.0+How+To+-+KNX+Switches
is showing that all (on/off/status) are on the same group —

Can you please provide the best link for KNX - HOWTO

Thanks
Michael

Posted by martmiwp at Apr 21, 2015 18:48

That video is not correct.
Maybe this helps: http://openremote.org/display/forums/Sensor+does+not+work

Posted by mredeker at Apr 21, 2015 22:43

Hi all,

I found a workaround to use only one group!
I create an KNX-device to poll the status AND within this device I make use of shell commands (Shell execution protocoll) for switching.
As I am using the EIBD - I can make use of groupswrite (or my little shell to make use of a symbolic param)

With that I make use of the "notification" of status changes on the KNX Bus - but I trigger switching commands via a shell.

Result: It works fine !!!!

Is there a description how to make use of the other datatypes and how to display them? I want to display a temperature...

CU
Michael

Posted by martmiwp at May 06, 2015 19:08
Document generated by Confluence on Jun 05, 2016 09:31