I’m new here and just playing around with some demo set ups. My wife and I are purchasing a new a place and we have a year in which to do it up. My intention is to automate the house as much as possible.
Unzipped it in the OH installation directory (/etc/openhab). I have tried an alternative installation method as well without success.
If I list the OH install directory I have:
drwxrwxrwx 2 root root 4096 Jan 18 20:49 addons
drwxr-xr-x 8 openhab openhab 4096 Jan 15 20:02 configurations
-rw-r–r-- 1 root root 3744052 Jun 20 2014 habmin.zip
-rw-r–r-- 1 root root 3744052 Jun 20 2014 habmin.zip.1
drwxr-xr-x 4 root root 4096 Jan 15 18:18 jetty
-rw-r–r-- 1 root root 2583 Jan 10 21:31 logback_debug.xml
-rw-r–r-- 1 root root 2311 Jan 10 21:31 logback.xml
-rw-r–r-- 1 root root 145 Jan 10 21:31 login.conf
drwxr-xr-x 2 root root 4096 Jan 15 23:37 persistence
-rw-r–r-- 1 root root 302 Jan 10 21:31 quartz.properties
-rw-r–r-- 1 root root 657 Jan 10 20:28 README.TXT
drwxr-xr-x 3 root root 4096 Jun 20 2014 webapps
In /etc/webapps/habmin I have:
drwxr-xr-x 7 root root 4096 Jun 20 2014 app
-rw-r–r-- 1 root root 16047 Jun 20 2014 chart.html
drwxr-xr-x 2 root root 4096 Jun 20 2014 images
-rw-r–r-- 1 root root 2955 Jun 20 2014 index.html
drwxr-xr-x 3 root root 4096 Jun 20 2014 js
drwxr-xr-x 2 root root 4096 Jun 20 2014 openhab
drwxr-xr-x 4 root root 4096 Jun 20 2014 resources
And in /addons I have:
-rw-r–r-- 1 root root 19557 Jan 10 22:13 org.openhab.binding.http-1.8.0.jar
-rw-r–r-- 1 root root 10404 Jan 10 22:13 org.openhab.binding.ntp-1.8.0.jar
-rw-r–r-- 1 root root 872513 Jun 20 2014 org.openhab.binding.zwave-1.5.0-SNAPSHOT.jar
-rw-r–r-- 1 root root 1123714 Jun 20 2014 org.openhab.io.habmin-1.5.0-SNAPSHOT.jar
-rw-r–r-- 1 root root 6162 Jan 10 22:17 org.openhab.persistence.exec-1.8.0.jar
-rw-r–r-- 1 root root 7346 Jan 10 22:17 org.openhab.persistence.logging-1.8.0.jar
-rw-r–r-- 1 pixie pixie 832950 Jan 15 22:46 org.openhab.persistence.mysql-1.8.0.jar
-rw-r–r-- 1 root root 624560 Jan 10 22:17 org.openhab.persistence.rrd4j-1.8.0.jar
I’m stuck so I am hoping someone will be able to assist me as I’m hoping that habmin will simplify the configuration process greatly. I have the demo site installed and have made a copy of this and played around with this. Sorry if I have posted this in the wrong section or anything :).
I’m not sure if this is the issue, but I would consider upgrading to a more recent version of zwave and habmin - version 1.5 is very old (probably nearly 2 years I think). I would certainly solve this first…
The files you downloaded from github are corrupt - both the zwave and the habmin binding should both be around 1MB. This is a common problem with downloading binaries from github… Just try again, or, when you click the file to download, then click RAW just above and to the right of the filename.
Solved it!! I went back through the openhab documentation and on this page:https://github.com/openhab/openhab/wiki/Linux---OS-X#apt-get followed the file locations section and moved the bindings and webapps folder to /usr/share/openhab. Stop and restart openhab and it loaded!
Don’t forget to copy the zwave and habmin bindings into the usr/share/openhab/addons folder: https://github.com/cdjackson/HABmin/tree/master/addons
Your extracted habmin files should be in /usr/share/openhab/webapps/habmin
I have installed the latest master.zip file into “/opt/openhab/webapps/habmin/”
It comes up fine using my local url and :8080/habmin
There is an addons folder in the “/opt/openhab/webapps/habmin/addons/” folder. There is the 1.8.0 zwave binding there and it does not show in my bindings.
I have several bindings in my “/opt/openhab/addons/” folder. Those do not show up at all. I also have a sitemap and an item setup that do not show either.
Where are the bindings and sitemap supposed to be? Is there somewhere else that habmin should be installed? I thought I followed the directions pretty well…
The different answers here are based on two different install methods and habmin has to be installed in different folders based on the chosen install method:
Manual install:
1a) manual install of openhab:
the tutorials recommend to copy the downloaded files in /opt/openhab
The addons folder for ALL addons is /opt/openhab/addons
1b) habmin based on manual install:
extracted habmin.zip goes to /opt/openhab/webapps/habmin/
zwave and habmin jar go to /opt/openhab/addons
apt-get install
2a) apt-get install of openhab:
this creates a completely different folder structure, there is NO /opt/openhab folder
Instead you have (among others) for ALL addons: usr/share/openhab/addons
2b) habmin based on apt-get install:
extracted habmin.zip goes to /usr/share/openhab/webapps/habmin
zwave and habmin jar go to /usr/share/openhab/addons
If you have mixed these two different install methods it won’t work.
Easiest way is to start from scratch …