amazon-echo

AWS Lambda calling SNS

南楼画角 提交于 2020-01-16 20:01:53
问题 I'm playing with my Amazon Echo and wrote a little function which I hope would text me after a response from my daughter. The code executes fine - but the sns.publish never happens. It fails silently - I can't raise an error. I believe I have the proper IAM permissions and Topic subscriptions. Can someone help? function textMom(kindOfDay){ var message = "Test"; var sns = new AWS.SNS(); console.log("textMethod") sns.publish({ TopicArn: "arn:aws:sns:us-east-1:", Message: message }, function(err

AWS Lambda calling SNS

最后都变了- 提交于 2020-01-16 20:00:31
问题 I'm playing with my Amazon Echo and wrote a little function which I hope would text me after a response from my daughter. The code executes fine - but the sns.publish never happens. It fails silently - I can't raise an error. I believe I have the proper IAM permissions and Topic subscriptions. Can someone help? function textMom(kindOfDay){ var message = "Test"; var sns = new AWS.SNS(); console.log("textMethod") sns.publish({ TopicArn: "arn:aws:sns:us-east-1:", Message: message }, function(err

Alexa Skill not recognized when tested on Echo

自闭症网瘾萝莉.ら 提交于 2019-12-30 05:47:07
问题 I was doing one of the tutorials (HelloWorld) to make a skill for the Echo and I followed the directions. When I tested the skill using the Service Simulator, I typed in Alexa, tell Greeter to say hello and that returned the following JSON response: { "version": "1.0", "response": { "outputSpeech": { "type": "PlainText", "text": "Hello World!" }, "card": { "content": "Hello World!", "title": "Greeter", "type": "Simple" }, "shouldEndSession": true }, "sessionAttributes": {} } I think that is

Dialogflow/API.ai Amazon Echo integration: Simple plain text bot for testing

扶醉桌前 提交于 2019-12-24 09:50:10
问题 I have been trying to make my simple test bot (it's just a single intent with three different text based responses) and hook it up to my amazon echo for a proof of concept demo. I am having trouble with the amazon side of the integration. Here are my questions: How do I make it so I can test my skill on my echo. Do I need to publish it even before I can test it? How does it work How do I make my echo communicate with the api.ai/dialogflow server to get the response I want? What link do I fill

Account Linking Alexa with Twitter - Amazon Echo

情到浓时终转凉″ 提交于 2019-12-19 11:04:35
问题 As of now I cannot seem to get my Alexa skill linked with twitter. Currently, I have a node/express server running on EBS which, I am using passport-twitter to handle the oauth part of the authentication. Right now my flow is such: Enable skill in Alexa app Click 'sign in to account' in alexa app Twitter Login screen is displayed and I enter user name and password then click Login button get redirected to Amazon provided url for callback once authenticated and get an 'Unable to link you skill

Account Linking Alexa with Twitter - Amazon Echo

烂漫一生 提交于 2019-12-19 11:04:06
问题 As of now I cannot seem to get my Alexa skill linked with twitter. Currently, I have a node/express server running on EBS which, I am using passport-twitter to handle the oauth part of the authentication. Right now my flow is such: Enable skill in Alexa app Click 'sign in to account' in alexa app Twitter Login screen is displayed and I enter user name and password then click Login button get redirected to Amazon provided url for callback once authenticated and get an 'Unable to link you skill

Log the utterenances that are not handled by amazon alexa

我只是一个虾纸丫 提交于 2019-12-10 18:16:53
问题 is it possible to log the question asked by user that triggers that unhandled intent. What I plan to do. When the user says an utterance that alexa does not understand it fires the unhandled intent. Here I want to ask user to repeat the statement and store it in the database for future reference. This would require me to create an intent expecting a slot which can accept a statement. (i.e slot values will not be predefined). Is the possible with alexa? In this case what should be slot type? I

What's an easy way to setup Oauth for an Amazon Alexa Connected Home skill?

孤者浪人 提交于 2019-12-03 10:12:32
问题 I'm trying to prototype an Alexa Connected Home skill and one of the requirements is linking a user's account using Oauth 2.0. Since I'm just building a prototype and I don't have an Oauth server up and running what's the easiest way for me satisfy Amazon Oauth requirement? I've tried following the instructions on Tips for Using Login with Amazon in Alexa Connected Home CoHo Skills but it failed with an uninformative error message no matter what I tried. Has anyone gotten Login with Amazon to

How To Use Amazon Skill Set Without Amazon Echo Device

笑着哭i 提交于 2019-12-03 03:56:41
问题 I am trying to integrate amazon skill kit in my website without an amazon echo unit. I want to implement voice commands on my website using the laptop/PC microphone instead of an echo unit. I have used this tutorial but I didn't find anything about how to implement it on my side. I also tried these samples available on github. But I think these also require an Amazon echo device: https://github.com/amzn/alexa-skills-kit-js I am using Windows with the development environment given below My

What's an easy way to setup Oauth for an Amazon Alexa Connected Home skill?

半城伤御伤魂 提交于 2019-12-03 00:42:32
I'm trying to prototype an Alexa Connected Home skill and one of the requirements is linking a user's account using Oauth 2.0. Since I'm just building a prototype and I don't have an Oauth server up and running what's the easiest way for me satisfy Amazon Oauth requirement? I've tried following the instructions on Tips for Using Login with Amazon in Alexa Connected Home CoHo Skills but it failed with an uninformative error message no matter what I tried. Has anyone gotten Login with Amazon to work with Alexa Connected Home? Is there an easy to use Oauth provider that I could use? Alex Q tl;dr