I got a problem getting openhab to work with the knx binding :
Below are the steps i tried on two PC’s with the same result :
-
installation opnhab on windows 10 64 bit (install zulu 8u152 Intel x64 JDK)
-
set environment variable JAVA_HOME to C:\Program Files\Zulu\zulu-8
-
download and unzip openhab to C:\openhab-2.1.0
-
Start openhab -> Message appears in console karaf.bat: Ignoring predefined value for KARAF_HOME
-
add binding-knx1 - 1.10.0 in Paper UI
openhab.log contains
2017-12-15 09:19:59.399 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.0.170:8080
2017-12-15 09:19:59.586 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.0.170:8443
2017-12-15 09:19:59.649 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-12-15 09:19:59.680 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-12-15 09:19:59.695 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-12-15 09:19:59.820 [INFO ] [nx.internal.connection.KNXConnection] - KNXBinding configuration is not present. Please check your configuration file or if not needed remove the KNX addon.
after this
-
edit C:\openhab-2.1.0\conf\services\knx.cfg -> set ip
-
add simple items file and sitemap file
Switch licht_keuken “licht keuken” { knx=“0/1/12” }
sitemap default label=“My first sitemap”
{
Switch item=licht_keuken label=“Licht Keuken”
}
- Go to basic Ui an d try switch -> doesn’t work,
probably related to
2017-12-15 09:19:59.820 [INFO ] [nx.internal.connection.KNXConnection] - KNXBinding configuration is not present. Please check your configuration file or if not needed remove the KNX addon.
and maybe related to
karaf.bat: Ignoring predefined value for KARAF_HOME
Restarting openhab appends the same messages to the log
Please help…