[OBSOLETE] Ask Alexa 2.3.9 (2018)

I just turned the PIN requirement off and it’s working fine without it (still get the error in IDE though).

Hi, I just installed a thing called community installer, I had never seen it before. Anyway as I scrolled down I saw Ask Alexa, which I have tried to install many times but it always went wrong. So thinking thiss was any easy way I tried it. Made a fresh Lamda account and a new developer account. Where do I find the “JSON code” I can’t find any mention anywhere. When I click on the button to download text copy ERROR
Same with Lambda code ERROR.
Back where I was a year ago. It’s driving me mad. Where am I going wrong?

Instructions For developer and lambda setup are in the wiki at
http://thingsthataresmart.wiki/index.php?title=Ask_Alexa#Developer_and_Lambda_Code_Installation

I would be interested in what you are trying to output that would give the errors. The PIN being enabled or not should not affect anything like this. In addition, I have only seen the 10000 character limit when very long reports are generated. I actually feel some code got disrupted in your IDE. I recommend copying a fresh set of code to the IDE (you should then not have to change anything) and see if that error goes away. If not, PM me and we can work on specific items to troubleshoot.

Thanks!

I actually recommend starting from the top of the instructions as there are a lot of things that may be missed just doing one or two portions of the instructions. It is worth it once you get everything installed properly!

http://thingsthataresmart.wiki/index.php?title=Ask_Alexa

I suspect you are 100% correct. I’ve been having a lot of copy/paste issue in the IDE lately.

I have never figured our WHY it happens…

I’m my findings it’s more specific to chrome vs other browsers

Hi, I have tried this both last time and this but the screens that I see are not the same as the screens on the Wicki. I have spent 2 hours with this now plus many more last time. When I follow the set up variables in the app on phone I get a screen “Internal Server Error” code 500. This happns on 2 different browsers on my laptop and also in the same part on my phone.
One-step Personalized Code (Main Ask Alexa Skill):

Lambda Full Code:
Click button below, copy the code on the page, then paste to AWS Lambda
You can also download a text copy of the code for backup or to use your text editor to copy/paste to AWS Lambda. To download, click the button below

Developer Code:
Click the button below, copy the JSON code on the page, then paste to the Interaction Model Builder on the Amazon Developer page
Or, click the botton below to download a text copy of the JSON code, then load into to the Interaction Model Builder on the Amazon Developer page
nothing on the above page works. All I get is server error.

Ozzy (@ozzyjah ),

Please PM me and we can work together on this. I am a bit confused as to what you mean about the images not matching the screens. I just looked at bot the developer and AWS sites and outside of a few icons on the AWS site (which I will update) the instructions are rather consistent with what I am seeing. As recommended, I would start with the main instructions and follow those. When you run into issues, please PM me.

Hi Michael,

I’m not copy / pasting code into the IDE, I’m pulling it directly from your repo as I have it linked within the IDE.

Steve.

That is even more strange as something is ‘different’ in your configuration that is creating these errors. Please PM me and give me some screenshots of your error log and exactly what you are saying to Alexa that generates the error. We can then work through the code to see what is the issue.

Hello. New to this forum and new to Ask Alexa integration. I’ve followed all of your instructions and I’m stuck at one place.

Your instructions mention to past the JSON code here.

  • Finally, also on the Setup Variables page, click Display Developer JSON Code . Paste this code to developer.amazon.com . This code specifically should go to the Interaction Model>>Skill Builder>>Code Editor .

However, I cannot find that area anywhere on my Developer.amazon.com page.

I appreciate any help you can give me.
Thanks!

While it has been a while since those directions have been written, I just checked at the editor is still there:

It is on the left side of the skill you are creating.

Thanks Michael. I’ll take a look.

Hi Everyone! I recently installed WebCore and wrote a few pistons for it. I am now trying to install Ask Alexa. I am following the instructions here Ask Alexa - Things That Are Smart Wiki
but there is a lot there, and some of the websites don’t look exactly the same any more.
The Ask Alexa shows up as a Smart App in my Smartthings app. It does see all my devices. But any command to Alexa such as “Alexa, ask Smarthings to…” just results in “sorry, i don’t know that” from Alexa. My suspicion is that I probably messed up with the Lambda because that the website I look at looks different enough so I can’t quite follow. Is there any way to diagnose? What is the absolute minimum checklist to make sure this works? I can get into building and understanding the rest later…

Thanks for the question. I haven’t update the instructions in a while as this app is probably going end-of-support by May.

However, that shouldn’t keep you from using it. Overall, no matter the way the screens look, the concepts still are the same.

First, I would check your Lambda code to ensure it has your SmartThings ID properly encoded in it

That allows Amazon to talk to your SmartThings app.

The next thing is to ensure you have the proper ARN so the Skill can talk to Lambda:

http://thingsthataresmart.wiki/index.php?title=Ask_Alexa#ARN_Code

Let me know if any of these suggestions help.

1 Like

thanks. It looks like the problem is with the ARN.

After the step where 3 things (invocation name, Intents and Build model) were supposed to be checked, for me Endpoint was also checked. Nonetheless, i entered the correct ARN here and saved it.

At this point, after this step
" * Click <> at the top of the screen. Next, click on <> on the left side of the screen. Ensure your page looks like the screenshot below. Click <> and <> at the top of the screen."
I see that it shows 14 utterance conflicts.
When I click to see what they are, I get a popup asking if i want to navigate away, because i have unsaved changes, even though I saved the interfaces and built the model and both said that were done successfully.
Not sure what to do with the conflicts.

The interface on the new SmartThings app has changed a lot…there is no concept of ‘save’ any longer. I have never seen an utterance conflict, but you may be able to go through the list to see if any are duplicates (it used to handle those differently). Anyway, you are almost there, so that is good!

Any way you could look at this? I don’t think I know what I am doing :(. There are no duplicates in the list as far as I can tell, but I am probably not even looking at the right place.