pete_c
Guru
Just a quickie installation guide to installing OpenHab on the RPi2. Part #1 is base demo installation and part #2 will be the HAI stuff.
This is part 1 - demo installation - assumption is that you have an RPi2 built with base Wheezy and have configured sudo and or root access via SSH.
Web page is ===> hxxp://ipofrpi2:8080/openhab.app?sitemap=demo
Picture attached is what demo web gui looks like. Takes about 5 minutes to install and get demo running.
Change the xx's in hxxp to tt's.
Used my Cumulus weather station RPi2 to test and have Webmin installed on same.
1 - install Java or check if you already have it installed.
sudo apt-get install oracle-java7-jdk
2 - Check if you already have it installed:
java -version
:~# java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
3 - (sudo) mkdir /opt/openhab * sudo or root
/opt# ls
openhab
4 - cd /opt/openhab
5 - Download the runtime core package. I just right clicked to find the link and did a wget.
The OpenHab download links are at: hxxp:///getting-started/downloads.html
6 - Current link (18th of May, 2016)
hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.8.2-runtime.zip
7 - wget hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.8.2-runtime.zip
8 - unzip distribution*.zip
9 - rm distribution *.zip
10 - chmod +x start.sh
11 - cd addons
12 - wget hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.7.1-addons.zip
13 - unzip *.addons.zip
14 - rm *.addons.zip
15 - cd /openhab/configurations
16 - cp configurations/openhab_default.cfg configurations/openhab.cfg
17 - cd /openhab
18 - mv addons addons.org
19 - wget hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.8.2-demo.zip
20 - unzip *demo.zip
21 - rm *.demo.zip
22 - start OpenHab ==> ./start.sh
23 - using your browser go to ==> hxxp://ipofrpi2:8080/openhab.app?sitemap=demo
Part 2 will be configuration of the HAI configuration.
Some where above it looks like my font changed. Will document the HAI stuff on the RPi2 but....
I am shifting the build over to a RPi3 maybe with RTC clock / LCD monitor.
This is part 1 - demo installation - assumption is that you have an RPi2 built with base Wheezy and have configured sudo and or root access via SSH.
Web page is ===> hxxp://ipofrpi2:8080/openhab.app?sitemap=demo
Picture attached is what demo web gui looks like. Takes about 5 minutes to install and get demo running.
Change the xx's in hxxp to tt's.
Used my Cumulus weather station RPi2 to test and have Webmin installed on same.
1 - install Java or check if you already have it installed.
sudo apt-get install oracle-java7-jdk
2 - Check if you already have it installed:
java -version
:~# java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
3 - (sudo) mkdir /opt/openhab * sudo or root
/opt# ls
openhab
4 - cd /opt/openhab
5 - Download the runtime core package. I just right clicked to find the link and did a wget.
The OpenHab download links are at: hxxp:///getting-started/downloads.html
6 - Current link (18th of May, 2016)
hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.8.2-runtime.zip
7 - wget hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.8.2-runtime.zip
8 - unzip distribution*.zip
9 - rm distribution *.zip
10 - chmod +x start.sh
11 - cd addons
12 - wget hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.7.1-addons.zip
13 - unzip *.addons.zip
14 - rm *.addons.zip
15 - cd /openhab/configurations
16 - cp configurations/openhab_default.cfg configurations/openhab.cfg
17 - cd /openhab
18 - mv addons addons.org
19 - wget hxxps://bintray.com/artifact/download/openhab/bin/distribution-1.8.2-demo.zip
20 - unzip *demo.zip
21 - rm *.demo.zip
22 - start OpenHab ==> ./start.sh
23 - using your browser go to ==> hxxp://ipofrpi2:8080/openhab.app?sitemap=demo
Part 2 will be configuration of the HAI configuration.
Some where above it looks like my font changed. Will document the HAI stuff on the RPi2 but....
I am shifting the build over to a RPi3 maybe with RTC clock / LCD monitor.