Hello everybody,
I’m a new user of Openhab: I recently knew about this fantastic system and so I just started to design, implement and organize my system. I installed Openhab on a Raspberry Pi 3 and tried some bindings, after have successfully configured items and sitemap files everything works fine. But I started to have some troubles when I tried to use the knx binding.
I have a knx system that have worked fine since a couple of years, until now I supervised it with a Crestron system (and the relative Android App) connected to the house ethernet LAN through a b+b EIB Medientechnik Gateway IP. I copied the knx binding in the addons folder and modified the openhab.cfg in the following way:
knx:type=ROUTER
After that I changed the item and sitemaps file adding some switches linked to the knx devices, and I changed the configuration of the EIB/IP gateway setting the use of UDP mode and the port 3671.
When I start Openhab with the command start.sh I can read in the terminal, among other things, the following text:
2016-05-12 00:02:46.368 [INFO ] [b.k.i.connection.KNXConnection] - Established connection to KNX bus on 224.0.23.12:3671 in mode ROUTER.
So, it seems that everything works fine (but in the wiki is written that you can have troubles even if it seems that all is connected correctly) but it doesn’t:
-
when I try to switch ON or OFF a light with the Openhab App for Android, nothing happens in the house and nothing happens in the busevent;
-
when I push a (physical) button to switch ON or OFF a light in my house the real light switch ON or OFF but in the Openhab App for Android nothing changes and in the busevent appears (always twice) a message like this:
2016-05-12 00:14:21.594 [WARN ] [tuwien.auto.calimero ] - [KNXnet/IP receiver] KNXnet/IP Routing 224.0.23.12:3671: received invalid frame, item 0x3e
tuwien.auto.calimero.exception.KNXFormatException: unsupported header size, expected 6
at tuwien.auto.calimero.knxnetip.servicetype.KNXnetIPHeader.(KNXnetIPHeader.java:185) ~[na:na]
at tuwien.auto.calimero.knxnetip.ReceiverLoop.onReceive(ReceiverLoop.java:61) ~[na:na]
at tuwien.auto.calimero.internal.UdpSocketLooper.loop(UdpSocketLooper.java:117) ~[na:na]
at tuwien.auto.calimero.knxnetip.ReceiverLoop.run(ReceiverLoop.java:50) ~[na:na]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_65]
2016-05-12 00:14:21.606 [WARN ] [tuwien.auto.calimero ] - [KNXnet/IP receiver] KNXnet/IP Routing 224.0.23.12:3671: received invalid frame, item 0x3e
tuwien.auto.calimero.exception.KNXFormatException: unsupported header size, expected 6
at tuwien.auto.calimero.knxnetip.servicetype.KNXnetIPHeader.(KNXnetIPHeader.java:185) ~[na:na]
at tuwien.auto.calimero.knxnetip.ReceiverLoop.onReceive(ReceiverLoop.java:61) ~[na:na]
at tuwien.auto.calimero.internal.UdpSocketLooper.loop(UdpSocketLooper.java:117) ~[na:na]
at tuwien.auto.calimero.knxnetip.ReceiverLoop.run(ReceiverLoop.java:50) ~[na:na]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_65]
I already tried to change the openhab.cfg file configuring the TUNNEL mode and the IPs of the Raspberry Pi 3 and of the b+b EIB Medientechnik Gateway IP, but with this last configuration it doesn’t seem to be any sign of connection between openhab and the knx system (no event appear in the busevent when I push a physical button or when I try to switch ON or OFF a light from the Openhab App for Androd, even more: when I start Openhab in the busevent appear an error message about the impossibility to establish a knx connection in tunnel mode).
I would be happy to understand what I do wrong because I’m really interested in developping my house system with the Openhab software, but knx binding is crucially to use the system in an effective way. I see that everybody can use this binding with success and so I think it’s just a matter of configuration or a matter of compatibiity of my gateway EIB(KNX)/IP.
I would be really happy to have your hel to try to understand the reason why my system can’t work properly.
Thank you in advance.