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.
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.
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.
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.
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.
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.