No Audio from Speakers

Hi All
I’m having a problem with sound on my install.
I’m running HAOS on a Pi 5 and also running the HAOS Kiosk Display addon.

This is all working fine, I have a 10.1" touchscreen display with built in speakers:

My problem is, I can’t get any sound to come out of the speakers, the Pi is connected using a mini HDMI to standard HDMI.

ha audio info shows the following:

I’m a bit lost with this now so just wondered if anyone could tell me:

  1. Should this work and if so,
  2. What do I need to do to get it working.

Thanks for any advice.
Mick

What are you trying to use to output sound?
Neither HAOS nor the addon support playing audio on their own, AFAIK.

I was hoping the HDMI from the Pi had audio and this would play through the screens built in speakers?

What are you trying to play?

Are you expecting to have some media player’s sound going to those speakers, or are you using voice?

@parautenbach I wanted to use the speakers for playing media, e.g. radio stations or Spotify. I’m starting to think an Echo device might be easier.

Remember HA is a server. It’s intended to control other things and normally servers don’t have perhipherals connected. They typically stand somewhere in a rack.

What you need is to install software on HA that will be presented as a media player to HA. If you’re running on Linux, then something like this would be the integration to use: PulseAudio Loopback - Home Assistant.

@parautenbach thanks for this, I’ll take a look, I’m running HAOS on the Pi so I guess I’ll need to reinstall using Linus and run HA in a container?

Spotify can be achieved by Home Assistant Community Add-on: Spotify Connect
theoretically but it went to hell for me after user:pass authentification was ditched…maybe they fixed it now…

No need to install Software and i would rather not install stuff via cli on the linuxmachine itself. (Normally you dont install Software on HA OS in which I think you use)

Look for alternatives that can be installed as a Addon or even do your own Addons for the sake of stability and restoreability (from a backup).

Otherwise you are doing your super personal premium high maintenance custom stuff that noone helps you out and even which might make your system unstable, which might discourage you in your HA-Experience…

If you know what you do: feel free but id personally rather not…

Sure, so that’s just confirming what I said:

But, since OP is running HAOS, an add-on is an option, but it doesn’t change the fact that you need a middleman to get the audio to the output device. The Spotify add-on will rely on PulseAudio or its successor PipeWire.

I think you missed my point, which was to say: This is not a typical out-of-the box feature you get with HA. You need the right software for HA to know it can speak with a device (an integration) and the software that actually plays the audio (whether it’s through a raw PulseAudio stack, some 3rd party software or an add-on).

That OP was running HAOS wasn’t known at the time of my post. Installing an add-on is installing software, albeit not via the command line.

Not bad advice, but some personal preference too – and it would depend on one’s level of skill. I’m not sure whether you intended all of this for me. Perhaps it was for the OP. Either way, I’m sufficiently skilled to be comfortable running my own things on a server with HA.

yeah it was intended to @mick2025 , my bad.

1 Like

You should probably ask here…

@mick2025
If you are running HA OS, you might try the following if you are wanting to use Spotify with your device.

  1. install the SpotifyConnect AddOn via Settings \ Add-ons. Click the Add-on Store button in the lower right, and search for SpotifyConnect.
  2. prior to starting the add-on, select the Configuration tab to adjust the following settings:
    • change general options name value to your desired name (e.g. HA-Tablet). This is the device name that will appear in your Spotify device list.
    • click the Save button (on the general options section) to save your changes.
    • change audio options output value to Built-in Audio Digital Stereo (HDMI) value. It should be in the list, based upon your ha audio info details.
    • click the Save button (on the audio options section) to save your changes.
  3. start / restart the addon fully apply the changes.
  4. bring up the Spotify App on your phone (or desktop), and click the connect to a device button. This should bring up a list of Spotify Connect devices that you can select from, and your HA-Tablet (value you specified in step 2) name should be in the list. Click it to transfer play to the device.

If it starts playing, then you should be able to use the HA Spotify integration to transfer play the same way.

