Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Echo - Push a message to the device

Tags:

I have integrated my amazon echo device with the amazon portal associated to my account. I was able to create my own custom question with the Alexa Skills Kit and process with an AWS Lambda function to generate a response.

My question is: is it possible to programatically "push" a message to the echo device? For example, I would like for it to speak without having to ask it a question. I'd like it to do something at a specific moment.

If it is possible, could you please share any sample code to achieve this?

like image 925
code Avatar asked Oct 29 '15 08:10

code


People also ask

Can Alexa send a message to another device?

(Pocket-lint) - Did you know you can use Alexa to call and message others? Amazon's Alexa calling and messaging feature enables you to make and receive calls, as well as send messages between Echo devices, the Amazon Alexa app for iOS and Android, and Fire tablets. It's a neat way to contact family and friends.

Can Alexa make an announcement to a specific device?

For example, say “Alexa, announce that dinner's ready” to your Alexa Built-in device and “Dinner's ready” will play in your voice on your other supported devices. Customers can also say, “Alexa, tell everyone…” and “Alexa, broadcast…” to make an announcement.


2 Answers

It is not currently possible, but it is an oft requested feature on the AWS forums.

http://forums.developer.amazon.com/forums/thread.jspa;jsessionid=EC0D457A400B594DD0F0561EEB43A8FA?messageID=17713&#17713

like image 168
E.J. Brennan Avatar answered Jan 04 '23 02:01

E.J. Brennan


I've not done this myself but it seems using the Alexa Voice Service could do the trick. It allows processing of voice from any type of audio capture and sends it to the Alexa Service. It seems possible you could record the proper phrase into a sound file and send that to AVS, thus triggering the Alexa service.

like image 27
Brad Irby Avatar answered Jan 04 '23 01:01

Brad Irby