Setting TTS on RPI 4b in jack out

Gents,
Im struglling with playing TTS over the jack out of the RPI 4. First I started by installing VLC+VLC telnet. It worked somehow.... When I tried execute script sometimes worked, sometimes partly played, sometimes not at all. In the way that I had to run script 10 times to have one notification played. Thats not what I was looking for. Then I moved and installed MPD player. The player works, Im able to run radio stream without issue. But I could`n find entity “media_player.mpd” so I couldnt use it for TTS. In the logs I can find error:

Logger: homeassistant.components.media_player
Source: helpers/entity_platform.py:239
integration: Media player (documentation, issues)
First occurred: 5:00:02 PM (1 occurrences)
Last logged: 5:00:02 PM
The mpd platform for the media_player integration does not support platform setup. Please remove it from your config.

in my configuration.yaml :
media_player:
platform: mpd
host: 192.168.1.48 # the IP for the raspberry pi running HA and from which I am trying to output sound on the 3.5mm audio port
scan_interval: 1

Could anyone knows how I can acomplish TTS via jackOut of the RPI4?

My system:
Home Assistant

  • Core2025.2.5
  • Supervisor2025.03.2
  • Operating System14.2
  • Frontend20250221.0
1 Like

So maybe another question. Is there anyone who is able to use RPI 4 and similar system version to use TTS over RPI`s 4 speaker?

I`ve installed Wyoming, as I understand with Piper. But still I can only choose entity vlc , when I run it it shows ok but no sound from the speaker.

I`dont understand why I cannot add RPI to media_player entity, why it just not showing in “Media player entity” box?

Hey, (sorry to disappoint you) similar problem here…I have RPi5 with USB sound card and ‘local microphone’ addon installed. Assist through sound card somehow works (waiting for ground isolator). For me as linux veteran whole HASS voice model seems complex and hard to troubleshoot (so many diff. parts >:/ ) One command in bash and it takes ages to resolve on HASS OS RPi install. Thinking about going Raspian way with HASS on top of that. That way i would have much more control on platform and i could say anything from speaker in matter of one liner executed from HASS

Thanks for sharing, at least I know that other people have this problem as well. Wondering still if some of us were able to sort it out…