Skip to content

Instantly share code, notes, and snippets.

Created February 3, 2016 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c04e4768437373aa0f86 to your computer and use it in GitHub Desktop.
Save anonymous/c04e4768437373aa0f86 to your computer and use it in GitHub Desktop.
I'm completely new to openHAB and eventually got habmin2 working with OH2. This is what I did:
1. Download and install "openHab 2 Beta Snapshot" -> "Online Distro" from http://www.openhab.org/getting-started/downloads.html
2. Download "https://github.com/cdjackson/HABmin2/blob/master/output/org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15.jar?raw=true" from https://github.com/cdjackson/HABmin2/tree/master/output and placed in addons folder
3. When you do this, openHAB is going to complain about a missing bundle in openhab.log:
Error while starting bundle: file:/home/openhab/openhab/addons/org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.ui.habmin [173]
Unresolved requirement: Import-Package: org.openhab.binding.zwave.internal.config
4. Download "openHab Runtime" -> "Addons" from http://www.openhab.org/getting-started/downloads.html
5. Unzip and copy org.openhab.binding.zwave-1.8.1.jar to your addons folder
6. Next you'll get another error in openhab.log
Error while starting bundle: file:/home/openhab/openhab/addons/org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.ui.habmin [173]
Unresolved requirement: Import-Package: org.openhab.binding.zwave.internal.config
-> Export-Package: org.openhab.binding.zwave.internal.config; bundle-symbolic-name="org.openhab.binding.zwave"; bundle-version="1.8.1"; version="0.0.0"
org.openhab.binding.zwave [174]
Unresolved requirement: Import-Package: gnu.io
7. Install openhab 1.x addon compatiblity feature. In openhab console enter:
feature:install openhab-runtime-compat1x
8. The same error will probably occur again so also install this feature in openhab console:
feature:install openhab-transport-serial
9. Restart everything and cross your fingers :slightly_smiling: http://<host>:8080/habmin/index.html should now work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment