Pulseaudio implementation for Home Assistant
Go to file
Stefan Agner 2b323b226d
Fix Audio on ODROID-C4 (#136)
With the new axg-sound-card sound card configuration ODROID-C4 gets a
valid sound card now. However, startup doesn't complete since the sound
card is not properly setup due to missing soundconfig. This leads to
100% CPU usage by the Audio plug-in on ODROID-C4.

This adds soundconfig for ODROID-C4 to fix the problem.
2023-04-25 13:40:39 +02:00
.devcontainer Update PulseAudio 14.2 (#43) 2021-02-13 00:51:06 +01:00
.github Bump actions/checkout from 3.5.1 to 3.5.2 (#133) 2023-04-14 09:34:57 +02:00
patches Run pulse as root to avoid permission issues (#14) 2020-04-01 09:58:07 +02:00
rootfs Fix Audio on ODROID-C4 (#136) 2023-04-25 13:40:39 +02:00
.hadolint.yaml Run pulse as root to avoid permission issues (#14) 2020-04-01 09:58:07 +02:00
Dockerfile Using mimalloc instead jemalloc (#69) 2021-04-15 15:41:43 +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 2021.09.0 to 2021.11.4 (#91) 2021-11-29 16:43:37 +01: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.