What is needed to route audio to the Pi 3.5mm audio jack?

I have Marytts installed and working (although sounds terrible) over a Google hub and from the MarryTTS web interface I can speak through the local browser. I have not been able to speak through the speakers attached to the TRS on the Pi.

When I try using the Universal Media Player it reports that function is not supported.

# Config.yaml:
media_player:
  - platform: universal
    name: MP1
# Text to speech
tts:
  - platform: picotts
  - platform: marytts
  - platform: google_translate```
#
# Automation:
id: '1650809299432'
alias: TTS Test Event
description: ''
trigger:
  - platform: tag
    tag_id: ''
condition: []
action:
  - service: tts.marytts_say
    data:
      message: hello world
      entity_id: media_player.mp1
mode: single

Trace:

Thank you for any ideas or suggestions.

Today I’ve install VLC and have that set up as a media player and it does seem to be playing TTS as well as other media however it does not play through the Pi’s speaker. In my searches I found some suggestions that these lines be added to my config.yaml The documentation for the add-on is just about useless. The trace leads me to think the only thing missing is the connection to the 3.5mm jack.

Can anyone offer any advice here.

  - platform: vlc_telnet
    name: speaker1
    host: 192.168.1.110
    port: 4212
    password: 1234
    arguments: "--alsa-audio-device=hw:1,0"

image

I’m looking for a solution to the same problem.

Hi there.
I found that the MPD media player or Mopidy(?) by the de author has the ability to use the audio plug.

I didn’t find this, do you have a link. I don’t see support for the 3.5mm jack on a Pi running home assistant. I know you can control another pi but not the one that runs HA

this post may help someone, after seeing this I was able to get it working.

Sorry for the late reply. If you install the MPD Add-in the default configuration should allow you to route to the Pi audio jack.

but doesn’t MDP require a server? When I went to install it, it wanted to connect and I couldn’t go further.