chime_tts icon indicating copy to clipboard operation
chime_tts copied to clipboard

v1.2.3-beta1 - UI works again, but no TTS generated

Open patienttruth opened this issue 3 months ago • 15 comments

System Health details

System Information

version core-2025.9.1
installation_type Home Assistant OS
dev false
hassio true
docker true
container_arch amd64
user root
virtualenv false
python_version 3.13.7
os_name Linux
os_version 6.12.43-haos
arch x86_64
timezone America/Los_Angeles
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4993
Installed Version 2.0.5
Stage running
Available Repositories 2296
Downloaded Repositories 89
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 16.2
update_channel stable
supervisor_version supervisor-2025.09.0
agent_version 1.7.2
docker_version 28.3.3
disk_total 40.6 GB
disk_used 34.0 GB
nameservers 192.168.28.15, 192.168.28.11
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Piper (1.6.4), Terminal & SSH (9.20.0), Whisper (2.6.0), openWakeWord (1.10.0), Music Assistant Server (beta) (2.6.0b21), MariaDB (2.7.2), Frigate Proxy (1.6), ESPHome Device Builder (2025.8.4), Tailscale (0.26.0), Traccar (0.25.0), rtl_433 (2024.6.0), Studio Code Server (5.19.3), NetworkManager Fix (1.1.0), SQLite Web (4.4.0), Speech-to-Phrase (1.4.1), Zigbee2MQTT (2.6.1-1), Samba share (12.5.2), Advanced SSH & Web Terminal (21.0.3), MQTT Explorer (browser-1.0.3), Matter Server (8.1.0), Bookstack (3.2.0), phpMyAdmin (0.12.0), SONOFF Dongle Flasher (1.1.1), Glances (0.21.1), Signal Messenger (0.94.0)
Dashboards
dashboards 14
resources 44
views 70
mode storage
Network Configuration
adapters lo (disabled), enp0s18 (enabled, default, auto), enp0s19 (enabled), docker0 (disabled), hassio (disabled), tailscale0 (disabled), veth289cd28 (disabled), vethb2dbe36 (disabled), veth84689df (disabled), veth810f33e (disabled), veth9b3defc (disabled), veth416606d (disabled), veth71661a8 (disabled), vethfae5542 (disabled), veth48fe13d (disabled), vethf8a4a47 (disabled), vethd88728d (disabled), veth6e730ae (disabled), veth4acf715 (disabled), veth98000aa (disabled), veth766590d (disabled), veth21720f3 (disabled)
ipv4_addresses lo (127.0.0.1/8), enp0s18 (192.168.28.17/24), enp0s19 (192.168.107.17/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), tailscale0 (100.66.239.77/32), veth289cd28 (), vethb2dbe36 (), veth84689df (), veth810f33e (), veth9b3defc (), veth416606d (), veth71661a8 (), vethfae5542 (), veth48fe13d (), vethf8a4a47 (), vethd88728d (), veth6e730ae (), veth4acf715 (), veth98000aa (), veth766590d (), veth21720f3 ()
ipv6_addresses lo (::1/128), enp0s18 (fe80::9404:cc01:6df6:d3d/64), enp0s19 (fe80::a63a:b06:1505:4f0b/64), docker0 (fe80::f45b:c9ff:fef4:1663/64), hassio (fe80::8081:92ff:fec3:9c12/64), tailscale0 (fd7a:115c:a1e0::3801:ef4d/128, fe80::2a7b:ce12:58b5:c383/64), veth289cd28 (fe80::2880:1dff:fea4:d2d8/64), vethb2dbe36 (fe80::4c14:d3ff:fe49:7510/64), veth84689df (fe80::98b4:3cff:fee2:26b6/64), veth810f33e (fe80::8c86:cbff:fe83:6a56/64), veth9b3defc (fe80::986a:f4ff:feff:2881/64), veth416606d (fe80::6446:3aff:fe42:9b04/64), veth71661a8 (fe80::6833:61ff:fe3a:684/64), vethfae5542 (fe80::6c1d:60ff:fe6b:56e8/64), veth48fe13d (fe80::6c48:7ff:fe46:bc39/64), vethf8a4a47 (fe80::10ad:4eff:fe60:ef58/64), vethd88728d (fe80::1cfa:5fff:fed3:2e23/64), veth6e730ae (fe80::89:4cff:febf:24d/64), veth4acf715 (fe80::b436:69ff:febc:ae15/64), veth98000aa (fe80::9c:7aff:fe60:40e5/64), veth766590d (fe80::44bd:70ff:fef1:1612/64), veth21720f3 (fe80::3c80:2aff:fe95:2e63/64)
announce_addresses 192.168.28.17, fe80::9404:cc01:6df6:d3d, 192.168.107.17, fe80::a63a:b06:1505:4f0b
Recorder
oldest_recorder_run September 2, 2025 at 02:36
current_recorder_run September 12, 2025 at 07:07
estimated_db_size 1943.60 MiB
database_engine sqlite
database_version 3.48.0

