Thursday, May 17, 2018

Installing Raspbian Stretch on a new Pi

My first pi is fully used and has hit production mode where it runs the house and I can't use it as a play toy anymore. It's running Jessie, which is super stable.

Guess to move on, I've got a 2nd pi which I've decided to put raspbian stretch and here are some notes of the install because it never really goes as planned.

After downloading and running raspi-config to region, etc. apt upgrade failed with hash sum mismatch using the default apt sources. I tried a few and what worked for me was:

deb stretch main contrib non-free rpi

after apt-get upgrade worked, I went on to install java. 
I had some issues as well with  "Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/'." which was fixed with

sudo apt-get purge openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre-headless

sudo apt-get install openjdk-8-jre

Ok, moving on to some software, i prefer a manual installations since I can squeeze more stuff into the pi.

As I mostly use Domoticz, I've decided to muck around with home assistant this time and the installation went smoothly enough.
HomeAssistant -

Next on the list;

  • BLE Beacon presence as detection has a really short range and this can be used for specific room detection.
  • Other stuff that didn't fit on the first pi was syslogd and ELK for log analysis.
  • ffmpeg for converting video streams

No comments:

dead pi

Well, I guess it has to happen at some point. the home automation raspberry pi has died. Much to do with the stupid Strontium mini SD card. ...