Home Assistant Core
2024-10-29 17:05:36.663 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration chime_tts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-29 17:09:17.411 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Public audio file not found on filesystem: http://192.168.86.193:8123/local/temp/chime_tts/announcements/9mc11iyk.mp3
2024-10-29 17:09:17.411 WARNING (MainThread) [custom_components.chime_tts] Check that the folder path in the configuration for `chime_tts.say_url` is within the public "www" folder or the local media folder
2024-10-29 17:13:20.846 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Public audio file not found on filesystem: http://192.168.86.193:8123/local/temp/chime_tts/announcements/sd4m22n6.mp3
2024-10-29 17:13:20.846 WARNING (MainThread) [custom_components.chime_tts] Check that the folder path in the configuration for `chime_tts.say_url` is within the public "www" folder or the local media folder
2024-10-29 17:48:23.654 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Public audio file not found on filesystem: http://192.168.86.193:8123/local/temp/chime_tts/announcements/u66e5pkk.mp3
2024-10-29 17:48:23.654 WARNING (MainThread) [custom_components.chime_tts] Check that the folder path in the configuration for `chime_tts.say_url` is within the public "www" folder or the local media folder
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Chime TTS Say URL Called. Version v1.1.6-beta5 โ
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโฎ
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ General Parameters โ
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโฏ
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = []
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = classical
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * end_chime_path = glockenspiel
2024-10-29 17:51:06.096 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 250.0
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Hey there! Just a heads-up: the dogs are outside, and I think Zippy might be trying to negotiate with a snake for a game of fetch. Letโs let them back in before they start a wildlife conference out there!
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = amazon_polly
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array = []
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโฎ
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Preparing Audio โ
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโฏ
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/classical.mp3
2024-10-29 17:51:06.097 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/classical.mp3"...
2024-10-29 17:51:06.160 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 3.038s
2024-10-29 17:51:06.161 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-29 17:51:06.161 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'amazon_polly'
2024-10-29 17:51:06.161 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Hey there! Just a heads-up: the dogs are outside, and I think Zippy might be trying to negotiate with a snake for a game of fetch. Letโs let them back in before they start a wildlife conference out there!'
2024-10-29 17:51:06.161 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-10-29 17:51:06.161 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-29 17:51:06.161 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-29 17:51:06.906 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 750.0ms
2024-10-29 17:51:06.928 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/glockenspiel.mp3
2024-10-29 17:51:06.928 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/glockenspiel.mp3"...
2024-10-29 17:51:06.994 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.128s
2024-10-29 17:51:06.995 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to public folder: /config/www/temp/chime_tts/announcements/...
2024-10-29 17:51:07.149 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /config/www/temp/chime_tts/announcements/zg50e7o1.mp3
2024-10-29 17:51:07.223 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Public audio file not found on filesystem: http://192.168.86.193:8123/local/temp/chime_tts/announcements/zg50e7o1.mp3
2024-10-29 17:51:07.223 DEBUG (MainThread) [custom_components.chime_tts] Final URL = None
2024-10-29 17:51:07.223 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
2024-10-29 17:51:07.223 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโ Chime TTS Say URL Completed in 1.13 s โโโโโ
2024-10-29 17:51:07.223 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
2024-10-29 17:51:07.223 WARNING (MainThread) [custom_components.chime_tts] Check that the folder path in the configuration for `chime_tts.say_url` is within the public "www" folder or the local media folder
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Chime TTS Say URL Called. Version v1.1.6-beta5 โ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโฎ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ General Parameters โ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโฏ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = []
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = classical
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * end_chime_path = glockenspiel
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 250.0
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Hey there! Just a heads up, the dogs are waiting to come back inside. I think theyโre starting to reconsider their life choices out there. Zoey looks particularly worriedโmaybe she spotted a coyote or two eyeing her like sheโs a tasty snack. Letโs get them in before they start negotiating their freedom!
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = amazon_polly
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array = []
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโฎ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Preparing Audio โ
2024-10-29 17:52:18.038 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโฏ
2024-10-29 17:52:18.039 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/classical.mp3
2024-10-29 17:52:18.039 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/classical.mp3"...
2024-10-29 17:52:18.105 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 3.038s
2024-10-29 17:52:18.107 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-29 17:52:18.107 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'amazon_polly'
2024-10-29 17:52:18.107 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Hey there! Just a heads up, the dogs are waiting to come back inside. I think theyโre starting to reconsider their life choices out there. Zoey looks particularly worriedโmaybe she spotted a coyote or two eyeing her like sheโs a tasty snack. Letโs get them in before they start negotiating their freedom!'
2024-10-29 17:52:18.107 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-10-29 17:52:18.107 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-29 17:52:18.107 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-29 17:52:19.209 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 1.1s
2024-10-29 17:52:19.236 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/glockenspiel.mp3
2024-10-29 17:52:19.236 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/glockenspiel.mp3"...
2024-10-29 17:52:19.305 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.128s
2024-10-29 17:52:19.306 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to public folder: /config/www/temp/chime_tts/announcements/...
2024-10-29 17:52:19.490 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /config/www/temp/chime_tts/announcements/18hk_sjx.mp3
2024-10-29 17:52:19.570 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Public audio file not found on filesystem: http://192.168.86.193:8123/local/temp/chime_tts/announcements/18hk_sjx.mp3
2024-10-29 17:52:19.570 DEBUG (MainThread) [custom_components.chime_tts] Final URL = None
2024-10-29 17:52:19.570 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
2024-10-29 17:52:19.570 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโ Chime TTS Say URL Completed in 1.53 s โโโโโ
2024-10-29 17:52:19.570 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
2024-10-29 17:52:19.570 WARNING (MainThread) [custom_components.chime_tts] Check that the folder path in the configuration for `chime_tts.say_url` is within the public "www" folder or the local media folder
Hey @Nimrod_Dolev! Sorry for going MIA. I am dealing with bedbugs I just found (EW!) and while dealing with that drama, my PC wouldnโt boot up after simply restarting. Turns out, it was because of a stupid MicroSD card I had in a reader - I didnโt think anything about it cause thereโs nothing on it. But apparently my PC didnโt like the card.
Anyway, good newsโฆ sort of.
When I followed your steps, I ran the automation, the mp3 played as expected, and without any Simon Says error. We really should find this guy and bop him over the head once or twice. KIDDING! I donโt condone violence! But man does he ever get on my nerves!
That said, when I try running the automation without Cache set to true, I get the Simon Says error message.
Here are the logs, for the several times I ran it, with and without cache set to true:
Hey @ColtonYYZ - sorry to hear about the challenges youโve been facing
Let me at least try to fix your issues with Chime TTS and Alexa ![]()
I want to clarify with you exactly when the issue occurs and when it does not. I have understood the follow, please correct me if iโm wrong:
| # | Cache Value | New File Generated? | Playback Result |
|---|---|---|---|
| 1 | false |
Yes | |
| 2 | true |
Yes (on first run) | |
| 3 | true |
No (on subsequent runs) |
Assuming this is correct: I donโt understand why the cached version of the MP3 plays correctly the second time, but newly generated MP3s do not. It would make sense that thereโs a difference between the two.
Can you please try the following?
- Run
chime_tts.sayto create a new MP3 withcacheset totrue(i.e: scenario #2 in the above table), and then try to play it vianotify.alexa_media? - Repeat the same call to
chime_tts.sayand then try to play it vianotify.alexa_media(scenario #3)?
It might also be useful if you could please save the file each time, so I can compare the two.
Hey @Nimrod_Dolev!
I ran the tests you mentioned. They both worked fine. BUT, as soon as I was finished running the last test, I decided to go uncheck the cache and make no other changes, and run the test again, and I received the Simon Says error. So it works fine when cache is set to true but fails when itโs set to false.
Here are the logs:
C
Hi Nim.
So, I deleted the integration, completely rebooted my HA box, and reinstalled it from HACS. (I used SSH to delete all the old chime_tts files from HA and reloaded it anew from HACS and reconfigured.)
Sonos now working again, but absolutely nothing out of the HomePod. (I had to change TTS platform from Nabu Casa โ Microsoft, to make even the Sonos work.)
My (re)configuration is:
I still have the changes we made to configuration.yaml.

Any clue?
โ Darrell
Debug logs for HomePod below:
2024-10-31 15:44:53.729 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-10-31 15:44:53.729 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Chime TTS Say Called. Version v1.1.5 โ
2024-10-31 15:44:53.729 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-10-31 15:44:53.729 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-31 15:44:53.731 INFO (MainThread) [custom_components.chime_tts.helpers.media_player] Turning on "media_player.darrells_office_homepod"...
2024-10-31 15:44:53.733 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโฎ
2024-10-31 15:44:53.733 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ General Parameters โ
2024-10-31 15:44:53.733 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโฏ
2024-10-31 15:44:53.733 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.darrells_office_homepod']
2024-10-31 15:44:53.733 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = /config/www/sounds/chime.mp3
2024-10-31 15:44:53.733 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = True
2024-10-31 15:44:53.733 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-31 15:44:53.736 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-31 15:44:53.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Test of TTS
2024-10-31 15:44:53.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = microsoft
2024-10-31 15:44:53.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-31 15:44:53.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-31 15:44:53.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = True
2024-10-31 15:44:53.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-31 15:44:53.737 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.darrells_office_homepod
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: apple_tv
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: -1.0
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: -1.0
2024-10-31 15:44:53.738 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-10-31 15:44:53.739 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-10-31 15:44:53.739 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-10-31 15:44:53.739 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโฎ
2024-10-31 15:44:53.739 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Preparing Audio โ
2024-10-31 15:44:53.739 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโฏ
2024-10-31 15:44:53.739 DEBUG (MainThread) [custom_components.chime_tts] *** Checking Chime TTS audio cache ***
2024-10-31 15:44:53.744 DEBUG (MainThread) [custom_components.chime_tts] Cached audio found:
2024-10-31 15:44:53.745 DEBUG (MainThread) [custom_components.chime_tts] - local_path = "/media/sounds/temp/chime_tts/sfz803o1.mp3"
2024-10-31 15:44:53.745 DEBUG (MainThread) [custom_components.chime_tts] - audio_duration = 3.931
2024-10-31 15:44:53.745 DEBUG (MainThread) [custom_components.chime_tts] - public_path = None
2024-10-31 15:44:53.745 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/sfz803o1.mp3"
2024-10-31 15:44:53.745 DEBUG (MainThread) [custom_components.chime_tts] ...cached audio found
2024-10-31 15:44:53.745 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโฎ
2024-10-31 15:44:53.745 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Chime TTS playback โ
2024-10-31 15:44:53.746 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโฏ
2024-10-31 15:44:53.746 DEBUG (MainThread) [custom_components.chime_tts] 1 Regular media player detected:
2024-10-31 15:44:53.746 DEBUG (MainThread) [custom_components.chime_tts] - media_player.darrells_office_homepod
2024-10-31 15:44:53.746 DEBUG (MainThread) [custom_components.chime_tts] Calling media_player.play_media with data:
2024-10-31 15:44:53.746 DEBUG (MainThread) [custom_components.chime_tts] - entity_id: ['media_player.darrells_office_homepod']
2024-10-31 15:44:53.747 DEBUG (MainThread) [custom_components.chime_tts] - announce: True
2024-10-31 15:44:53.747 DEBUG (MainThread) [custom_components.chime_tts] - media_content_type: music
2024-10-31 15:44:53.747 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/sfz803o1.mp3
2024-10-31 15:44:53.748 DEBUG (MainThread) [custom_components.chime_tts] - Waiting 3.931s for audio playback to complete...
2024-10-31 15:44:57.681 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Waiting until 1 media_player isn't playing...
2024-10-31 15:44:57.681 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] โ media_player.darrells_office_homepod
2024-10-31 15:44:57.682 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
2024-10-31 15:44:57.682 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโ Chime TTS Say Completed in 3.95 s โโโโโ
2024-10-31 15:44:57.682 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Datapoint. On a standard media player using my HomePod, I can browse to the folder where the cached files are (/media/sounds/temp/chime_tts) and play the file directly on the device.
So far this has been a great integration! Cant tell you how much Iโve messed around with things like dummy media players and what not to try get a URL for Sonos announce!
Thank you @Nimrod_Dolev ![]()
Then I have a question:
I setup ChimeTTS to get a URL using Piper as below.
I get a URL and the file can be see and heard all as expected.
Then of course I want to complicate thingsโฆ I came across Elevenlabs TTS to get more natural sounding voices and I was like โperfect I can just swap this in for Piper and itโs like Im living in the future!โ but I got stuck.
Elevenlabs TTS is setup, and works as expected (tested this through media sources - tts - send to brower). I have a preselected voice in the config for ElevenLabs etc and I hear what is expected.
When setting it up as a TTS provider in Chime TTS as below:
Then running the action, it only produces a URL with the chime, no TTS.
The logs look like the below (including the media file error too):
This error originated from a custom integration.
Logger: custom_components.chime_tts
Source: custom_components/chime_tts/__init__.py:1041
integration: Chime TTS (documentation, issues)
First occurred: 11:33:51 (1 occurrences)
Last logged: 11:33:51
Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'This is a chime tts test. If you are hearing this, then all systems are go!'}
This error originated from a custom integration.
Logger: custom_components.chime_tts
Source: custom_components/chime_tts/__init__.py:680
integration: Chime TTS (documentation, issues)
First occurred: 11:33:51 (1 occurrences)
Last logged: 11:33:51
The elevenlabs platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
This error originated from a custom integration.
Logger: custom_components.chime_tts.helpers.media_player_helper
Source: custom_components/chime_tts/helpers/media_player_helper.py:241
integration: Chime TTS (documentation, issues)
First occurred: 12:46:32 (1 occurrences)
Last logged: 12:46:32
Media file "%s" is not in a local media directory. See https://www.home-assistant.io/more-info/local-media/setup-media/
Any thoughts on this? Is this a known limitation? Am I missing something here?
Edit: Removed mention of the โMedia file โ%sโ is not in a local media directoryโฆโ error. Seems like adding a folder location for custom chimes (only thing I changed since posting) removed this error.
Edit 2: Never mind, that โMedia fileโฆโ error is still in my logs when using Piper or Elevenlabs
Hi,
Iโm having some troubles using this integration. I have 5 Sonos devices and I want to use them for the doorbell and to announce some information for the kids (dinner is ready). I want to join all the players for this and after the doorbell/announcement each Sonos device must continue playing the radio station or Spotify on the Sonos that was playing before.
Could I achieve this using only this integration, or do I need to snapshot / join / unjoin / restore option from the Sonos integration. I would be really grateful when someone could share his code for this. I tried several combinations but not with the expected result.
Please keep in mind that Iโm using only Sonos devices (I have read several different things that is working on one brand and not on another)
Thanks a lot
Kris
Anyone noticing that volume_level is being ignored? Doesnโt seem to be working when I send a TTS to my Sonos devices. Only seems to be an issue for Sonos devices though
2024-11-23 13:50:45.260 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-11-23 13:50:45.261 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Chime TTS Say Called. Version v1.1.6-beta5 โ
2024-11-23 13:50:45.261 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-11-23 13:50:45.261 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโฎ
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ General Parameters โ
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโฏ
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.kitchen']
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = bells_2
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-11-23 13:50:45.264 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = test
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = cloud
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = 0.49
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.kitchen
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: sonos
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.22
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.49
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: True
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: True
2024-11-23 13:50:45.265 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโฎ
2024-11-23 13:50:45.266 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Preparing Audio โ
2024-11-23 13:50:45.266 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโฏ
2024-11-23 13:50:45.266 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/bells_2.mp3
2024-11-23 13:50:45.266 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/bells_2.mp3"...
2024-11-23 13:50:45.389 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.279s
2024-11-23 13:50:45.390 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-11-23 13:50:45.390 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'cloud'
2024-11-23 13:50:45.391 DEBUG (MainThread) [custom_components.chime_tts] * message = 'test'
2024-11-23 13:50:45.391 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-11-23 13:50:45.391 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-11-23 13:50:45.391 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-11-23 13:50:45.689 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 300.0ms
2024-11-23 13:50:45.695 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-11-23 13:50:45.807 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/a_vctyn_.mp3
2024-11-23 13:50:45.923 DEBUG (MainThread) [custom_components.chime_tts] - Chime TTS audio generated:
2024-11-23 13:50:45.923 DEBUG (MainThread) [custom_components.chime_tts] * audio_duration = 3.241
2024-11-23 13:50:45.923 DEBUG (MainThread) [custom_components.chime_tts] * local_path = "/media/sounds/temp/chime_tts/a_vctyn_.mp3"
2024-11-23 13:50:45.923 DEBUG (MainThread) [custom_components.chime_tts] * public_path = None
I just experienced the same.
Because Sonos was complaining in the error log about an invalid (stale) authentication token (issue: Notifications of login attempts from Sonos ยท Issue #88714 ยท home-assistant/core ยท GitHub), somebody suggested I send a periodic null announcement (say 12 or 24 hours) to reset the tokens.
I was trying to get Chime_TTS to send one with the volume set to zero, so it would be inaudible throughout the house, but when testing I found the announcement was made at the โnormalโ volume.
Actually, it DOES work on the Sonos.
I had to set the volume to 0.05 and it was almost a whisper. Using just integers may have an issue, but decimal values (0.1 - 1.0) seem to work.
You can do the following, use โchime_tts.say_urlโ action. Take the URL as a variable and pass it to โmedia_player.play_mediaโ,select what ever Sonos speaker you want. Make sure to enable โannounceโ and you can even add a preferred volume. Try it without grouping etc (so just select multiple speakers you want in the automation). The โannounceโ feature for Sonos allows you to over lay any media if the speaker is already playing something, it auto reduces the volume, plays the announcement, and returns the volume.
Here is an example automation without a trigger so you can test it
alias: Sonos Chime TTS Test
description: ""
triggers: []
conditions: []
actions:
- action: chime_tts.say_url
metadata: {}
data:
message: >-
This is a chime tts test. If you are hearing this, then all systems are
go!
chime_path: ba_dum_tss
response_variable: url
- action: media_player.play_media
metadata: {}
data:
announce: true
media_content_type: music
media_content_id: "{{url.url}}"
extra:
volume: 10
target:
entity_id: media_player.YOUR_SONOS_ENTITY(s)
mode: single
The below: this is a variable that will store the response from Chime TTS URl call. Call it what you want, I called it URL
response_variable: url
The below: This is the announce feature for Sonos I mentioned. Make sure this is enabled.
announce: true
The below: Make sure media type is set to โmusicโ and the content id uses the โvariable.urlโ. Because I used url as my variable for the Chime TTS URL call you see it twice and its a little confusing. Say you named the variable from the Chime TTS URL call โchimettsโ or โttsmp3โ, then it would be โ{{chimetts.url}}โ or โ{{ttsmp3.url}}โ.
media_content_type: music
media_content_id: "{{url.url}}"
The below: Lastly you can add the volume for your announcement if you like. I like to use this so that if say, I was listening to something on a low volume (15%) and I send an announcement you can set this to 50 and the announcement would adjust the volume, finish, and return to the original 15%.
extra:
volume: 10
Thatโs it. No need to pause music. Mess with volume. Store things in variable to later call. Just use Chime TTS to get a url for your announcement, and send it to your Sonos using the built in โplay.mediaโ action, making sure to have โannounceโ set to true, add the extra volume line if you like.
@Nimrod_Dolev apologies for the pestering, but any Idea what I might be doing wrong? Would love to move from Piper to Elevenlabs / OpenAI.
Hi @neekulp
I tried your solution, but I got a problem because my media_content_id is null while checking the trace. Iโll probably miss something. This is my piece of code
alias: test chime url
description: ""
triggers:
- trigger: state
entity_id:
- input_boolean.isbroodnodig
from: "off"
to: "on"
conditions: []
actions:
- action: chime_tts.say_url
metadata: {}
data:
message: opstaan je moet naar de bakker
chime_path: ba_dum_tss
response_variable: url
- action: media_player.play_media
data:
announce: true
media_content_type: music
media_content_id: "{{url.url}}"
extra:
volume: 20
target:
entity_id: media_player.sonoskeuken
mode: single
Can you share a screenshot of your yaml whilst in the automation from HA?
I canโt see anything that looks off to give that trace error. It could be when saving the automation it changes the format of the โ{{url.url}}โ. I find it sometimes adds / and ".
I copied your yaml and pasted it without the trigger (below), and hit the โฆ in top right โ run. Works just fine for me.
alias: test chime url
description: ""
triggers: []
conditions: []
actions:
- action: chime_tts.say_url
metadata: {}
data:
message: opstaan je moet naar de bakker
chime_path: ba_dum_tss
response_variable: url
- action: media_player.play_media
data:
announce: true
media_content_type: music
media_content_id: "{{url.url}}"
extra:
volume: 20
target:
entity_id: media_player.living_room_sonos
mode: single
Hi @neekulp ,
Sorry for the late response, but it was very busy at work. I donโt know what you really want to see so I made a few screenshots. So you can see that the var url is undefined.
I hope this information is giving you the needed debug info and point me in the right direction about the problem.
Kind regards
Kris
Hi Kris. Can you please share your Chime TTS configuration values?
Also, please enable debug log messages, run your automation and then provide the debug logs here as they might shed some light on what might be going on.
Hi, @Nimrod_Dolev. Still trying to get alexa to work. Iโm using V1.1.6 Beta 5, run the chime_tts action to an alexa, get nothing at all, and get the following debug log. The files it canโt find are actually on the system, and will play on the PC. I havenโt tried to send them directly to alexa yet, because of the error. Any ideas, or things Iโm doing wrong? Thanks much.
Kevin
2024-12-09 16:02:21.779 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-12-09 16:02:21.780 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Chime TTS Say Called. Version v1.1.6-beta5 โ
2024-12-09 16:02:21.781 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2024-12-09 16:02:21.781 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-12-09 16:02:21.784 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโฎ
2024-12-09 16:02:21.785 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ General Parameters โ
2024-12-09 16:02:21.785 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโฏ
2024-12-09 16:02:21.786 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.studio']
2024-12-09 16:02:21.790 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = /media/Chimes/ShortCel2.mp3
2024-12-09 16:02:21.791 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = True
2024-12-09 16:02:21.792 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-12-09 16:02:21.792 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-12-09 16:02:21.792 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = New Test with Beta Chime-TTS.
2024-12-09 16:02:21.792 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-12-09 16:02:21.793 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-12-09 16:02:21.793 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-12-09 16:02:21.793 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-12-09 16:02:21.793 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1
2024-12-09 16:02:21.794 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-12-09 16:02:21.794 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-12-09 16:02:21.794 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * audio_conversion = -y -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0
2024-12-09 16:02:21.794 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-12-09 16:02:21.794 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.studio
2024-12-09 16:02:21.794 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: alexa_media
2024-12-09 16:02:21.795 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.97
2024-12-09 16:02:21.795 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: -1.0
2024-12-09 16:02:21.796 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-12-09 16:02:21.796 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-12-09 16:02:21.796 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-12-09 16:02:21.796 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโฎ
2024-12-09 16:02:21.797 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โ Preparing Audio โ
2024-12-09 16:02:21.797 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโฏ
2024-12-09 16:02:21.798 DEBUG (MainThread) [custom_components.chime_tts] *** Checking Chime TTS audio cache ***
2024-12-09 16:02:21.834 DEBUG (MainThread) [custom_components.chime_tts] ...no cached audio found
2024-12-09 16:02:21.890 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/media/Chimes/ShortCel2.mp3"...
2024-12-09 16:02:25.182 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.829s
2024-12-09 16:02:25.184 DEBUG (MainThread) [custom_components.chime_tts] - Attempting to retrieve TTS audio from cache...
2024-12-09 16:02:25.217 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/media/sounds/temp/chime_tts/kleuauy6.mp3"...
2024-12-09 16:02:25.755 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 3.048s
2024-12-09 16:02:25.803 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to public folder: /config/www/chime_tts/...
2024-12-09 16:02:26.519 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /config/www/chime_tts/l74dliyo.mp3
2024-12-09 16:02:26.519 DEBUG (MainThread) [custom_components.chime_tts] - Performing FFmpeg audio conversion...
2024-12-09 16:02:26.771 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File is not Alexa Media Player compatibile: /config/www/chime_tts/l74dliyo.mp3
2024-12-09 16:02:26.773 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Running FFmpeg operation: "ffmpeg -i /config/www/chime_tts/l74dliyo.mp3 -y -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0 /config/www/chime_tts/l74dliyo_converted.mp3"
2024-12-09 16:02:27.481 DEBUG (MainThread) [custom_components.chime_tts] ...FFmpeg audio conversion completed.
2024-12-09 16:02:28.119 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Public audio file not found on filesystem: http://192.168.1.162:8123/local/chime_tts/l74dliyo.mp3
2024-12-09 16:02:28.120 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
2024-12-09 16:02:28.121 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โโโโโ Chime TTS Say Completed in 6.34 s โโโโโ
2024-12-09 16:02:28.121 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
type or paste code here
Hey Kevin.
Glad to hear that Chime TTS seems to be working correctly for you. I think the playback issue youโre facing is related to Alexa Media Playerโs requirement for external URLs, as opposed to local URLs:
Please review the Alexa Devices section in the documentation which explains what is required, but essentially: You need to ensure that your Home Assistant instance is publicly accessible from outside your network. If it already is, make sure you have your external URL included in your configuration.yaml file.
Just bumping this @Nimrod_Dolev if you get a chance to take a look ![]()
@Nimrod_Dolev This is really great addon to take the TTS into next level along with custom audio files. I am exploring the possibilities of using this in my boring TTS announcement to next level. Do we have option to cross-fade the audio with customizable timings like 2sec before or after the tts? I have checked this thread as well as the github, I could not find it. If it is called with different name kindly enlighten me.





