Alexa notify.alexa

good morning, I installed alexa media player but when I try to use the command notify me from unknown error

this is the log,
anyone have idea?
thanks

2022-01-02 15:38:12 DEBUG (MainThread) [alexapy.alexaapi] f****a@yt: static GET: Amazon Accedi returned 200::application/json

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] fa@yt: Updated last_called: {‘serialNumber’: '4************************524’, ‘timestamp’: 1641133684678, ‘summary’: ‘alexa quale notifiche ho’}

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] Soggiorno: Locale it-it timezone Europe/Paris

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] Soggiorno: DND False

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media.media_player] f****a@yt: Refreshing

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media.media_player] fa@yt: Soggiorno: Last_called check: self: G18N reported: 4********************524

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] Excluding This Device for lacking capability

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] This Device: Locale it-it timezone Europe/Rome

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] This Device: DND False

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media.media_player] f****a@yt: Refreshing

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media.media_player] fa@yt: This Device: Last_called check: self: 4524 reported: 4****524

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] f****a@yt: Existing: [, ] New: []; Filtered out by not being in include: [] or in exclude: []

2022-01-02 15:38:12 DEBUG (MainThread) [custom_components.alexa_media] Finished fetching alexa_media data in 1.282 seconds (success: True)

You do not have a target or data type in your service call…

service: notify.alexa_media
data:
  message: "prova"
  data:
    type:  tts
  target: media_player.fabios_echo

i tried, this is result:

Sorry, I messed up the target: format…

You should be able to use either:

service: notify.alexa_media
data:
  message: "prova"
  data:
    type:  tts
  target: media_player.soggiorno

or:

service: notify.alexa_media_soggiorno
data:
  message: "prova"
  data:
    type:  tts

(If media_player.soggiorno is actually a speaker group, not an individual echo device you cannot use type: tts… you must use type: announce)

2 Likes

grazie mille funziona!

1 Like