Output speech to Alexa based on state

I just setup my morning greeting as @Dixey posted up above, I really like it. My questions is: Is there any other routines that can be triggered like Alexa.GoodMorning.Play? I wouldn’t mind triggering some other types of notifications throughout the day. Is there a list?

media.content.id: Alexa.Weather.Play - for the local weather forecast
media.content.id: Alexa.Calendar.PlayToday - for today’s dreaded appointments if you use google calendar
media.content.id: Alexa.Calendar.PlayTomorrow - for the dreaded tomorrow appointments
media.content.id: Alexa.ImHome.Play - to have her greet you
media.content.id: Alexa.FunFact.Play - for a silly little piece of trivia
media.content.id: Alexa.Joke.Play - for a “Dad joke”
media.content.id: Alexa.FlashBriefing.Play - if you have an Alexa News Flash set up
media.content.id: Alexa.Traffic.Play - you need to set up Alexa with a home and work address for traffic reports
media.content.id: Alexa.GoodNight.Play - just to sweetly tell me good night

Perfect, thanks Dixey, I will implement some of those during this upcoming week.

and to randomly entertain the kiddos:
media.content.id: Alexa.TellStory.Play
media.content.id: Alexa.SingASong.Play

(and change the echo/dot configuration in the kiddo’s room to use English UK for a voice if you want a free British Nanny)

hi,
node red not discovery the service alexa_tts.
there are some solution?

It’s “notify” now. check out the the following link
[Echo Devices (Alexa) as Media Player - Testers Needed]

Some example with node red and Alexa? Cause I don ‘t find the service in node red also I’d i’ve added this component in home assistant

Cover

Garage%20-%20switch

This is in the data because it was cut off in the picture

{"message":"Garage Door Is Opening","data":{"type":"announce"}}
2 Likes

give this error
msg : string[73]

“Call-service API error. Error Message: extra keys not allowed @ data[‘0’]”
i don’t know why

https://pastebin.com/bAbdwbi5

Try to delete double quotations “ and retype double quote " again.

JSON

3 Likes

Just add a switch node before.
Set it to delete the msg.payload

Is this possible using node-red automatons?

I don’t see why not, but I don’t use node-red… yet. I’m considering doing so, so if you experiment and it does work, please report back. :slight_smile:

Thanks Dixey, trying it now.

@Dixey are you in the US?
I’ve got something that says it has been called, but my echo isnt speaking, so i’m trying to figure out if it location restricted.
just need someone to test to see it it works.

My call service node looks like this, and i’ve just used an inject timestamp node (changed to on) to activate. I can see the service has been called, but get no sound. If i change it announce she speaks but just says what is in the brackets (as expected)

On the Alexa.Traffic.Play sequence, make sure you have already plugged into your Amazon Alexa account; Settings, Traffic, your home and your destination addresses.

yup. already have that I ask alexa about weather and traffic all the time. I’ve tried alex.joke.play, alexa.weather.play and alexa.funfact.play but still she says nothing. lol

I’ve tried to call a tunein station via media play, but getting an API error:

These work for me:
AlexJoke

and
AlexRadio

literally just figured this out just before checking back on this page.

thanks @Patrick123

2 Likes

Hallo,
With the info above i’m able to call the service with no errors… however echo is silent
Any hint?

I’m trying to have Alexa reading a Test message

Thanks

Matteo

Edit: I solved by myself, i was connected to the wrong amazon domain (amazon.com instead of amazon.it)