Google TTS no longer works on Homepod Minis after updating to May Home Assistant
See original GitHub issueDescribe the bug
Up until I had updated to the latest version of HA, TTS had been working just fine. Now after the latest update, it stopped working on all of my HomePod Minis (all other functionality, including music, is retained).
What may be the issue and how can I resolve it? Thanks!
Error log
CLOCK IN OR OUT: Error executing script. Unexpected error for call_service at pos 1: media-source://tts/google_translate?message=Mary, do+not+forget+to+clock+in+or+out
While executing automation automation.clock_out
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 447, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 680, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1627, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1664, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/tts/__init__.py", line 217, in async_say_handle
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1627, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1664, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call
await result
File "/config/custom_components/apple_tv/media_player.py", line 292, in async_play_media
await self.atv.stream.stream_file(media_id)
File "/usr/local/lib/python3.9/site-packages/pyatv/core/facade.py", line 382, in stream_file
await self.relay("stream_file")(file, **kwargs)
File "/usr/local/lib/python3.9/site-packages/pyatv/protocols/raop/__init__.py", line 371, in stream_file
audio_file = await open_source(
File "/usr/local/lib/python3.9/site-packages/pyatv/protocols/raop/audio_source.py", line 484, in open_source
return await FileSource.open(source, sample_rate, channels, sample_size)
File "/usr/local/lib/python3.9/site-packages/pyatv/protocols/raop/audio_source.py", line 428, in open
src = await loop.run_in_executor(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/miniaudio.py", line 929, in decode_file
filenamebytes = _get_filename_bytes(filename)
File "/usr/local/lib/python3.9/site-packages/miniaudio.py", line 807, in _get_filename_bytes
raise FileNotFoundError(filename)
FileNotFoundError: media-source://tts/google_translate?message=Mary,+do+not+forget+to+clock+in+or+out
How to reproduce the bug?
update to latest Home Assistant (5.3 core, Supervisor 05.1)
What is expected behavior?
my TTS automations should work.
Operating System
HASS OS
Python
3.9
pyatv
the pyatv version that comes with atv-beta 3.0.1
Device
Apple TV 4K OS 15.4
Additional context
I had checked that my network settings on HomeKit are correct, “Anyone on the Same Network” … “Everyone” also works. I had restarted my Apple TV and Home Assistant and neither of these attempts solved the issue.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Google TTS no longer works on Homepod Minis after ... - Reddit
Now after the latest update, it stopped working on all of my HomePod Minis (all other functionality, including music, is retained).
Read more >Tts.cloud_say not working since update to HA 2022.5.0 / Error ...
Any script or automation using tts.cloud_say isn't working anymore since I upgraded to 2022.5.0 and raises an error in home-assistant.log:
Read more >WTH does Text to Speech no longer work for HomePods
Go to the Dev tools > Services. Choose your TTS service, select your HomePod, type your message and hit “Call Service”. You'll be...
Read more >TTS not working with 2022.5 - Home Assistant Community
I am running HomeAssistant Container. Dockerfile: FROM ghcr.io/home-assistant/raspberrypi3-homeassistant:2022.4.7 COPY . /. RUN apk update && ...
Read more >TTS on homepod mini - Home Assistant Community
Is there a trick to use TTS or to make siri speack text on homepod mini? I found nothing who work. On an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, maybe try the Apple TV integration version of the current Home Assistant version and do not use the custom component beta version. I removed the custom component completely, restarted HA, readded my HomePods and do not have this issue.
I will close this now as it was just because of the beta component.