OpenHab 1.8 and Habmin

Nope tried the 1.5 versions using the same process, moving the newer versions then stopping and starting openhab and still no luck.

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!

Glad it’s working :smile:

Would you expand on what you did via apt-get? I am not following…

Background:
I am trying to install Habmin on OpenHab 1.8, however I cannot find the openhab-addon-io-habmin via apt-get…

Thanks!

Habmin is not yet in the apt repository, you have to download it from here (use raw and check the correct filesize after downloading).

Hi Caleb,

As I have openhab installed on a Ubuntu server in a vm I had to download it and scp it across to the Ubuntu server. How have you got it installed?

Cheers,
Adam

I habe openhab on an debian server and tried to install Habmin
after serching the net and some frustrating attemps I followed these steps:

cd /usr/share/openhab
wget https://github.com/cdjackson/HABmin/releases/download/0.1.3-snapshot/habmin.zip
unzip habmin.zip
/etc/init.d/openhab restart

Browse: http://“ip-adress”:8080/habmin

voila - habmin; but it looks like habmin doesn’t read exisitng *.items
I will have to spent another evening to figure that out

mox

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

Ok a little confused on this install…

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…

thanks!

Hi Clint,

Have you tried installing it in/usr/share/openhab? I think you the instructions you followed are for raspberry pi installations.

Cheers,
Adam

Cleared everything out and after some trial and error and using the directions from homeautomationgeek:

cd /opt/openhab
sudo wget https://github.com/cdjackson/HABmin/releases/download/0.1.3-snapshot/habmin.zip
sudo unzip habmin.zip

i think i have it setup correctly now. not sure what was up with master.zip but its working now.

thanks!

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 …

thanks sihui! thats what i ended up figured out and you did a great job of describing. hopefully this helps someone else when they are stuck in this…

thanks!

Hi, I’m sorry but I can’t find any newer version than 1.3 with this url https://github.com/cdjackson/HABmin/releases/ , could you please let me know where I can find the newest version for the 1.8 Openhab?

0.1.3 is the latest version of HABmin1 - this works fine with 1.8.* or 1.9.* (the versions of HABmin and openHAB are not linked).

Thanks :wink: will try again

beautiful! thanks!

Thank you !

I’ve been searching for an solution to this problem for almost 2 hours.
your post fixed my problem

Hi,

Pulling hair out.

Getting the Offline errors when starting HABmin…

Installed openHabian using the Rasbian Image, which is I believe pretty much the apt-get install… I have then gone into the PaperUI and installed the UI, through the configuration/bingings/add-ons/User Interfaces menu…

That didnt work, and so I did a git clone of the HABmin and after a lot of reading copied the .jar files to the /usr/share/openhab2/addons/ folder, and created /usr/share/openhab2/webapps/habmin/ and put the rest of the clone, in there…

Still getting ‘Server Offline’ :frowning:

Can anyone help???

Or even how to remove everything so I can start again, but without losing what I have got by way of things/items and setup so far.

Kind regards

Jason

That setup is for openHAB1, so won’t work.

What did not work? It did not install? You could not launch HABmin? What did your openhab.log tell you?

http://docs.openhab.org/installation/linux.html#backup-and-restore