Can you play the file from a computer using the correct path? I’m using Node Red, and I use the media_player play_media service call with the following URL, which I can also get to from a browser:
http://192.168.0.115:8123/local/sounds/ding.mp3
For TTS I have the following in my configuration.yaml:
tts:
- platform: google_translate
cache: false
cache_dir: /config/tts
time_memory: 60
service_name: google_say
For testing in Node Red:
[{"id":"05d060faf5774fa3","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"d9c62aad3cb7723b","type":"inject","z":"05d060faf5774fa3","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":120,"y":80,"wires":[["88b5a1a7b81363f2"]]},{"id":"88b5a1a7b81363f2","type":"api-call-service","z":"05d060faf5774fa3","name":"Speak","server":"8be923df.d66f9","version":5,"debugenabled":false,"domain":"tts","service":"google_say","areaId":[],"deviceId":[],"entityId":["media_player.rpi4"],"data":"{\"message\":\"{{payload}}\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":280,"y":80,"wires":[[]]},{"id":"c6d8001d836d8c96","type":"inject","z":"05d060faf5774fa3","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payload":"","payloadType":"str","x":110,"y":160,"wires":[["8f94098483b6d03a"]]},{"id":"8f94098483b6d03a","type":"api-call-service","z":"05d060faf5774fa3","name":"Play Ding.mp3","server":"8be923df.d66f9","version":5,"debugenabled":false,"domain":"media_player","service":"play_media","areaId":[],"deviceId":[],"entityId":["media_player.rpi4"],"data":"{\"media_content_id\":\"http://192.168.0.115:8123/local/sounds/ding.mp3\",\"media_content_type\":\"audio/mp3\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":300,"y":160,"wires":[[]]},{"id":"8be923df.d66f9","type":"server","name":"homeassistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]