Install Music Player Daemon [MPD] on your host.
It will open a port for HA to connect to:
Check card and device number:
For example:
gives us card 1 and device 0.
Update config file
add below entry, changing card and device numbers.
|
1 2 3 4 5 6 |
audio_output { type "alsa" name "Local Audio" device "hw:1,0" mixer_type "software" } |
Restart MPD
Add MPD integration in HA.
Host:
Port:
Test using Media > Text To Speech > Google Translate. Be sure to change the chosen media player device at the bottom.
