Upgrading Java on Raspberry pi

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



Monitoring your UPS with a Pi

I have a need to monitor a couple of APC UPS' that are supplying power for my Home Theater system.  I currently don't have a computer close by but want to monitor those UPS'... A Raspberry Pi and NUT to the rescue.  It seems like a perfect match.

OpenHAB's systeminfo binding on a Raspberry Pi 2

OpenHAB is a great application that allows you to create a Smart Home.  It connects with almost any smart device.  This article assumes you already have OpenHAB installed on your Raspberry Pi 2 and are looking at installing the systeminfo binding to monitor some local stats on your server.

ALSA sound device sharing

While I was working on a new project (an Internet Radio and Airplay server) with my Raspberry Pi I ran into an interesting sound issue.  My original development on the project was done using the built in audio from the headphone jack and all was great except that the Raspberry Pi doesn't produce the best quality analog audio.  I wanted something better so I ordered a Ti PCM2704 USB DAC card.  The card was very cheap but should produce better sound than I was getting from the Raspberry Pi's headphone jack.  My new DAC card arrived and I plugged it into my project.