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

Running two instances of google_translate one after the other doesn't always work #43054

Closed
Chreece opened this issue Nov 10, 2020 · 1 comment

Comments

@Chreece
Copy link

Chreece commented Nov 10, 2020

The problem

I am using a TTS script for google_translate, so I am sending with a template the message and the target to play my text as speech. I use it also to speak out replies for my voice commands. After recognizing my intent from Rhasspy as standar I give a voice reply (through this google_translate script) following the action. I have some Intents that the action is also a voice reply (such as the time, the temperature usw.) meaning that the automation sends two templates one after the other, one for the reply to the voice command i.e. OK and one for the action i.e. The Time is 09:30
Some times it works and I hear both of the replies (OK, The Time is 09:30), some times I hear only the second one (The Time Is 09:30) and sometimes I hear only the first one (OK) and got the two errors that i include in this post.
I must say I am using the Greek voice (i haven't tested with other languages)

Environment

  • Home Assistant Core release with the issue: 0.117
  • Last working Home Assistant Core release (if known): unknown
  • Operating environment (OS/Container/Supervised/Core): Core (Python Venv)
  • Integration causing this issue: google_translate
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/google_translate/

Problem-relevant configuration.yaml

tts:
  - platform: google_translate
    language: 'el'

Traceback/Error logs

Unable to find token seed! Did https://translate.google.com change?
Error on init TTS: No TTS from google_translate for The Time Is 09:30

Additional information

@springstan
Copy link
Member

Duplicate of #42911 and this should have been fixed by #43015

@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants