bluewind-embedded-systems / aws-nxp-lpc54018-demo

Demo application integrating AWS and NXP components.
3 stars 3 forks source link

Lamda Function and Intent Scheme json file not working as expected. #2

Open SrinivasaChilaka opened 6 years ago

SrinivasaChilaka commented 6 years ago

It seems intent scheme and/or Lamda function needs to be updated as per latest developments in Alexa Skill.

denni1988 commented 6 years ago

Follow the new AWS/Readme.ms guide please. Thank you

SrinivasaChilaka commented 6 years ago

I see that LED toggle on the board when I give voice command but Alexa reports error. "There was a problem with the requested skill's response". Is Lamda function proper?

denni1988 commented 6 years ago

Can you please attach the Json scheme of the Alexa Skill you're using, you can find it in the JSON editor section of Alexa Skill setup.

denni1988 commented 6 years ago

Please try to modify the JSON scheme, the invocation name must be "invocationName": "my home" if you follow this example. I updated again the repository.

SrinivasaChilaka commented 6 years ago

Hi,

Didn’t see any change. Attached my alexa skill also. FYI, LED toggles on the board. MyAlexaSkill.txt alexaskill_1 alexaskill_2 jpg

denni1988 commented 6 years ago

Did you raise the Timeout of the lambda function in the Basic Settings? We're using a 15s timeout.

SrinivasaChilaka commented 6 years ago

It works now after increasing timeout to 15. Thanks!