This is part two of the Universal Rremote for OpenHAB project. In this part, we will install and configure the Lirc software on our Raspberry Pi. Part 1 of the article (Building the hardware) is located here: Building an IR Universal Remote for OpenHAB (Part 1)
This is the first part of a multi-part project to build an IR receiver/transmitter that will work with my existing remote and talk with my OpenHAB server.
I currently run Octoprint on a Raspberry Pi that is hooked up to be 3D printer. This setup uses HAProxy to provider the web front end for the user. I am in the process of securing all my systems so they use SSL (https) and I this article documents how I added SSL to HSProxy using a Let's Encrypt certificate.
I required a later version on Java that the one that came with Raspbian. This was required for OpenHAB. So how do you upgrade your version of Java? Run the following commands:
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
Exit