Checklist

  • [x] I have enabled debug logging for my installation.
  • [x] I have filled out the issue template to the best of my ability.
  • [x] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • [x] This issue is not a duplicate issue of currently previous issues..

Describe the issue

Thanks for the quick work getting the UI back, I was getting ready to try to change the services file.

After installing the new version I tried to generate a TTS. I hear the chime, but no TTS.

Reproduction steps

  1. Run this action
action: chime_tts.say
target:
  entity_id: media_player.sonos_ma_kitchen
data:
  chime_path: bells_2
  message: test
  tts_platform: tts.piper
  • Piper is confirmed working with the built in TTS service.

Debug logs

2025-09-12 07:28:25.604 WARNING (MainThread) [custom_components.chime_tts.helpers.helpers] Unable to select a TTS platform - installed TTS platforms: ['cloud']
2025-09-12 07:28:25.604 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'test'}
2025-09-12 07:31:28.246 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔════════════════════════════════════════════╗
2025-09-12 07:31:28.246 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say Called. Version v1.2.3-beta1 ║
2025-09-12 07:31:28.246 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚════════════════════════════════════════════╝
2025-09-12 07:31:28.246 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids = ['media_player.sonos_ma_kitchen']
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = bells_2
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = False
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 450.0
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * crossfade = 0
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * message = test
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_platform = tts.piper
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = -1
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = False
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = False
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.sonos_ma_kitchen
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: music_assistant
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 0.42
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: True
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: True
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2025-09-12 07:31:28.247 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2025-09-12 07:31:28.249 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Local path to chime: /config/custom_components/chime_tts/mp3s/bells_2.mp3
2025-09-12 07:31:28.249 DEBUG (MainThread) [custom_components.chime_tts]  - Retrieving audio from path: "/config/custom_components/chime_tts/mp3s/bells_2.mp3"...
2025-09-12 07:31:28.361 DEBUG (MainThread) [custom_components.chime_tts]    ...audio retrieved. Duration: 1.279s
2025-09-12 07:31:28.361 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Looking up TTS platforms m(HA < 2025.8)
2025-09-12 07:31:28.361 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] tts_providers found: ['cloud']
2025-09-12 07:31:28.361 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Selected TTS platform: None
2025-09-12 07:31:28.361 WARNING (MainThread) [custom_components.chime_tts.helpers.helpers] Unable to select a TTS platform - installed TTS platforms: ['cloud']
2025-09-12 07:31:28.361 WARNING (MainThread) [custom_components.chime_tts] Error generating TTS audio from messsage segment #1: {'type': 'tts', 'message': 'test'}
2025-09-12 07:31:28.361 DEBUG (MainThread) [custom_components.chime_tts]  - Saving mp3 file to local folder: /media/sounds/temp/chime_tts/...
2025-09-12 07:31:28.445 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/sounds/temp/chime_tts/00502cf8393bbeb83fbe7e00ebcb1b76.mp3
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]  - Chime TTS audio generated:
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]    * audio_duration = 1.279
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]    * local_path = "/media/sounds/temp/chime_tts/00502cf8393bbeb83fbe7e00ebcb1b76.mp3"
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]    * public_path = None
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]    * media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/00502cf8393bbeb83fbe7e00ebcb1b76.mp3"
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Chime TTS playback │
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]    1 Regular media player detected:
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.sonos_ma_kitchen
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]    Calling media_player.play_media with data:
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]      - entity_id: ['media_player.sonos_ma_kitchen']
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]      - announce: False
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_type: music
2025-09-12 07:31:28.550 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/00502cf8393bbeb83fbe7e00ebcb1b76.mp3
2025-09-12 07:31:28.552 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 1.279s for audio playback to complete...
2025-09-12 07:31:29.834 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 1 media_player isn't playing...
2025-09-12 07:31:33.447 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    𝘅 media_player.sonos_ma_kitchen - Timed out. Current state: playing
2025-09-12 07:31:33.448 DEBUG (MainThread) [custom_components.chime_tts]  - Timed out waiting for playback to complete
2025-09-12 07:31:33.448 DEBUG (MainThread) [custom_components.chime_tts] Removing temporary file:
2025-09-12 07:31:33.448 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Deleting file /media/sounds/temp/chime_tts/00502cf8393bbeb83fbe7e00ebcb1b76.mp3
2025-09-12 07:31:33.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭──────────────────────────────────────────╮
2025-09-12 07:31:33.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say Completed in 5.2 s ────│
2025-09-12 07:31:33.449 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰──────────────────────────────────────────╯

