Media players 2: Daphile

Daphile is an audiophile’s dream. Unlike the Runeplayer or Volumio, Daphile is not supported on ARM devices like the Raspberry Pi or the ARM devices. If you have an old PC lying around, this may be one way to put it to good use.  Unlike the Runeplayer and Volumio, Daphile is not built on the MPD player. It is based on a Logitech Squeezebox platform. As is customary  for internet streaming players, Daphile is accessible through a web interface.

When Home Assistant starts up, in recognizes Daphile and provides simple widget  interface for it.


However, in typical fashion, My Home assistant has an iFrame for Daphile for more control.

Daphile iFrame.png

In addition, A dash button on my refrigerator has been hacked to play or pause my daphile player.(See my earlier post on dash buttons.)

There are several great features in Daphile. When you sign up for music services such as iHeartRadio or Pandora, they appear on Daphile. Daphile has built-in CD ripping capability, support for shared network drives , DSD playback and lastly exceptional sound quality surpassing any Raspberry pi media players.

One disadvantage is that Daphile does not support wifi for now and will need a ethernet connection.

iFrames in Home Assistant

Home assistant provides two ways to interface with other web pages on websites or on other servers. One is by the use of typical HTML link that most of us are familiar with. The other is by the use of iFrames that allows the embedding of a page inside another.

Sometimes a small feature may be one of the deciding factors in choosing a tool. A year ago, there was no easy way to link to an external site or page from OpenHab.(I am unsure if they have added the feature now.) The ability of adding an iFrame displaying another web page within a page is a big win for me. I have several iFrames in my setup.

As an AEM Architect with experience in building large content management systems and web sites I would not recommend using iFrames in commercial applications. Having said that, they work well with Home Assistant.

In my earlier post I described the MPD server. When Home Assistant is started, it detects all MPD players on the home network. It also provides a small widget to easilycontrol the player and displays status information for the player as shown below.

Now, by using an iFrame I can provide the detailed Rompr interface within Home Assistant for more fine-grained control.


This gives my home automation system the best of both worlds. While some purists may not agree with my configuration, I see my home automation system as one holistic system that uses the best of all tools. It helps me to search and integrate the best tools available into my system.

Media Players 1: MPD

MPD or Music Player daemon is one of the oldest open source music player servers. It can be installed on Windows, OSX or Linux. Once installed, it can be controlled by a client to play music  on the server using a client that interfaces with the server.

Numerous clients are available for MPD ranging from phone or comptuer apps on a variety of platforms. A few years ago, I transformed an old router into an internet radio that used mpd to play music from internet radio stations.

Today, there are many music player distros that one may install on the raspberry pi or an old PC such as Volumio and Runeplayer. These  run an MPD server under the covers and present very user friendly screens for music playing on the front end or when accessed by their web interface.

Today, I have an MPD daemon that runs on the same computer that runs my home automation system in my study. It is connected to Audioengine A2+ White (Pr.) 2-way Powered Speaker System. The same computer also runs an Apache server with Rompr, my favorite MPD client.

I also have a Rune player on my Raspberry Pi 3 Model B in my garage that also doubles as my home gym.