Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - I can’t find TTS GOOGLE COMPONENT #67

Closed
1 task
riddik14 opened this issue Jan 7, 2024 · 7 comments
Closed
1 task

Bug - I can’t find TTS GOOGLE COMPONENT #67

riddik14 opened this issue Jan 7, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@riddik14
Copy link

riddik14 commented Jan 7, 2024

Home Assistant Core Version

2024.01.02

Home Assistant Installation Type

Home Assistant Operating System

Description

I can’t find TTS GOOGLE COMPONENT

Questo errore è restituito dalla card. Alexa funziona ma i dispositivi Google no. Con altri servizi di notifica che usano direttamente il servizio tts funziona, quindi tts funziona ed è presente. Controllato il nome aggiunto alla blueprint ed è lo stesso.

Notifier_Dispatch: ------------------------------------------------------------
2024-01-07 11:53:39.793095 WARNING Notifier_Dispatch: Unexpected error in worker for App Notifier_Dispatch:
2024-01-07 11:53:39.793314 WARNING Notifier_Dispatch: Worker Ags: {'id': '9db57c54434a4479b61cf0aed3b7ad7b', 'name': 'Notifier_Dispatch', 'objectid': 'dc96ae2cf90243cc85bb17d755e11428', 'type': 'scheduler', 'function': <bound method Notifier_Dispatch.package_download of <notifier_dispatch.Notifier_Dispatch object at 0x7f998ae83490>>, 'pin_app': True, 'pin_thread': 2, 'kwargs': {'__thread_id': 'thread-2'}}
2024-01-07 11:53:39.793548 WARNING Notifier_Dispatch: ------------------------------------------------------------
2024-01-07 11:53:39.794576 WARNING Notifier_Dispatch: Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/appdaemon/threading.py", line 1022, in worker
funcref(self.AD.sched.sanitize_timer_kwargs(app, args["kwargs"]))
File "/homeassistant/appdaemon_apps/apps/notifier/notifier_dispatch.py", line 273, in package_download
version_installed = self.get_local_version(cn_path, FILE_MAIN) # <-- recupero versione locale
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/homeassistant/appdaemon_apps/apps/notifier/notifier_dispatch.py", line 198, in get_local_version
if os.path.isfile(cn_path + file_names):
~~~~~~~~^~~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

2024-01-07 11:53:39.794755 WARNING Notifier_Dispatch: ------------------------------------------------------------

Automation YAML config


alias: Centro Notifiche - Configurazione Avvio
description: new
use_blueprint:
  path: caiosweet/notifier_startup_configuration.yaml
  input:
    person:
      - person.papaa
      - person.mamma
    alexa_media_player:
      - media_player.echo
      - media_player.firetvstick_di_domenico
      - media_player.nexxt
    alexa_group_player:
      - group.ovunque
    google_media_player:
      - media_player.camera_da_letto
      - media_player.cucina
      - media_player.giorno
      - media_player.cameretta
      - media_player.notte
      - media_player.soggiorno
      - media_player.tutti
    google_group_player:
      - group.google_home_all
    ha_event_notify:
      - notify.mobile_app_iphone_mimmo
    download: true
    personal_assistant: jarvis

To Reproduce

Scrivi messaggio da interfono

invia

errore visualizzato in alto. Google non parla
Alexa parla

Expected behavior

—-

Actual Behaviour

—-

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

No response

Additional context

No response

@riddik14 riddik14 added the bug Something isn't working label Jan 7, 2024
@riddik14
Copy link
Author

riddik14 commented Jan 7, 2024

'service: tts.google_translate_say
data:
cache: false
entity_id: media_player.cameretta
message: Test
'

Questo funziona

@caiosweet
Copy link
Contributor

Ciao, in attesa che @jumping2000 vede di cosa si tratta e che è successo negli ultimi aggiornamenti, prova a modificare il file gh_manager.yaml del notifier sostituendo il parametro gh_service come scritto qui sotto

gh_service: google_translate.tts

Fammi sapere se risolve momentaneamente il problema.

@riddik14
Copy link
Author

riddik14 commented Jan 7, 2024

Ho provato
, ancora errore

Ho provato anche gh_service: google_translate_say.tts

Stessa cosa stesso errore

@caiosweet
Copy link
Contributor

ok, aspettiamo aggiornamenti... ma dopo aver messo gh_service: google_translate.tts hai riavviato appdaemon?

@caiosweet
Copy link
Contributor

Se non risolvi, questa modifica dovrebbe andare al 100%, sempre in attesa di aggiornamento

commenta le righe da 157 a 161 del file gh_manager.py

        if not self.check_gh_service:
            self.set_debug_sensor(
                "I can't find the TTS Google component", "https://www.home-assistant.io/integrations/tts"
            )
            return

@riddik14
Copy link
Author

riddik14 commented Jan 7, 2024

Errore mio. Sì la tua prima risoluzione risolve il problema.

gh_service: google_translate.tts

Grazie

@jumping2000
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants