nimroddolev / chime_tts

A custom Home Assistant integration to play combined audio files before and/or after text-to-speech (TTS) messages
https://nimroddolev.github.io/chime_tts/
MIT License
196 stars 14 forks source link

The TTS platform xxx was not found if it was configured by GUI #200

Closed luuquangvu closed 1 month ago

luuquangvu commented 1 month ago

System Health details

System Information

version core-2024.10.2
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.1.0-26-amd64
arch x86_64
timezone Asia/Ho_Chi_Minh
config_dir /config
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 | 23
AccuWeather can_reach_server | ok -- | -- remaining_requests | 34
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 4 -- | -- resources | 6 views | 2 mode | storage
Recorder 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.3
Xiaomi Miot Auto component_version | 0.7.20 -- | -- can_reach_server | ok can_reach_spec | ok logged_accounts | 1 total_devices | 10

Checklist

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!

20241012_100939_2Bwx

Reproduction steps

  1. Configure Google Cloud integration from GUI
  2. Set it as default TTS platform
  3. Play Chime TTS Notify with default setting

Debug logs

2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════╗
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Notify ║
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════╝
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - data = {'chime_path': 'attention', 'cache': False}
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - message = 'Chào bạn! Bây giờ là 09h58, ngày 12 tháng 10 năm 2024. Nhiệt độ ngoài trời hiện tại là 29.6 °C, độ ẩm là 67.8 %, và chỉ số AQI là 201. Dự báo hôm nay là một ngày khá nóng bức, nhớ uống đủ nước bạn nhé.
Hiện tại ngoài trời không có mưa.
Ngoài ra, chất lượng không khí ngoài trời đang cực kỳ tệ, bạn nhớ phải đeo khẩu trang nếu đi ra đường nhé.
Chúc bạn một ngày mới tốt lành và nhiều niềm vui!'
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - entity_id = ['media_player.loa_phong_ngu_to']
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - chime_path = 'attention'
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - end_chime_path = None
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - offset = None
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - final_delay = None
2024-10-12 09:58:30.537 DEBUG (MainThread) [custom_components.chime_tts.notify]  - tts_platform = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - tts_speed = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - tts_pitch = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - volume_level = 0.8
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - join_players = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - unjoin_players = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - cache = False
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - announce = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - fade_audio = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - language = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - tld = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - voice = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - options = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.notify]  - audio_conversion = None
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════════════════════════╗
2024-10-12 09:58:30.538 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say Called. Version v1.1.4 ║
2024-10-12 09:58:30.539 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════════════════════════╝
2024-10-12 09:58:30.539 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-12 09:58:30.539 INFO (MainThread) [custom_components.chime_tts.helpers.media_player] Turning on "media_player.loa_phong_ngu_to"...
2024-10-12 09:58:30.540 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-12 09:58:30.540 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2024-10-12 09:58:30.540 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-12 09:58:30.540 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids = ['media_player.loa_phong_ngu_to']
2024-10-12 09:58:30.540 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = attention
2024-10-12 09:58:30.540 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * end_chime_path = None
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = False
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 0.0
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * message = Chào bạn! Bây giờ là 09h58, ngày 12 tháng 10 năm 2024. Nhiệt độ ngoài trời hiện tại là 29.6 °C, độ ẩm là 67.8 %, và chỉ số AQI là 201. Dự báo hôm nay là một ngày khá nóng bức, nhớ uống đủ nước bạn nhé.
Hiện tại ngoài trời không có mưa.
Ngoài ra, chất lượng không khí ngoài trời đang cực kỳ tệ, bạn nhớ phải đeo khẩu trang nếu đi ra đường nhé.
Chúc bạn một ngày mới tốt lành và nhiều niềm vui!
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_platform = None
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = 0.8
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = False
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = False
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.loa_phong_ngu_to
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: cast
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: -1.0
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: 0.8
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2024-10-12 09:58:30.541 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2024-10-12 09:58:30.542 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: False
2024-10-12 09:58:30.542 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2024-10-12 09:58:30.542 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2024-10-12 09:58:30.542 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2024-10-12 09:58:30.547 DEBUG (MainThread) [custom_components.chime_tts]  - Retrieving audio from path: "/media/sounds/custom_chimes/attention.mp3"...
2024-10-12 09:58:30.668 DEBUG (MainThread) [custom_components.chime_tts]    ...audio retrieved. Duration: 4.31s
2024-10-12 09:58:30.670 WARNING (MainThread) [custom_components.chime_tts.helpers.helpers] The TTS platform 'google_cloud' was not found. Using 'microsoft' instead
2024-10-12 09:58:30.670 DEBUG (MainThread) [custom_components.chime_tts]  - Generating new TTS audio with parameters:
2024-10-12 09:58:30.670 DEBUG (MainThread) [custom_components.chime_tts]     * tts_platform = 'microsoft'
2024-10-12 09:58:30.670 DEBUG (MainThread) [custom_components.chime_tts]     * message = 'Chào bạn! Bây giờ là 09h58, ngày 12 tháng 10 năm 2024. Nhiệt độ ngoài trời hiện tại là 29.6 °C, độ ẩm là 67.8 %, và chỉ số AQI là 201. Dự báo hôm nay là một ngày khá nóng bức, nhớ uống đủ nước bạn nhé.
Hiện tại ngoài trời không có mưa.
Ngoài ra, chất lượng không khí ngoài trời đang cực kỳ tệ, bạn nhớ phải đeo khẩu trang nếu đi ra đường nhé.
Chúc bạn một ngày mới tốt lành và nhiều niềm vui!'
2024-10-12 09:58:30.670 DEBUG (MainThread) [custom_components.chime_tts]     * cache = False
2024-10-12 09:58:30.670 DEBUG (MainThread) [custom_components.chime_tts]     * language = None
2024-10-12 09:58:30.670 DEBUG (MainThread) [custom_components.chime_tts]     * options = {}
2024-10-12 09:58:39.031 DEBUG (MainThread) [custom_components.chime_tts]    ...TTS audio generated in 8.36s
2024-10-12 09:58:39.089 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Combining audio files with no delay or overlay
2024-10-12 09:58:39.089 DEBUG (MainThread) [custom_components.chime_tts]  - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2024-10-12 09:58:39.789 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/h119uetp.mp3
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts]  - Chime TTS audio generated:
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts]    * audio_duration = 36.758
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts]    * local_path = "/media/sounds/temp/chime_tts/h119uetp.mp3"
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts]    * public_path = None
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts]    * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/h119uetp.mp3"
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭──────────────────────╮
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Pre-Playback Actions │
2024-10-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰──────────────────────╯
2024-10-12 09:58:39.973 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-12 09:58:39.973 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Setting media_player.loa_phong_ngu_to's volume to 0.8
2024-10-12 09:58:40.985 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - ✔️ media_player.loa_phong_ngu_to's volume now 0.800000011920929
2024-10-12 09:58:40.985 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-12 09:58:40.985 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Chime TTS playback │
2024-10-12 09:58:40.985 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-12 09:58:40.985 DEBUG (MainThread) [custom_components.chime_tts]    1 Regular media player detected:
2024-10-12 09:58:40.985 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.loa_phong_ngu_to
2024-10-12 09:58:40.985 DEBUG (MainThread) [custom_components.chime_tts]    Calling media_player.play_media with data:
2024-10-12 09:58:40.986 DEBUG (MainThread) [custom_components.chime_tts]      - entity_id: ['media_player.loa_phong_ngu_to']
2024-10-12 09:58:40.986 DEBUG (MainThread) [custom_components.chime_tts]      - announce: False
2024-10-12 09:58:40.986 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_type: music
2024-10-12 09:58:40.986 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/h119uetp.mp3
2024-10-12 09:58:40.989 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 36.758s for audio playback to complete...
2024-10-12 09:59:17.752 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 1 media_player isn't playing...
2024-10-12 09:59:18.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    ✔ media_player.loa_phong_ngu_to
2024-10-12 09:59:18.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭───────────────────────╮
2024-10-12 09:59:18.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Post-Playback Actions │
2024-10-12 09:59:18.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰───────────────────────╯
2024-10-12 09:59:18.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper] Initial volume for media_player.loa_phong_ngu_to is unknown. Unable to restore volume.
2024-10-12 09:59:18.160 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2024-10-12 09:59:18.160 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/h119uetp.mp3
2024-10-12 09:59:18.161 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────────────────────────────╮
2024-10-12 09:59:18.161 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say Completed in 47.62 s ────│
2024-10-12 09:59:18.161 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────────────────────────────╯

