Hi everyone,
I have managed to install the following KNX2.0 Binding https://github.com/openhab/openhab2-addons/files/784970/org.openhab.binding.knx_2.0.0.201702181144.jar.zip
and got it to work so far, as it is showing telegrams on the bus.
22:45:37.509 [TRACE] [nx.handler.KNXBridgeBaseThingHandler] - Received a Group Write telegram from ‘1.1.12’ for destination ‘2/4/1’
22:45:37.509 [DEBUG] [tuwien.auto.calimero ] - calimero.link.224.0.23.12:3671: indication from 1.1.12
2
Next step: I wanted to use the knx.knxproj file of my ETS5 to get all the things and items automatically created.
I am using a Raspberry 3 with Openhabian. With standard-settings while importing the file after about 5 minutes I am getting this:
22:21:49.892 [ERROR] [org.apache.felix.fileinstall ] - In main loop, we have serious trouble
java.lang.OutOfMemoryError: Java heap space
Last lines in the log before the OOM were (leaving out the telegram-listening-lines):
[TRACE] [x.internal.parser.KNXProject13Parser] - Found KNX manufacturer data for a device by ‘GIRA Giersiepen’
[TRACE] [x.internal.parser.KNXProject13Parser] - Found KNX manufacturer data for a device by ‘ABB’
[INFO ] [x.internal.parser.KNXProject13Parser] - Found KNX project data for project ‘Fl29’
So I changed the runtime/bin/karaf to
if [ “x${JAVA_MAX_MEM}” = “x” ]; then
JAVA_MAX_MEM=768M
export JAVA_MAX_MEM
fi
unfortunatelly the problem is still there, it just takes a lot longer and top looks like this all the time (the 100.2 is %CPU):
915 openhab 20 0 440364 338708 13260 S 100.2 34.0 15:49.49 java
413 openhab 20 0 6452 2840 2472 S 0.0 0.3 0:00.05 karaf
and it dies like this:
[WARN ] [he.sshd.server.session.ServerSession] - Exception caught
java.lang.OutOfMemoryError: Java heap space
Anyone else having problems importing the ETS5-File? Mine has a size of about 15MB - the project contains about 40 physical adresses.
My normal payload without importing the knx-file after about 5mins is like this:
918 openhab 20 0 428540 153000 13424 S 0.7 15.4 0:59.07 java
411 openhab 20 0 6452 2848 2480 S 0.0 0.3 0:00.05 karaf