Pulseaudio implementation for Home Assistant
Go to file
Stefan Agner b4bbab8195
Convert to s6 style and remove Pulseaudio restart (#153)
* Convert overlay to new s6 style

This fixes an issue where restarting Pulseaudio on new hardware didn't
work. With this, we restart the pulseaudio service and wait for
readiness.

* Restart Pulseaudio on add and remove

Restart Pulseaudio in both cases, when adding and removing devices. Also
drop the unnecessary sleep.

* Drop rescue streams as it is deprecated

* Don't reload Pulseaudio

The necessary modules get reloaded by Supervisor now.
2023-10-30 16:17:00 +01:00
.devcontainer Update PulseAudio 14.2 (#43) 2021-02-13 00:51:06 +01:00
.github Bump actions/checkout from 4.1.0 to 4.1.1 (#150) 2023-10-18 11:53:39 +02:00
patches Bump to Pulseaudio 16.1/Alsa 1.2.8/Alpine 3.17 (#137) 2023-04-25 15:38:31 +02:00
rootfs Convert to s6 style and remove Pulseaudio restart (#153) 2023-10-30 16:17:00 +01:00
.hadolint.yaml Run pulse as root to avoid permission issues (#14) 2020-04-01 09:58:07 +02:00
Dockerfile Bump to Pulseaudio 16.1/Alsa 1.2.8/Alpine 3.17 (#137) 2023-04-25 15:38:31 +02:00
LICENSE Initial commit 2020-02-23 10:39:52 +01:00
README.md Update README.md (#41) 2021-01-23 13:19:19 +01:00
build.yaml Bump home-assistant/builder from 2023.06.0 to 2023.06.1 (#143) 2023-06-29 11:11:48 +02:00

README.md

Audio

PulseAudio implementation for Home Assistant.

This container ship the upstream ALSA configs and base settings for Pulse.

How it works

We have a central container they handle the ALSA settings and run on top a PulseAudio service. They service is expose to Home Assistant and Add-ons if they need audio support. This handling allow us to manage all central on one place and streamline the audio as a plaform.

The second benefit if that is give the control over the audio to the user. He can load and modify Pulse module and adjust his use case without need changes on Supervisor or Operating-System.

The Supervisor just manage the container and distribute updates and is responsible for management of this container.

Troubleshooting

You can make troubleshooting with the Terminal Add-ons from Core or Community. The are 2 Layers for troubleshooting: The container and the PulseAudio server.

Container

With Home Assistant cli util ha you can manage the container and there output:

Command Description
ha audio info Show all information they are available on Supervisor
ha audio reload Reload information from running Pulse server
ha audio logs Show output of Pulse server.
ha audio restart Restart the PulseAudio container.

PulseAudio

You have the full access to the Pulse server to adjust any kind of settings and optimize. A full list of loaded settings is available with:

pactl list

Mostly you have sound issues and need enable a different Profile for you Card.