Echo Speaks/IFTTT for Announcements


#21

That’s the Log entry… it looks like your message is not getting in.

Edit: Please post a green snapshot and I will try to import it.


#22


#23

I should have asked this earlier, how are you sending the actual message? Are the messages hard coded or they vary?


#24

Not sure what you mean by hard coded. I’m sending a hashtag sms message to IFTTT. So any message I send to the ifttt number with the # is supposed (I thought) work.
Do you do something similar that I could replicate?


#25

This is what I have set up that I play with… I text the IFTTT number with any message and Alexa will speak it. I don’t use the hashtag though.


#26

I see what’s happening now, should have figured it out earlier. When the switch executes, $args.content is no longer valid so you end up with a ‘null’ which sounds like ‘No’ when Alexa says it.


#27

Ok, how do I fix it?


#28

Try this one… it spoke it twice in my test, might be a fluke :slight_smile: Oh, you need to change the trigger back to what your were using instead of alexatest


#29

I have no idea what the difference is but it worked… Twice! Thanks so much.


#30

Having the messageText = $args.content up top initializes it each time the piston runs. When the switch turns on, it initializes the messageText variable again but at that time $args.content is null, which is why Alexa keeps saying NO lol.


#31

Crazy! Again, I appreciate you hanging with it!