This is the offical Docker image of the Home Assistant add-on HomePod Connect. You can also use it by itself on other systems. It works out of the box with zeroconf and can be discovered inside your local network.
This repository contains a customized version of linuxserver/daapd. In this image librespot is replaced by librespot-java and openjdk11-jre is installed. Also a custom OwnTone and librespot-java configuration is provided.
In addition, Shairport Sync is installed and can be optionally enabled on the configuration page to provide either or both these Airplay instances:
-
An Airplay instance that will pipe audio and metadata to Owntone for whole house audio from any source that can play to an Airplay 1 device. This Airplay instance is hidden from OwnTone so it does not pipe back to OwnTone.
-
An Airplay instance that will play to the audio device of the Home Assistant host.
The changes can be viewed inside the Dockerfile
.
This image is built automatically when a new linuxserver/daapd or Shairport Sync version is released.
You can pull the image by using
docker pull alexbabel/owntone:VERSION
or use GHCR:
docker pull ghcr.io/alexanderbabel/owntone:VERSION
Run the image:
docker run --network=host -v $(pwd)/config:/config/owntone alexbabel/owntone:VERSION
You can access the OwnTone instance on the default port (3689).
All configuration files are stored inside the docker image in /config/owntone
. There, you can find multple files:
librespot-java.toml
- Configuration for librespot-javaowntone.conf
- Configuration for OwnToneshairport-sync-pipe.conf
- Configuration for Shairport Syncshairport-sync-audio.conf
- Configuration for Shairport Sync
All files are adjusted to work out of the box as a Spotify Connect speaker. The content of these files can be found in this repository.
The configuration page allows you to enable/disable the Airplay instances, name them them, change the tcp/udp port if needed, and choose from two logging levels.
Also on the configuration page, the librespot-java cache can be enabled/disabled and the Home Assistant audio device can be chosen.