Raspberry Pi 2 + Power over Ethernet + Owncloud + DD-WRT + Kodi + HiFiBerry DAC+ = Awesome media center

By now we know that our Raspberry Pi can be run with Power over Ethernet. Next question is: what to do with it? I’ve a little media center with TV, speakers and a blu-ray player back at my home, but I’ve not been satisfied with the ways to deliver content to it. Even if a smart T can play files automatically from my collection, given recent fiascos with smart TV’s and privacy I’m not willing to give one an Internet connection.

PC or laptop would feel like an overkill, so Raspberry Pi to the rescue! Last time I tried to run a media server with Raspberry Pi I was using model B. At the time the device was not powerful enough for the smooth experience, and I ended up donating it to my local hackerspace where it still serves as a IRC client. Let’s have another try with the new Raspberry Pi 2, as it is 6x faster, according to the box.

First thing was to plug the Power over Ethernet -board on it, so far so good. As the player software I selected Kodi, previously known as XBMC.  The steps to setup Raspberry Pi as a media PC is documented well enough around the internet, here for example. I already do have an ownCloud installation, which supports WebDAV file transfer. Kodi can be configured to access files over WebDAV, so I’m not limited by the 8GB of SD-card space anymore.

Next thing was to add a HiFiBerry DAC+ to Raspberry Pi for as good sound as possible. Setting it up was straightforward with the instructions found at their website, and I was ready to listen to the results. Everything worked… sorta. But there were a few user experience issues I wanted to correct. First of all, streaming media over WebDAV was laggy between songs. Maybe Raspberry Pi had to download entire song between playbacks? Anyway, this was simple enough to solve. Plug in USB-stick, download media locally to it and play from there.


Final version of our board won’t have electric tape, no worries 🙂

Another issue was that I didn’t really want to go through the trouble of controlling the thing with keyboard and mouse. There are remote controls, but I’ve too many of those already. Kodi has a few web interfaces, I went for one known as Chorus. It allows me to control the Raspberry Pi through my LAN connection, so I can play music from my main speakers, adjust volume etc. Chorus also lets me to stream music to my local computer, in case I’m in another room and I don’t want to annoy my neighbours by turning the volume up.

At this point, I was pretty satisfied with the results. One more little thing, though. While I’m entirely happy to access my music by checking which IP was assigned to my Raspberry Pi by my router’s DHCP and entering something like to my browser, my friends might not be that technologically oriented. My router runs DD-WRT, and it was pretty simple to assign a static IP-address and a hostname to my Raspberry Pi through the management interface of my router. Then there was the matter of routing the Kodi’s port 8080 to HTTP default port 80, but luckily I’ve done my fair share configuring Apache in the past.

Now I’m all set, all I have to do is to log into my home network, navigate to musiikki.a11 and enjoy.


We still have a few sets of boards for the next round of prototypes available, so if you want to order one PoE boards + parts, contact us at Indie@ell-i.org and we’ll arrange things from there. We’ll sell them at cost, but you’ll have to be skilled with soldering iron to assemble one. You can find earlier experiences of hand soldering the board from Vaasa Hacklab’s blog post. Be sure to sign up to our mailing list here and we’ll keep you updated of our progress.


4 thoughts on “Raspberry Pi 2 + Power over Ethernet + Owncloud + DD-WRT + Kodi + HiFiBerry DAC+ = Awesome media center

  1. Nice experience!

    I’m trying to set the same kind of installation, but with two Rasp B+, each of them being already almost overwhelm by Kodi and Owncloud respectively (despite they’re both overclocked).

    So far, I’m experiencing some huge lag between both Rasp, while Kodi trying to reach Owncloud through WebDav protocol. You said that “Plug in USB-stick, download media locally to it and play from there” solved your WebDav lagging problem, so do you mean that for each content (song or movie), you had to download it to a USB stick from your Owncloud repository, and plug the USB stick to your Raspb embedding Kodi?
    If so (and I might misunderstood what you’ve done), that seems to me as a very frustrating solution since Owncloud is supposed to provide some easy reachable storage, especially while it is done locally and not through the Internet.

    I am using HTTPS WebDav so I was wondering if this could be one of the lagging reason (meaning that on local network it would not be a problem to simply use HTTP instead of HTTPS). Also, I was wondering if the Pi B+ power is involved. Do you think using a Pi 2 would make a tremendous change? (I always could use my Pi B+ for printing server and a Steambox instead)?



  2. and your homenetwork has your computer ( the “overkill”) and comuter has the music, and you use the computer after all ;d

  3. […] The guys from ell-i.org have created an streaming media player that does not need an external power supply. How does it work? There is an additional PoE (power over ethernet) module used on the Raspberry Pi. While we like this solutions, it would be even cooler to have a version that also powers the HiFiBerry Amp.  Check out their blog post. […]

  4. I’ve been looking everywhere for a way to do this across my house. The closest thing to a complete solution I’ve found has been Denon HEOS, however they don’t support PoE for their audio devices. Similar solutions rely on unicast streams synced to each DLNA renderer, which is problematic, and solutions like http://openhome.org/ have no actual product I can buy.

    I just want to buy a single endpoint/speaker, power it over PoE and allow streaming across zones in my house.

Share your comments

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s