Raspberry Pi 3 install problems

Been trying to install on my new Raspberry Pi 3, fresh install of Raspbian. For whatever reason, nothing works. Or things randomly work. Online, the Uninitialized. Homekit plug fails to connect on my phone. Just a mountain of problems.

Am I not supposed to fully update the Pi? upgrade/update?

I figured Linux would be where openhab works the best, but I’m finding my MacOS instance was more stable.

I’m running a hue bridge, various WeMo things, and a Harmony remote hub.

I’m converting to 2.0 and both 1.8 and 2.0 took a lot of time, both on a PI 3. I found that I had to work through the issues one at a time, but 1.8 was pretty reliable once set up.

I’m running on a Raspberry Pi 3, and test some development features on a Raspberry Pi 2 and have a stable versions on both platforms. Although I don’t have any experience in using the Harmony remote hub.

Updating should be a simple case of sudo apt-get update && sudo apt-get upgrade providing that you list your bindings in /etc/openhab2/services/addons.cfg.

What errors are you seeing in the logs?

I have two RPI 3 running 100%, but have had a lot of problems mainly due to SD cards. Suggest you look at the speed and type of card you are using. I’m currently using samsung EVO + 32 GB microSDs. See http://elinux.org/RPi_SD_cards#SD_card_performance for info on SD card speeds.

I have installed raspian lite and raspian without issue. I always do an apt-get update, apt get upgrade after installation . See instructions for openhab at http://docs.openhab.org/installation/rasppi.html

For what its worth my general setup procedure is:

Format SD card using SDformatter
install disk image using win32diskimager (raspian)

#install and boot

raspi-config (or preferences in graphical interface)
change password
select to boot to CLI

select timezone/keyboard
select GPU to 16


sudo apt-get update
sudo apt-get upgrade
sudo rpi-update


echo ‘deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/ /’ | sudo tee /etc/apt/sources.list.d/openhab2.list
echo ‘deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/ /’ | sudo tee --append /etc/apt/sources.list.d/openhab2.list

wget -qO - ‘http://www.openhab.org/keys/public-key-snapshots.asc’ | sudo apt-key add -

sudo apt-get install apt-transport-https

or for beta release use

echo ‘deb http://dl.bintray.com/openhab/apt-repo2 testing main’ | sudo tee /etc/apt/sources.list.d/openhab2.list
wget -qO - ‘https://bintray.com/user/downloadSubjectPublicKey?username=openhab’ | sudo apt-key add -

end Beta instructions

sudo apt-get update

sudo apt-get install openhab2-online

sudo systemctl start openhab2.service
sudo systemctl status openhab2.service

sudo systemctl daemon-reload
sudo systemctl enable openhab2.service

thanks for the breakdown. I’m noticing a few things I did differently in the process. I’m going to give this a try and I’ll report back!

Make sure you run Oracle JDK. OpenJDK runs awfully slow, at least a factor 10

Whoops just noticed that I had instructions for snapshot and beta together - its an either or option not both :slight_smile: I also use agree with with comments on Oracle JDK. I install it:

sudo su
echo “deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main” | tee /etc/apt/sources.list.d/webupd8team-java.list
echo “deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main” | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer

1 Like