Alexa text to speech not working

Hello,
ich habe install die Alexa Media Player. I see the entities.

But now if I put a Text in the field “Text to speech” and press the button “send”

I got from the Alexa the following answer:
Sorry, text to speech can only be called with the notify.alexa_media service. Please see the alexa_media wiki for details.

I had install Alexa Media Player a few months ago an and then it worked. But I had uninstalled it. Now I wanted to use it again and it doesn’t work anymore.

I have the HA Version 2021.12.10

Have anyone an idea, who to fix the problem?

With the custom:mini-media-player ist works.

title: Wohnzimmer
type: custom:mini-media-player
artwork: full-cover
entity: media_player.alexa_wohnzimmer1_2
tts:
platform: alexa
enity_id: media_player.alexa_wohnzimmer1_2

Please post the code of that card.

type: entities
entities:
  - entity: media_player.alexa_wohnzimmer1_2

There’s no tts if I put my Echo in an entities card. Are you running the latest version of the custom component?

yes, there is no update available. Its Version
v3.10.15

Now I have try it with the the custom mine media player. With this it works:

title: Test
type: custom:mini-media-player
artwork: full-cover
entity: media_player.alexa_wohnzimmer1_2
tts:
  platform: alexa
  enity_id: media_player.alexa_wohnzimmer1_2
1 Like

I can’t reproduce why there is a tts field in your dialogue box. Maybe you ask in the main thread.

@pedolsky
With this card:

type: media-control
entity: media_player.echo_dot

And click the 3 dots at the top of the card and you get this pop up:
image

the TTS (texte à lire here) field makes alexa say what the first post said.

Got none, tested media card. entities card and entity card. :man_shrugging:

Thanks. It works for me now. I did not know that HA could use Alexa as a TTS device. Yesterday when I saw this thread, I started experimenting and had the same issue. Alexa kept saying that TTS can only be used through the notify service. I tried the notify service but kept getting error. So, I tried the code that you posted with Mini Media Player and it works.

Thank you.

Hello all,

since the topic is the same, I put my problem here. I have these scripts:

test_0:
  sequence:
  - service: notify.alexa_media
    data:
      message: 'This is a voice test'
      data:
        type: announce
        method: spoken
      target:
        - media_player.alexa_for_pc

test_1:
  sequence:
  - service: notify.alexa_for_pc
    data:
      message: 'This is a voice test'
      data:
        type: tts

Test_0 doesn’t work, test_1 work. Why doesn’t test_0 work? Other Media_Player of type Sequence and Custom scripts work, but this Spoken type does not want to work. The version is v. 3.10.15.
Any idea? Thanks.

Because it is speak

Hi @pedolsky,
I’ve always read
method: spoken
but also speak doesn’t work.

Is your echo in do-not-disturb-mode?

No, “do-not-disturb-mode” is off. But this is not an echo (with the Echo Dot it works), it is the Alexa app on Windows 10, it works with everything but not with the speak.

There’s not much in the Wiki:

Notes:

1. When using SSML it is best to have method as “speak”, rather than “show” or “all”, as otherwise the SSML markup will be displayed on devices with a screen;
2. “Announce” method requires having “Communications” enabled under Alexa app device configuration. “Drop In” is not needed, but “Communications” must be active. If “Communications” is not enabled, Home Assistant logs won’t give any error while calling notify.alexa_media service, but Alexa remains quiet.
3. If “Do Not Disturb” mode is enabled, Home Assistant logs won’t give any error while calling notify.alexa_media service, but Alexa remains quiet.

Maybe it’s Windows related.

Hi @pedolsky, thanks for the support.
I will try to change something in the Alexa app settings, although I currently see that everything is activated. If I have any news I will add it below.
Thank you again.

I must have missed something here…

Until recently, you could still run TTS via the MediaPlayer card.
But that must have been changed with a core update?

My card now says: “Text to speech has moved to the media browser.”
However, my Echo’s don’t show up there?

am i doing something wrong Did I forget something? Is that still possible?

1 Like

Below the “action” part of one of my automations that still works in 2022.4.1:

.

.
.
.

I have the exact same issue. It worked for one day, then it stopped working. The volume slider works fine, but any text I add in doesn’t work