I am using an automation to get data and process back for agent response to then feed to tts.piper and play it on an Apple HomePod Mini. This worked until recently and I am running the latest everything but here is what I am getting in the errors:
Executed: April 28, 2026 at 6:30:04 AM
Error: ('failed to init decoder', -1)
Result:
params:
domain: tts
service: speak
service_data:
cache: false
media_player_entity_id: media_player.great_room_2
message: >-
Today is Tuesday April 28, 2026. The weather is rainy across the area.
Today's high temperature will be 76 degrees Fahrenheit and tonight's low
temperature will be 63 degrees Fahrenheit. There is a chance of rain with
a probability of 48 percent.
options:
voice: en_GB-alan-medium
entity_id:
- tts.piper
target:
entity_id:
- tts.piper
running_script: false
I’m getting (‘failed to init decoder’, -1) on playing tts to HomePods on automations that were working for months as well. Started happening in the last week or so. I’m on ha os, core 2026.4.4. I’m pretty sure the issue started after that update with no changes. Similar issue to you where certain tts will work and other will fail. Hoping it’s just a bug that needs fixing. I may try to revert to an earlier version for testing if possible. I’ve not tried that before.
For what it’s worth I reverted back to 2026.4.3 and it is working fine again. I think there is some bug in 2026.4.4. Not sure if that’s the same for you but it may be worth a try. For HA OS from terminal I just did ha core update --version 2026.4.3, that did the downgrade.
It took me a while to narrow it down. I use OpenAI to generate the message and Amazon Polly for the TTS. Depending on the target speaker, the message is sent to Google, Apple or Sonos devices.
Apple speakers recently started failing. After some debugging, I found that longer TTS messages fail on Apple/HomePod devices, while short messages still work correctly. Sending the exact same failing messages to Sonos works without any issue.
Conclusion: Apple HomePod/HomePod Mini devices no longer seem to accept longer TTS messages correctly.
Error:
(‘failed to init decoder’, -1)
Update:
Same issue with OpenAI TTS (which is quite nice btw). Longer messages on Apple Devices just doesn't work anymore.