I am the author of the SpotifyPlus Integration and SpotifyPlus Card, and use the above method to test with my HA instance running on a VM machine.

You might also consider the SpotifyPlus Integration and SpotifyPlus Card, which provide a more robust experience with Spotify.

SpotifyPlus Sales Pitch

Check out the SpotifyPlus Integration; it can do everything that the HA Spotify integration can do, supports Spotify Connect enabled devices (Bose, Sonos, Google Chromecast, Amazon Alexa, Denon, JBL, and more), and provides 95+ custom services that can be used in HA automations and scripts.

There is also a SpotifyPlus Card user-interface that allows you to control the player, manage your Spotify favorites, as well as search the Spotify catalog. You have to install the SpotifyPlus integration first though, and get it configured before you can use the SpotifyPlus Card.

Both are easily installed via HACS.

Hope it helps!

They just released a new version of SpotifyConnect addon a few days ago; fixed the underlying librespot issue. The authentication stuff seems to be working fine for me.

Hope it helps!

@mick2025
Just curious if you got this figured out? Wondering if the SpotifyConnect option worked for you?

Hi.
I have maybe a similar or same situation. I installed the Spotify connect addon and can play through the 3.5mm jack music.
Through built in audio (HDMI 1 and 2) no sound comes out.
I am running on a pi 4.
The hardware is working. Would anybody help me to activate sound over hdmi?
Thank you.

@Florian1234
You may just need to change the Spotify Connect AddOn configuration options to select the appropriate output.

Try this, from Settings \ AddOns \ SpotifyConnect options:

  1. select the Configuration tab.
  2. change audio options output value to the HDMI 1 or 2 value.
  3. click the Save button (on the audio options section) to save your changes.
  4. start / restart the addon fully apply the changes.

If there are no HDMI audio options in the output value list, then issue the following command from a Terminal or SSH session to list your audio properties:

`ha audio info`

Thank you so much. I changed as you said but without any luck. This is the output of ha Audio Info.
I am a little bit lost what I can do with this information. Can you maybe gives hint on this? What to try now?

audio info
audio:
application:
card:

  • driver: module-alsa-card.c
    index: 0
    name: alsa_card.platform-fe00b840.mailbox
    profiles:
    • active: true
      description: Stereo Output
      name: output:stereo-fallback
    • active: false
      description: “Off”
      name: “off”
  • driver: module-alsa-card.c
    index: 1
    name: alsa_card.platform-fe00b840.mailbox.2
    profiles:
    • active: true
      description: Stereo Output
      name: output:stereo-fallback
    • active: false
      description: “Off”
      name: “off”
      input:
      output:
  • applications:
    card: 0
    default: false
    description: Built-in Audio Stereo
    index: 0
    mute: false
    name: alsa_output.platform-fe00b840.mailbox.stereo-fallback
    volume: 0.857696533203125
  • applications:
    card: 1
    default: true
    description: Built-in Audio Stereo
    index: 1
    mute: false
    name: alsa_output.platform-fe00b840.mailbox.stereo-fallback.2
    volume: 0.857696533203125
    host: 172.30.32.4
    update_available: false
    version: 2025.08.0
    version_latest: 2025.08.0

@Florian1234
Per the audio info output, it seems that only the stereo audio output is enabled. It looks like you need to change the Raspberry Pi 4 config to enable the HDMI Audio output. Once you do that, it should then show up in the ha audio info output.

A quick search of how to enable RPi4 HDMI Audio yielded this:

Troubleshooting Tips

  • Port: Always use the HDMI0 port (the one closest to the USB-C power port) for reliable audio on the Pi 4.
  • Monitor: Ensure your TV or monitor has speakers and is set to the correct input.
  • Volume: If no sound, right-click the speaker icon and check volume levels or click “Select Controls” to unmute.
  • Force Analog: If you hear static or nothing, you might need to force it off analog by setting amixer cset numid=3 2 in the terminal, then reboot.

Thank you! I checked all four topics. No sound for the 1-3. result for 4: command not found.

Apt is also not installed.
Seems to be tricky.

Any clue?