carleeno / elevenlabs_tts

Custom TTS Integration using ElevenLabs API
Apache License 2.0
93 stars 12 forks source link

Failed to set up #145

Closed Technically-Possible closed 3 months ago

Technically-Possible commented 3 months ago

System Health details

System Information

version core-2024.8.0b0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.33-haos
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1385 Downloaded Repositories | 35
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 8 August 2024 at 1:00 am relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true remote_server | eu-central-1-16.ui.nabu.casa certificate_status | ready instance_id | f11ed2b58ae54e7ea4ae9297ea074e4c can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.4 -- | -- update_channel | beta supervisor_version | supervisor-2024.07.0 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 30.8 GB disk_used | 9.1 GB 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 | AirCast (4.2.1), Whisper (2.1.2), AdGuard Home (5.1.1), Terminal & SSH (9.14.0), Google Assistant SDK (2.5.0), File editor (5.8.0), Matter Server (6.3.1), openWakeWord (1.10.0), Music Assistant Server (beta) (2.2.0b2)
Dashboards dashboards | 2 -- | -- resources | 20 views | 4 mode | storage
Recorder oldest_recorder_run | 31 July 2024 at 8:19 am -- | -- current_recorder_run | 1 August 2024 at 4:07 pm estimated_db_size | 171.88 MiB database_engine | sqlite database_version | 3.45.3

Checklist

Describe the issue

All of a sudden my 11 labs voices just stopped working when I checked the integration it says that there was an error and to cheque the logs and the logs say that they're not able to find the voice of Domi bear in mind they're not actually pointing at that voice and they're pointing at custom voices i've made I've filled out all the details assumingly correct but for some reason it keeps erroring and saying that I can't find the voice domi

Reproduction steps

  1. Go to the plugins see this integration 2.see it arrod cheque the logs
  2. log say it's missing domi ...

Debug logs

2024-08-01 16:07:13.109 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "sensor". Check lines 0 and 50
2024-08-01 16:07:13.167 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.168 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration elevenlabs_tts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.170 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nest_protect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.170 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration octopus_energy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.171 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration continuously_casting_dashboards which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.172 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ytube_music_player which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.173 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.174 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.175 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dwains_dashboard which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.176 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration lovelace_gen which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.177 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration extended_openai_conversation which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:13.178 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration config_editor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-01 16:07:16.746 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:07:16.747 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:07:17.300 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:07:17.300 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:07:17.311 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:07:17.311 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:07:18.705 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/themes", "/config/themes", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1182: self.hass.http.register_static_path(f"{URL_BASE}/themes", self.hass.config.path("themes")), please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:18.720 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend", False)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 54: hass.http.register_static_path(f"{URL_BASE}/frontend", locate_dir(), cache_headers=False), please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:18.723 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:18.725 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:18.726 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles", "/config/www/community", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1162: self.hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:29.730 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'ytube_music_player' calls async_forward_entry_setup for integration, ytube_music_player with title: yTubeMusic  and entry_id: 95cc9ef3ef37e4bf6f97ac9fd78e2710, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/ytube_music_player/__init__.py, line 24: hass.async_create_task(, please create a bug report at https://github.com/KoljaWindeler/ytube_music_player/issues
2024-08-01 16:07:30.930 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ytube_music_player with title: yTubeMusic  and entry_id: 95cc9ef3ef37e4bf6f97ac9fd78e2710, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2161, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
    _LOGGER.warning(msg, stack_info=True)
2024-08-01 16:07:30.934 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ytube_music_player with title: yTubeMusic  and entry_id: 95cc9ef3ef37e4bf6f97ac9fd78e2710, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2161, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
    _LOGGER.warning(msg, stack_info=True)
2024-08-01 16:07:30.947 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ytube_music_player with title: yTubeMusic  and entry_id: 95cc9ef3ef37e4bf6f97ac9fd78e2710, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2161, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
    _LOGGER.warning(msg, stack_info=True)
