My doubt is,1 However, within eclipse console,I can only see Osgi console.How can I see my Karaf console? 2 Does zwave binding included in eclipse installer work or not? Should I get some updated version either for openHAB2 or zwave binding to make it work?
Here is the startup console message, Command-line arguments: -application org.eclipse.ui.ide.workbench -data /home/xiaomin/openhab2-master/ws/…/runtime-org.openhab.runtime.product.product -dev file:/home/xiaomin/openhab2-master/ws/.metadata/.plugins/org.eclipse.pde.core/openHAB_Runtime/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog -console
As I can run the network binding which is a openHAB2 addon, so I think my openHAB is openHAB2.
However, within eclipse console,I can only see Osgi console.How can I see my Karaf console?
I also want to run zwave binding with a aeon sticker and zwave switch.However, it seem zwave does NOT work.
Here is eclipse console msg, !ENTRY org.openhab.binding.zwave 4 0 2016-03-17 16:47:17.171!MESSAGE FrameworkEvent ERROR!STACK 0org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zwave [23] Unresolved requirement: Import-Package: gnu.io
** at org.eclipse.osgi.container.Module.start(Module.java:434) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)2016-03-17 16:47:17.176 [DEBUG] [.s.core.internal.CoreActivator:30 ] - Core bundle has been started.**
My doubt is, 1 However, within eclipse console,I can only see Osgi console.How can I see my Karaf console? 2 Does zwave binding included in eclipse installer work or not? Should I get some updated version either for openHAB2 or zwave binding to make it work?
Thank you and any information will be greatly appreciated.
xiaomin@xiaomin-Lenovo-G500:~/openhab2-master/git$ ls
openhab2-addons openhab-distro
xiaomin@xiaomin-Lenovo-G500:~/openhab2-master/git$ cd openhab2-addons;git log|head commit 3442c0ccc1799a0e1c976af5610b26f951d7c171
Merge: 04a0994 db86b02
Author: Chris Jackson chris@cd-jackson.com
Date: Wed Mar 9 22:59:28 2016 +0000
Merge pull request #719 from cdjackson/zwave-master
ZWave Updates
commit db86b02a68e0be5f622dae8d0e11f3c836710b13
xiaomin@xiaomin-Lenovo-G500:~/openhab2-master/git/openhab2-addons$ cd …
xiaomin@xiaomin-Lenovo-G500:~/openhab2-master/git$ cd openhab-distro;git log|head commit 527e5f5e0a61808ba718d0779a61ff3cc5f6de0d
Merge: 5362617 a754a89
Author: Kai Kreuzer kai@openhab.org
Date: Tue Mar 8 21:59:31 2016 +0100
Actually I realize the github commit version I use for openhab2-addons zwave binding and openhab-distro may have some problem. As I noticed that many newest commits is related to zwave binding.
However, I have no knowledge which version will work properly, meaning that which openhab2-addons version with which openhab-distro version will work for the zwave binding?
Should I just update these two github repo to the newest version after my installation via eclipse installer, then zwave binding will work?
Hopefully zwave author or any zwave expert can generously provide some information for that.
Thank you and any information will be greatly appreciated.
By understanding, in addition to the OH distro, I still need the zwave binding, either as a .jar file or as a openhab2-addons zwave binding directory imported into eclipse.
I more prefer to import openhab2-addons zwave binding directory into, so that I can debug step by step within eclipse.
However, I have not much idea upon which commit openha2-addons binding works for that. Can you share some information for that?
Thank you and any information will be greatly appreciated.
As you mentioned OH distro, am I supposed to update my openhab-distro repo to release 2.0.0 beta 2? which commit I should update my openhab2-addons repo accrodingly?
My openhab-distro is on,
commit 527e5f5e0a61808ba718d0779a61ff3cc5f6de0d
Merge: 5362617 a754a89
Author: Kai Kreuzer kai@openhab.org
Date: Tue Mar 8 21:59:31 2016 +0100
My openhab2-addons is on,
commit 3442c0ccc1799a0e1c976af5610b26f951d7c171
Merge: 04a0994 db86b02
Author: Chris Jackson chris@cd-jackson.com
Date: Wed Mar 9 22:59:28 2016 +0000
Merge pull request #719 from cdjackson/zwave-master
ZWave Updates
They both are installed by eclise installer automatically, Does that make any difference?
Thank you and any information will be greatly appreciated.
My answer is a bit late but I also had the gnu.io issue after I checked the z-wave plugin in my run configuration.
To fix the Unresolved requirement: Import-Package: gnu.io, you must check the plugin org.openhab.io.transport.serial in the launch configuration plug-ins list