Diagnostics dump

No response

nimroddolev commented 1 month ago

Hi @luuquangvu.

  1. A restart is required after adding a new TTS platform. Did you try restarting Home Assistant?
  2. Can you please send me a screenshot of your configuration page for Chime TTS, with the default TTS platform drop down open? Eg: defaukt_tts_platform
luuquangvu commented 1 month ago

Hi @luuquangvu.

  1. A restart is required after adding a new TTS platform. Did you try restarting Home Assistant?

  2. Can you please send me a screenshot of your configuration page for Chime TTS, with the default TTS platform drop down open? Eg:

    defaukt_tts_platform

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 image

jncanches commented 1 month ago

Same problem here. Configuring Google cloud using yaml configuration is working

nimroddolev commented 1 month ago

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:

  1. Open the Chime TTS repository in HACS
  2. Click on the button in the top right
  3. Select the ↻ Redownload option
  4. Open the Need a different version dropdown
  5. Select version v1.1.5-beta2 from the Release drop-down list and click Download
  6. Restart Home Assistant
luuquangvu commented 1 month ago

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:

  1. Open the Chime TTS repository in HACS
  2. Click on the button in the top right
  3. Select the ↻ Redownload option
  4. Open the Need a different version dropdown
  5. Select version v1.1.5-beta2 from the Release drop-down list and click Download
  6. Restart Home Assistant

I updated to newest beta version, but it didn't work. Bellow is the details.

image

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] ╰───────────────────────────────────────────╯
nimroddolev commented 1 month ago

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.

luuquangvu commented 1 month ago

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.

image image image

nimroddolev commented 1 month ago

Excellent! Thank you. I will make sure to make this change for the next version 👍