Diagnostics dump

No response

patienttruth avatar Sep 12 '25 14:09 patienttruth

Just like to add that I experience the same

putt6359 avatar Sep 13 '25 15:09 putt6359

Same issue here. In the main configuration, only Polly, Cloud and Google translate are available. So, if you dont use one of these, then the TTS will not work. In the main configuration,, you may see what you have been using, but if you change to Polly, Cloud or Google Translate and then save, your option will no longer be there. Rolling back to the previous version fixes the issue.

rich33584 avatar Sep 13 '25 23:09 rich33584

Microsoft Edge TTS is not working

zhangkaiyv avatar Sep 14 '25 03:09 zhangkaiyv

Finally got a chance to troubleshoot again, and although it took manual code changes, it seems to be working with one of the few changes from v1.2.3b1.

  1. Via HACS redownload v1.2.2
  2. Modify file as changed in this commit which is part of v1.2.3b1
  3. Restart Home Assistant
  4. Run chime_tts.clear_cache (if you have cached audio files that don't have TTS included like I did.

I'll post back if I have other issues without the rest of v1.2.3b1, but for now I'm back to being able to create new chime_tts. 🥳

patienttruth avatar Sep 20 '25 14:09 patienttruth

this change in line 52 from "value": None to "value": "" in file "services_helper.py" worked for me. Now the UI is back again. Thanks

ingmarsretro avatar Sep 24 '25 14:09 ingmarsretro

Same here, it only sees two TTS but I user Piper which is not on this list so it don't work (but work with the HA TTS service): Unable to select a TTS platform - installed TTS platforms: ['cloud', 'google_translate']

bsdev90 avatar Sep 25 '25 09:09 bsdev90

Finally got a chance to troubleshoot again, and although it took manual code changes, it seems to be working with one of the few changes from v1.2.3b1.

  1. Via HACS redownload v1.2.2
  2. Modify file as changed in this commit which is part of v1.2.3b1
  3. Restart Home Assistant
  4. Run chime_tts.clear_cache (if you have cached audio files that don't have TTS included like I did.

I'll post back if I have other issues without the rest of v1.2.3b1, but for now I'm back to being able to create new chime_tts. 🥳

I confirm: revert to 1.2.2 and change None to "", it works again.

bsdev90 avatar Sep 25 '25 09:09 bsdev90

I'm on the 1.2.3-beta1, and I'm only seeing "cloud" under the default tts platforms, even though I have several (which all showed on 1.2.2).

Jonseed avatar Oct 29 '25 19:10 Jonseed

@Jonseed

I'm on the 1.2.3-beta1, and I'm only seeing "cloud" under the default tts platforms, even though I have several (which all showed on 1.2.2).

A few comments up is instructions. You'll have to revert to 1.2.2 and make the changes mentioned above to this file: custom_components/chime_tts/helpers/services_helper.py which is mentioned in step 2.

patienttruth avatar Oct 29 '25 20:10 patienttruth

@Jonseed

I'm on the 1.2.3-beta1, and I'm only seeing "cloud" under the default tts platforms, even though I have several (which all showed on 1.2.2).

A few comments up is instructions. You'll have to revert to 1.2.2 and make the changes mentioned above to this file: custom_components/chime_tts/helpers/services_helper.py which is mentioned in step 2.

Not working anymore on HASS 2025.11.0

pomeloy avatar Nov 07 '25 15:11 pomeloy

Not working anymore on HASS 2025.11.0

I'm on 2025.11.0 and Chime TTS is still working with those tweaks. Just did a test. What's not working for you?

patienttruth avatar Nov 08 '25 04:11 patienttruth

I re-downloaded 1.2.2 as advised, changed the file in question, and restarted HACS. I hear a chime, but no TTS, while the same fix worked for previous versions of HACS.

pomeloy avatar Nov 08 '25 07:11 pomeloy

I re-downloaded 1.2.2 as advised, changed the file in question, and restarted HACS. I hear a chime, but no TTS, while the same fix worked for previous versions of HACS.

Since you hear a chime, I think ChimeTTS is working. I'd look into your TTS platform to make sure it's functioning correctly, and being referenced correctly by your ChimeTTS action.

patienttruth avatar Nov 08 '25 20:11 patienttruth

I couldn't pinpoint the issue, but at the time of writing the underlying TTS platform (piper) was working. Redownloading 1.2.2 again didn't fix it.

I finally removed the integration from the Devices & services tab and readded it after redownloading it again and applying the fix from the commit. Now everything is back in working order.

pomeloy avatar Nov 11 '25 09:11 pomeloy

Hi, here edge_tts isn't working with 1.2.2 an file change but google translate is working. So maybe there is a conflict in this combination with edge_tts (version 0.7.3 from HACS).

But there are always errors in the log but it works: 2025-11-21 14:12:58.684 ERROR (MainThread) [custom_components.chime_tts.helpers.tts_audio_helper] Error generating TTS audio with google_translate. 2025-11-21 14:12:58.684 ERROR (MainThread) [custom_components.chime_tts.helpers.tts_audio_helper] The google_translate platform was not found. Please check that it has been configured correctly: https://www.home-assistant.io/integrations/#text-to-speech 2025-11-21 14:12:58.684 ERROR (MainThread) [custom_components.chime_tts.helpers.tts_audio_helper] Error: Unable to generate media_source_id

Using this action: action: chime_tts.say data: announce: true cache: false tts_platform: google_translate chime_path: /config/www/sounds/Info-Gong.mp3 message: Hallo Steffen, dies ist ein test volume_level: 0.15 target: entity_id: - media_player.sonos_buero

SteffenM-DE avatar Nov 21 '25 13:11 SteffenM-DE

Couldn’t the project be marked somewhere on the main page as not working?

adrianmihalko avatar Nov 24 '25 20:11 adrianmihalko

Couldn’t the project be marked somewhere on the main page as not working?

it's frustrating the project is not fixed while it's an easy fix we are many to have applied:

https://github.com/nimroddolev/chime_tts/issues/291#issuecomment-3333021882

I just applied that change: https://github.com/nimroddolev/chime_tts/commit/25fc97c21f7b856569a35ae67215133b68546541 and it worked for me.

chriscatuk avatar Nov 24 '25 20:11 chriscatuk