Hello Guys.
Trying to get HABMin2 to Work with my OH2 installation… OH2 seems to Work like it should.
I’ve followed the guide:
When accessing the http://localhost:8080/habmin/index.html i get the error 404… page not exists.
I’ve placed the Habmin and the ZWave binding in the addons library - and not done anything more? as i read it the addons shall not be “listed” somewhere?
The Habmin isn’t showing up on the dashboard when accessing localhost:8080 - but the"original" UI’s does?
What have i done wrong here?
Should the file name for the addons be:
org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15 OR org.openhab.ui.habmin??? Or does it matter?
Arch okay, I was just downloading the .jar file and placed in addons , and thought that was it (according to the install guide) … Where should I unpack the whole habmin folder?
Make sure you have the very latest habmin jar file from chris’s github. Shoudl have an update date of a day or 2 ago.
This is all you need. You do not need the zip file. Just place the jar file in the addons folder. I also edited the conf/services/addons.cfg and added habmin to the list of gui’s to load.
you may or may not need to enable the zwave binding in the PaperUI (can’t recall, mine is enabled but i do not remember if the habmin UI option showed up prior to enabling it or not.
I was having this problem last night as well when trying to test on a different PC. I downloaded the latest beta and uncompressed it, followed the steps above, and it worked fine.
Nowhere - this step is not required. You only need to install the HABmin 2 JAR file as per the OH2 install instructions.
Just make sure the file is downloaded correctly - often when downloading binary files from github they are corrupt and you only get about 30kb - the HABmin JAR should be something like 4MB.
Just make sure the file is downloaded correctly - often when downloading binary files from github they are corrupt and you only get about 30kb - the HABmin JAR should be something like 4MB.
Thats right i can’t undestand but when I try to download it i get only about 37 KB
Okay Guys…
Now i’ve tryed to download both OH2 and the Habmin2 Again and tested one more time…
I still can’t get this working… The standard UI’s exists and Work, but the Habmin doesn’t Work at all…
I’ve downloaded and unzipped the OH2.0.0 (Also Tested OH2.0.0B1) , putted the Habmin.jar file in the addons (the files is around 4mb when downloaded from GIT)
Then i start the OH2 with the .bat file, and the “main window” opens in the console, and then the normal UI’s Work… But NOT The Habmin… What do i do wrong?
I get following Errors in the Log:
'016-01-20 19:02:48.509 [ERROR] [org.apache.felix.fileinstall ] - Failed to install artifact: D:\openHab\OH2\OH2 \addons\org.openhab.ui.habmin.jar
org.osgi.framework.BundleException: A bundle is already installed with the name "org.openhab.ui.habmin" and version "2.0.0.201601172020"
at org.eclipse.osgi.container.ModuleContainer.install(ModuleContainer.java:254)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.storage.Storage.install(Storage.java:515)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:146)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBundle(DirectoryWatcher.java:1030)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:946)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:865)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:482)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310) [8:org.apache.felix.fileinstall:3.5.0]'
Seems like the problems is from the zwave package, when starting the OH2 with only zwave.jar and not the habmin
`2016-01-20 19:06:16.077 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/D:/openHab/OH2/openhab-offline-2.0.0-SNAPSHOT/addons/org.openhab.binding.zwave.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zwave [166]
Unresolved requirement: Import-Package: gnu.io
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]`
@chris Would it maybe be a good moment to move the HABmin2 repo to the openHAB org on Github, have it build on the Cloudbees and included as a Karaf feature in openHAB 2? This might make the installation process much smoother for people