Alexa Media player tts/notify

Hello,

After I updated hassio, my alexa mediaplayer tts function didn’t work anymore.

Now I installed and updated everything. And when I test it with Developer Tools - Services it works. I select: notify.alexa_media_andy_s_echo_dot. And type at service data:

{
"message":"test",
"data":{"type":"tts"}
}

It works perfect. But when I try to fix it in to an automation, I don’t get it fixed. I tried different ways (also on the site of Alexa mediaplayer), but alexa stays silent. I created a simple automation to test it. Does someone know the right way to let alexa say something in an automation?

- id: '1566473007915'
  alias: Testzegjes
  trigger:
  - at: '20:01'
    platform: time
  condition: []
  action:
    - service: notify.alexa_media_andy_s_echo_dot
      data:
        type: tts
      message: 'hello'

Thanks!

Please try:

- id: '1566473007915'
  alias: Testzegjes
  trigger:
  - at: '20:01'
    platform: time
  condition: []
  action:
  - service: notify.alexa_media_andy_s_echo_dot
    data:
      message: 'hello'
      data:
        type: tts

Bedankt Bert! Thanks for the reply Bert! That didn’t work either. But I finally got it working!

- id: '1566473007915'
  alias: Testzegjes
  trigger:
  - at: '13:58'
    platform: time
  condition: []
  action:
  - data:
      data:
        type: tts
      message: Hoi
    service: notify.alexa_media_andy_s_echo_dot

2 Likes

Seems I got some spaces wrong. Sorry for that. But happy to see you got it working