openHAB 2.0 beta2 available!

https://github.com/openhab/openhab-distro/blob/master/docs/sources/getting-started.md#starting-the-runtime

https://github.com/openhab/openhab-distro/blob/master/docs/sources/getting-started.md#getting-started-with-openhab-2

https://github.com/openhab/openhab-distro/blob/master/docs/sources/features/compatibilitylayer.md

@sihui thank you!!!

For the other people experiencing the “element type meta” issue, do you happen to have Chromecasts on your networks? I believe I’ve narrowed it down to some part of the UPnP discovery process redirecting the HTTP client to http://www.google.com/cast/, which can’t be parsed as XML because it does indeed include meta tags without closing tags.

Having said that, I have no idea how to fix it :frowning: Doesn’t seem to be causing me any actual trouble at the moment, though.

Edit: sorry, I just read the thread a little closer and noticed an issue has been filed. I’ll take the discussion over there.

Yes I do have a chromecast device on the network. So it seems to confirm your diagnostic.

When can we install OH2 with apt-get? Or is there a tutorial on how to install openhab2 on rpi somewhere? Can we clone the git somehow in linux? I am a completly newbie to linux and unsure how to get the files in right places, create the right user settings, add the dialout to the openhab user. Thats why I went for the 1.8 was:) Do I need to delete 1.8 first? Should I start with a blank image of raspbian?

1 Like

It appears to be currently getting sorted out!

Sunday it seems like:)

I’m confused as to what to do with the contents in the zip file once on my raspberry pi…

Just wait for the apt-get release, should be out really soon…

Run “start.sh”?

Hopefully, but it depends on the availability of @theo, who hasn’t responded yet, so I decided to do the release without the debian packages for a start.

I think @lysol has the same problem as many has with linux. Where the files should be put, i.e which folders, create users, set user permisions, set file permisions, set rights to gpio(dialout), usb rights for users etc. The apt-get does all this, but maybe some experienced linux user could make a script that download the zip file and extract files to correct places and set all the user rights etc… Just an idea, or point to where there is a tutorial for this:) I think @lysol will appreciate this.

Ok, so all Linux basics (I considered this as a prerequisite as this is not specific about openHAB) - if these are missing, it might indeed be the best idea to wait for the debian image :slight_smile:

Yupp, seems like a lot of people going for rpi option are coming from either mac or windows environment and hence not familiar with linux and then its so easy to use apt-get:) Or we could make a script to bring OH2 to the people!

Thanks for the reply. To be honest, my issue was with the “openhab-distro-2.0.0.b1.zip” file. I had a fresh installation of Raspbian and when the readme file in the “openhab-distro-2.0.0.b1.zip” stated to run a start.sh file, it was no where to be found.

I ended up downloading the “openhab-offline-2.0.0-SNAPSHOT.zip” file off of the downloads page on Openhab’s site. This contained the start.sh script that I needed to run to get going on Openhab 2.0.

How did you end up with openhab-distro-2.0.0.b1.zip? This is pretty old and was rather buggy, so it is no good idea to use it…

Your first post in this thread. With that said, it seems that the distro .zip files don’t contain everything needed to install Openhab. What is the purpose of these files and how are they used?

Hm, the first post points to https://github.com/openhab/openhab-distro/releases/tag/2.0.0.b2, which points to https://bintray.com/openhab/mvn/openhab-distro, which lists all releases (and offers the latest for download).

Seems like the apt get install method is out, feel to collaborate @Kai or @theo ?

I assume you need to add this line to
echo "deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/ wheezy main" | sudo tee --append /etc/apt/sources.list

or for the latest build
echo "deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/ wheezy main" | sudo tee --append /etc/apt/sources.list

Then run

sudo apt-get install openhab2
sudo apt-get update

then setup auto run on boot and after that sudo reboot
then go:
http://your static IP:8080/openhab.app?sitemap=demo

then start to play around with adding bindings, configuring sitemap and items etc?

I think they already did:

ok, so it should be :

echo "deb http://dl.bintray.com/openhab/apt-repo2 wheezy main" | sudo tee --append /etc/apt/sources.list