2024-08-01 16:07:35.569 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/etc/os-release',) inside the event loop by custom integration 'extended_openai_conversation' at custom_components/extended_openai_conversation/helpers.py, line 150: await client.models.list(timeout=10) (offender: /usr/local/lib/python3.12/site-packages/distro/distro.py, line 1099: with open(self.os_release_file, encoding="utf-8") as release_file:), please create a bug report at https://github.com/jekalmin/extended_openai_conversation/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 460, in _async_setup_component
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 462, in <genexpr>
    create_eager_task(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 37, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/extended_openai_conversation/__init__.py", line 100, in async_setup_entry
    await validate_authentication(
  File "/config/custom_components/extended_openai_conversation/helpers.py", line 150, in validate_authentication
    await client.models.list(timeout=10)

2024-08-01 16:07:36.150 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 630: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:36.384 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:36.561 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:36.584 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:36.612 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:36.769 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:37.972 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.057 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.061 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.074 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.146 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.149 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.159 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.308 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.346 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.357 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.412 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.485 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:38.630 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.019 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.167 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.209 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.213 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.275 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.321 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.349 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.365 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.400 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.486 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.659 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.713 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.720 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:39.992 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.045 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.294 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.311 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.333 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.385 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.490 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.542 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.662 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.751 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:40.778 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.163 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.220 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.338 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.341 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.404 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.472 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.507 WARNING (MainThread) [homeassistant.util.json] json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues
2024-08-01 16:07:41.824 WARNING (Recorder) [homeassistant.components.recorder.migration] The database is about to upgrade from schema version 43 to 44
2024-08-01 16:07:41.832 WARNING (Recorder) [homeassistant.components.recorder.migration] Upgrade to version 44 done
2024-08-01 16:07:42.440 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/speedtestdotnet/coordinator.py", line 76, in _async_update_data
    return await self.hass.async_add_executor_job(self.update_data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/speedtestdotnet/coordinator.py", line 62, in update_data
    self.api.get_servers(servers=[server_id])
  File "/usr/local/lib/python3.12/site-packages/speedtest.py", line 1353, in get_servers
    raise NoMatchedServers()
speedtest.NoMatchedServers

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/speedtestdotnet/coordinator.py", line 78, in _async_update_data
    raise UpdateFailed("Selected server is not found.") from err
homeassistant.helpers.update_coordinator.UpdateFailed: Selected server is not found.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/speedtestdotnet/__init__.py", line 38, in _async_finish_startup
    await coordinator.async_config_entry_first_refresh()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 288, in async_config_entry_first_refresh
    raise ex
homeassistant.exceptions.ConfigEntryNotReady: Selected server is not found.
2024-08-01 16:09:44.483 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:09:44.982 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:09:44.983 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:11:03.539 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:11:04.069 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:11:04.069 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:11:20.235 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:11:20.708 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:11:20.708 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:11:46.608 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:11:47.068 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:11:48.370 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:11:48.370 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:12:28.620 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:12:29.080 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:12:29.080 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:13:01.468 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:13:01.927 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:13:01.927 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:21:27.362 WARNING (SyncWorker_19) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "sensor". Check lines 0 and 50
2024-08-01 16:21:46.086 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Service not found for call_service at pos 1: Action weather.get_forecast not found
2024-08-01 16:21:46.086 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140495803793472] Action weather.get_forecast not found
2024-08-01 16:21:58.191 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Invalid data for call_service at pos 1: Script requires 'response_variable' for response data for service call weather.get_forecasts
2024-08-01 16:21:58.192 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140495803793472] Error handling message: Script requires 'response_variable' for response data for service call weather.get_forecasts. Got {'type': 'execute_script', 'sequence': [{'action': 'weather.get_forecasts', 'target': {'entity_id': ['weather.home']}, 'data': {'type': 'daily'}}], 'id': 176} (invalid_format) jen from 192.168.86.36 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0)
2024-08-01 16:22:08.250 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Invalid data for call_service at pos 1: Script requires 'response_variable' for response data for service call weather.get_forecasts
2024-08-01 16:22:08.250 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140495803793472] Error handling message: Script requires 'response_variable' for response data for service call weather.get_forecasts. Got {'type': 'execute_script', 'sequence': [{'action': 'weather.get_forecasts', 'target': {'entity_id': ['weather.home'], 'area_id': ['bedroom']}, 'data': {'type': 'daily'}}], 'id': 179} (invalid_format) jen from 192.168.86.36 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0)
2024-08-01 16:22:28.642 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Invalid data for call_service at pos 1: Script requires 'response_variable' for response data for service call weather.get_forecasts
2024-08-01 16:22:28.642 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140495803793472] Error handling message: Script requires 'response_variable' for response data for service call weather.get_forecasts. Got {'type': 'execute_script', 'sequence': [{'action': 'weather.get_forecasts', 'target': {'entity_id': ['weather.home', 'weather.openweathermap'], 'area_id': ['bedroom']}, 'data': {'type': 'daily'}}], 'id': 183} (invalid_format) jen from 192.168.86.36 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0)
2024-08-01 16:22:57.823 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities tts.elevenlabs_tts_2, tts.elevenlabstts are missing or not currently available
2024-08-01 16:24:28.887 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:24:29.406 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:24:29.406 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi
2024-08-01 16:25:51.725 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities tts.elevenlabs_tts_2 are missing or not currently available
2024-08-01 16:25:58.725 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Invalid options found: ['voice', 'stability', 'similarity', 'style', 'use_speaker_boost', 'model', 'optimize_streaming_latency']
2024-08-01 16:25:58.725 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140495803793472] Error handling message: Invalid options found: ['voice', 'stability', 'similarity', 'style', 'use_speaker_boost', 'model', 'optimize_streaming_latency'] (home_assistant_error) jen from 192.168.86.36 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0)
2024-08-01 16:28:38.712 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:28:39.207 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Initializing ElevenLabs client
2024-08-01 16:28:40.107 DEBUG (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Looking for voice with identifier Domi
2024-08-01 16:28:40.107 WARNING (MainThread) [custom_components.elevenlabs_tts.elevenlabs] Could not find voice with identifier Domi

Diagnostics dump

No response

carleeno commented 3 months ago

Hi, Please make sure you update to the latest version of this integration.

Duplicate of #136

Technically-Possible commented 3 months ago

Has the way to use this changed too I cant get it to send any data or receive it I'm getting Logger: homeassistant.components.cast.media_player Source: components/cast/media_player.py:405 integration: Google Cast (documentation, issues) First occurred: 12:56:43 am (13 occurrences) Last logged: 1:05:00 am

Failed to cast media http://192.168.86.43:8123/api/tts_proxy/a0f58f7e9238b8d577822294c20673c243bd091f_en_-_tts.elevencave.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address Failed to cast media http://192.168.86.43:8123/api/tts_proxy/d7ebbc248898f4cc76779a5aad78a8431a25f143_en_-_tts.elevencave.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address Failed to cast media http://192.168.86.43:8123/api/tts_proxy/7db8219752476d725fcc1fe642dcca252f41d5f8_en_-_tts.elevenisac.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address Failed to cast media http://192.168.86.43:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en_-_tts.elevencave.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address Failed to cast media http://192.168.86.43:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en_-_tts.elevencort.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

Any time I try send a messages to be made into audio I Checked 11labs it never makes it to it

Technically-Possible commented 3 months ago

I have Plenty of the quota left I have generated text from it before and all the voices work it just seems like the data isn't making it from home assistant to 11 labs even though the 11 labs integration says it's working completely fine

carleeno commented 3 months ago

Hmm, that's a different error than what you first posted. That isn't related to the update, it's generating the audio just fine, but you're having a network problem preventing your cast device from accessing the generated MP3.

Try testing the integration directly in your browser instead of using a cast device. Go to Settings -> Voice Assistant -> edit your assistant -> Try Voice, and see if it works there.

Technically-Possible commented 3 months ago

I apologize if my previous message was unclear. The system is not generating audio at all, and I am unable to connect it to Eleven Labs in any capacity. I have attempted various methods to trigger it within Home Assistant, including manual attempts, but to no avail. It does not seem to communicate with the Eleven Labs website. While I can generate audio directly on the Eleven Labs platform, the integration is failing to connect. Initially, the API recognized the voices, but when attempting to generate audio, it encounters issues.

carleeno commented 3 months ago

I'm sorry, I can't help you without the relevant error messages from your logs.

The logs you shared last do not show any errors with this integration, only cast errors.

The previous logs you shared indicate it was the old version that still had Domi as the default. Those logs also show that you had duplicate entities which were not found (elevenlabs_tts_2 and elevenlabstts)

I'd recommend you completely remove the integration and entities (including any duplicates), and install the latest version. Then try to generate audio directly without cast devices using my instructions in the previous message, and if it still doesn't work, filter the logs for [custom_components.elevenlabs_tts.elevenlabs] to see the relevant errors.

Technically-Possible commented 3 months ago

Logger: homeassistant.components.cast.media_player Source: components/cast/media_player.py:405 integration: Google Cast (documentation, issues) First occurred: 1:10:09 am (7 occurrences) Last logged: 8:50:03 am

Failed to cast media http://192.168.86.43:8123/api/tts_proxy/d7ebbc248898f4cc76779a5aad78a8431a25f143_en_-_tts.elevencave.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address Failed to cast media http://192.168.86.43:8123/api/tts_proxy/d7ebbc248898f4cc76779a5aad78a8431a25f143_en_-_tts.elevenisac.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address Failed to cast media http://192.168.86.43:8123/api/tts_proxy/240e90da06439aa78e2bc54b29ba46186bfbf1bd_en_-_tts.elevencave.mp3 from internal_url (http://192.168.86.43:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

carleeno commented 3 months ago

Those logs are not from this integration. Try searching HA forums for those cast errors.

Technically-Possible commented 3 months ago

I understand this may seem like a casting issue however this is most definitely a Eleven labs issue Due to the fact every other tts voice installed on the system works completely fine with casting it's just 11 labs that doesn't