Closed luuquangvu closed 1 month ago
Hi @luuquangvu.
Hi @luuquangvu.
A restart is required after adding a new TTS platform. Did you try restarting Home Assistant?
Can you please send me a screenshot of your configuration page for Chime TTS, with the default TTS platform drop down open? Eg:
Thanks for your reply. I tried to restart but it didn't work. Here is the screenshot. As I tested, it didn't work for google translate TTS too, always fallback to microsoft
Same problem here. Configuring Google cloud using yaml configuration is working
Thanks for opening the issue. I have fixed the issue in a new beta release, v1.1.5-beta2. Can you please install the new beta version and let me know if the issue is resolved for you?
To install the new beta version:
⋮
button in the top right↻ Redownload
optionNeed a different version
dropdownv1.1.5-beta2
from the Release
drop-down list and click Download
Thanks for opening the issue. I have fixed the issue in a new beta release, v1.1.5-beta2. Can you please install the new beta version and let me know if the issue is resolved for you?
To install the new beta version:
- Open the Chime TTS repository in HACS
- Click on the
⋮
button in the top right- Select the
↻ Redownload
option- Open the
Need a different version
dropdown- Select version
v1.1.5-beta2
from theRelease
drop-down list and clickDownload
- Restart Home Assistant
I updated to newest beta version, but it didn't work. Bellow is the details.
2024-10-16 14:23:34.979 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════╗
2024-10-16 14:23:34.979 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Notify ║
2024-10-16 14:23:34.979 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════╝
2024-10-16 14:23:34.979 DEBUG (MainThread) [custom_components.chime_tts.notify] - data = {'cache': False}
2024-10-16 14:23:34.979 DEBUG (MainThread) [custom_components.chime_tts.notify] - message = 'Chào bạn! Bây giờ là 14h23, ngày 16 tháng 10 năm 2024'
2024-10-16 14:23:34.979 DEBUG (MainThread) [custom_components.chime_tts.notify] - entity_id = ['media_player.loa_phong_ngu_to']
2024-10-16 14:23:34.979 DEBUG (MainThread) [custom_components.chime_tts.notify] - chime_path = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - end_chime_path = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - offset = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - final_delay = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - tts_platform = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - tts_speed = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - tts_pitch = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - volume_level = 0.8
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - join_players = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - unjoin_players = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - cache = False
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - announce = None
2024-10-16 14:23:34.980 DEBUG (MainThread) [custom_components.chime_tts.notify] - fade_audio = None
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.notify] - language = None
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.notify] - tld = None
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.notify] - voice = None
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.notify] - options = None
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.notify] - audio_conversion = None
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔════════════════════════════════════════════╗
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say Called. Version v1.1.5-beta2 ║
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚════════════════════════════════════════════╝
2024-10-16 14:23:34.981 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-16 14:23:34.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-16 14:23:34.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2024-10-16 14:23:34.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-16 14:23:34.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.loa_phong_ngu_to']
2024-10-16 14:23:34.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = None
2024-10-16 14:23:34.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * end_chime_path = None
2024-10-16 14:23:34.983 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-10-16 14:23:34.984 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 0.0
2024-10-16 14:23:34.984 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-16 14:23:34.984 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Chào bạn! Bây giờ là 14h23, ngày 16 tháng 10 năm 2024
2024-10-16 14:23:34.984 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = None
2024-10-16 14:23:34.991 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-16 14:23:34.991 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-16 14:23:34.991 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-10-16 14:23:34.991 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-16 14:23:34.991 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = 0.8
2024-10-16 14:23:34.991 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.loa_phong_ngu_to
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: cast
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.800000011920929
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.8
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-10-16 14:23:34.992 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2024-10-16 14:23:34.993 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2024-10-16 14:23:34.993 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2024-10-16 14:23:34.995 WARNING (MainThread) [custom_components.chime_tts.helpers.helpers] Unable to select a TTS platform
2024-10-16 14:23:34.995 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-16 14:23:34.995 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'None'
2024-10-16 14:23:34.995 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Chào bạn! Bây giờ là 14h23, ngày 16 tháng 10 năm 2024'
2024-10-16 14:23:34.995 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-10-16 14:23:34.995 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-16 14:23:34.995 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-16 14:23:35.430 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 440.0ms
2024-10-16 14:23:35.430 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-16 14:23:35.557 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/sho1xrmz.mp3
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts] - Chime TTS audio generated:
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts] * audio_duration = 7.752
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts] * local_path = "/media/sounds/temp/chime_tts/sho1xrmz.mp3"
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts] * public_path = None
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts] * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/sho1xrmz.mp3"
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭──────────────────────╮
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Pre-Playback Actions │
2024-10-16 14:23:35.672 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰──────────────────────╯
2024-10-16 14:23:35.673 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Decreasing media_player.loa_phong_ngu_to's volume from 0.800000011920929 to 0.8
2024-10-16 14:23:35.673 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.loa_phong_ngu_to's volume to 0.8
2024-10-16 14:23:36.684 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - ✔️ media_player.loa_phong_ngu_to's volume now 0.800000011920929
2024-10-16 14:23:36.684 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-16 14:23:36.684 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Chime TTS playback │
2024-10-16 14:23:36.684 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-16 14:23:36.684 DEBUG (MainThread) [custom_components.chime_tts] 1 Regular media player detected:
2024-10-16 14:23:36.684 DEBUG (MainThread) [custom_components.chime_tts] - media_player.loa_phong_ngu_to
2024-10-16 14:23:36.684 DEBUG (MainThread) [custom_components.chime_tts] Calling media_player.play_media with data:
2024-10-16 14:23:36.685 DEBUG (MainThread) [custom_components.chime_tts] - entity_id: ['media_player.loa_phong_ngu_to']
2024-10-16 14:23:36.685 DEBUG (MainThread) [custom_components.chime_tts] - announce: False
2024-10-16 14:23:36.685 DEBUG (MainThread) [custom_components.chime_tts] - media_content_type: music
2024-10-16 14:23:36.685 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/sho1xrmz.mp3
2024-10-16 14:23:36.687 DEBUG (MainThread) [custom_components.chime_tts] - Waiting 7.752s for audio playback to complete...
2024-10-16 14:23:44.451 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Waiting until 1 media_player isn't playing...
2024-10-16 14:23:44.853 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] ✔ media_player.loa_phong_ngu_to
2024-10-16 14:23:44.853 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭───────────────────────╮
2024-10-16 14:23:44.853 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Post-Playback Actions │
2024-10-16 14:23:44.853 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰───────────────────────╯
2024-10-16 14:23:44.853 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] The volume level for media_player.loa_phong_ngu_to is already set to 0.800000011920929
2024-10-16 14:23:44.854 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-16 14:23:44.854 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/sho1xrmz.mp3
2024-10-16 14:23:44.854 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭───────────────────────────────────────────╮
2024-10-16 14:23:44.855 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say Completed in 9.87 s ────│
2024-10-16 14:23:44.855 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰───────────────────────────────────────────╯
2024-10-16 14:23:45.016 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════════════════════════════════╗
2024-10-16 14:23:45.016 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Version v1.1.5-beta2 Configuration ║
2024-10-16 14:23:45.016 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════════════════════════════════╝
2024-10-16 14:23:50.630 DEBUG (MainThread) [custom_components.chime_tts.config_flow] Updating configuration...
2024-10-16 14:23:50.630 DEBUG (MainThread) [custom_components.chime_tts] Reloading integration
2024-10-16 14:23:50.630 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════════════════════════════╗
2024-10-16 14:23:50.630 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Version v1.1.5-beta2 is set up ║
2024-10-16 14:23:50.630 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════════════════════════════╝
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────────────────╮
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Chime TTS Configuration Values │
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────────────────╯
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - queue_timeout: 60
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - tts_platform: 'microsoft'
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - default_language: None
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - default_voice: None
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - default_tld: None
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - offset: 450
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - fade_transition: 500
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - add_cover_art: False
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - temp_chimes_path: '/media/sounds/temp/chime_tts/chimes/'
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - temp_path: '/media/sounds/temp/chime_tts/'
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - www_path: '/config/www/chime_tts/'
2024-10-16 14:23:50.705 DEBUG (MainThread) [custom_components.chime_tts] - custom_chimes_path: '/media/sounds/custom_chimes/'
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════╗
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Notify ║
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════╝
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.notify] - data = {'cache': False}
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.notify] - message = 'Chào bạn! Bây giờ là 14h23, ngày 16 tháng 10 năm 2024'
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.notify] - entity_id = ['media_player.loa_phong_ngu_to']
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.notify] - chime_path = None
2024-10-16 14:23:53.356 DEBUG (MainThread) [custom_components.chime_tts.notify] - end_chime_path = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - offset = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - final_delay = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - tts_platform = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - tts_speed = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - tts_pitch = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - volume_level = 0.8
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - join_players = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - unjoin_players = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - cache = False
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - announce = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - fade_audio = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - language = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - tld = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - voice = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - options = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.notify] - audio_conversion = None
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔════════════════════════════════════════════╗
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say Called. Version v1.1.5-beta2 ║
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚════════════════════════════════════════════╝
2024-10-16 14:23:53.357 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.loa_phong_ngu_to']
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * chime_path = None
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * end_chime_path = None
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 0.0
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Chào bạn! Bây giờ là 14h23, ngày 16 tháng 10 năm 2024
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = None
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = 0.8
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-16 14:23:53.358 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.loa_phong_ngu_to
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: cast
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.800000011920929
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: 0.8
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2024-10-16 14:23:53.359 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2024-10-16 14:23:53.361 WARNING (MainThread) [custom_components.chime_tts.helpers.helpers] Unable to select a TTS platform
2024-10-16 14:23:53.361 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-16 14:23:53.361 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'None'
2024-10-16 14:23:53.361 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Chào bạn! Bây giờ là 14h23, ngày 16 tháng 10 năm 2024'
2024-10-16 14:23:53.361 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-10-16 14:23:53.361 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-16 14:23:53.361 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-16 14:23:53.483 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 120.0ms
2024-10-16 14:23:53.483 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-16 14:23:53.610 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/9ri3daqe.mp3
2024-10-16 14:23:53.735 DEBUG (MainThread) [custom_components.chime_tts] - Chime TTS audio generated:
2024-10-16 14:23:53.735 DEBUG (MainThread) [custom_components.chime_tts] * audio_duration = 7.752
2024-10-16 14:23:53.735 DEBUG (MainThread) [custom_components.chime_tts] * local_path = "/media/sounds/temp/chime_tts/9ri3daqe.mp3"
2024-10-16 14:23:53.735 DEBUG (MainThread) [custom_components.chime_tts] * public_path = None
2024-10-16 14:23:53.735 DEBUG (MainThread) [custom_components.chime_tts] * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/9ri3daqe.mp3"
2024-10-16 14:23:53.736 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭──────────────────────╮
2024-10-16 14:23:53.736 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Pre-Playback Actions │
2024-10-16 14:23:53.736 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰──────────────────────╯
2024-10-16 14:23:53.736 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Decreasing media_player.loa_phong_ngu_to's volume from 0.800000011920929 to 0.8
2024-10-16 14:23:53.736 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Setting media_player.loa_phong_ngu_to's volume to 0.8
2024-10-16 14:23:54.747 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - ✔️ media_player.loa_phong_ngu_to's volume now 0.800000011920929
2024-10-16 14:23:54.747 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-16 14:23:54.747 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Chime TTS playback │
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts] 1 Regular media player detected:
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts] - media_player.loa_phong_ngu_to
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts] Calling media_player.play_media with data:
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts] - entity_id: ['media_player.loa_phong_ngu_to']
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts] - announce: False
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts] - media_content_type: music
2024-10-16 14:23:54.748 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/9ri3daqe.mp3
2024-10-16 14:23:54.752 DEBUG (MainThread) [custom_components.chime_tts] - Waiting 7.752s for audio playback to complete...
2024-10-16 14:24:02.507 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] - Waiting until 1 media_player isn't playing...
2024-10-16 14:24:02.922 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] ✔ media_player.loa_phong_ngu_to
2024-10-16 14:24:02.922 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭───────────────────────╮
2024-10-16 14:24:02.923 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Post-Playback Actions │
2024-10-16 14:24:02.923 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰───────────────────────╯
2024-10-16 14:24:02.923 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] The volume level for media_player.loa_phong_ngu_to is already set to 0.800000011920929
2024-10-16 14:24:02.923 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-16 14:24:02.924 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/9ri3daqe.mp3
2024-10-16 14:24:02.925 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭───────────────────────────────────────────╮
2024-10-16 14:24:02.925 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say Completed in 9.57 s ────│
2024-10-16 14:24:02.925 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰───────────────────────────────────────────╯
2024-10-16 14:27:55.410 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔════════════════════════════════════════════╗
2024-10-16 14:27:55.410 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say Called. Version v1.1.5-beta2 ║
2024-10-16 14:27:55.410 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚════════════════════════════════════════════╝
2024-10-16 14:27:55.410 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = ['media_player.loa_phong_ngu_to']
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = False
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = Chào bạn! Bây giờ là 14h27, ngày 16 tháng 10 năm 2024
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = google_cloud
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-10-16 14:27:55.412 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array:
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] - 0: entity_id: media_player.loa_phong_ngu_to
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] platform: cast
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] initial volume: 0.800000011920929
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] target volume: -1.0
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] now playing: False
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] join supported: False
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] announce supported: False
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2024-10-16 14:27:55.413 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2024-10-16 14:27:55.414 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-16 14:27:55.414 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'google_cloud'
2024-10-16 14:27:55.414 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Chào bạn! Bây giờ là 14h27, ngày 16 tháng 10 năm 2024'
2024-10-16 14:27:55.414 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2024-10-16 14:27:55.414 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-16 14:27:55.414 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-16 14:27:55.415 ERROR (MainThread) [custom_components.chime_tts] The google_cloud platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech
2024-10-16 14:27:55.415 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'Chào bạn! Bây giờ là 14h27, ngày 16 tháng 10 năm 2024'}
2024-10-16 14:27:55.415 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Audio has no duration
2024-10-16 14:27:55.415 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Unable to generate local audio file
2024-10-16 14:27:55.415 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭───────────────────────────────────────────╮
2024-10-16 14:27:55.415 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say Completed in 0.0 ms ────│
2024-10-16 14:27:55.415 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰───────────────────────────────────────────╯
Thank you @luuquangvu.
Can you please try calling chime_tts.say
via YAML and add "tts." before "google_cloud" (so it is tts.google_cloud
)? Eg:
action: chime_tts.say
target:
entity_id: media_player.kitchen
data:
tts_platform: tts.google_cloud
message: This is a test message
Please let me know if this works for you and I will make the change for the next release.
Thank you very much, @nimroddolev! I followed your suggestion, and it worked well. Google Cloud and Google Translate require a TTS prefix, but Microsoft does not. Below are the pictures showing what I did.
Excellent! Thank you. I will make sure to make this change for the next version 👍
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1438 Downloaded Repositories | 23AccuWeather
can_reach_server | ok -- | -- remaining_requests | 34Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 4 -- | -- resources | 6 views | 2 mode | storageRecorder
oldest_recorder_run | October 3, 2024 at 12:50 AM -- | -- current_recorder_run | October 12, 2024 at 8:17 PM estimated_db_size | 2899.22 MiB database_engine | sqlite database_version | 3.45.3Xiaomi Miot Auto
component_version | 0.7.20 -- | -- can_reach_server | ok can_reach_spec | ok logged_accounts | 1 total_devices | 10Checklist
Describe the issue
Since HA 2024.10.x update, Google TTS can be configured by GUI, after that it cannot be set as default TTS. Please see bellow log for details. Please help to fix it. Thank you very much!
Reproduction steps
Debug logs
Diagnostics dump
No response