To fix this, go to the AWS Lambda page (found here) and click on your Lambda function.įind the Basic settings section and change the timeout from 3 sec to 10 sec. One problem might be that the Lambda function doesn't have enough time to process the request within the default timeout of 3 seconds. FAQ Alexa says that "there was a problem with the requested skill's response." Make sure Test is enabled for this skill is selected.Īt this point, the skill should pop up in your Alexa app and be ready to use. To use this skill without publishing it, we need to enable testing.Ĭlick on Test in the top menu. Put the Lambda function ARN in the Default Region textbox. Switch back to the Build page for the Alexa skill. We will now do the reverse - we will connect the Alexa skill to the Lambda function. The ARN should look similar to this: arn:aws:lambda:us-east-1:143724428083:function:myqHome. We need to save the ARN of the Lambda function for later. Make sure Enable is selected for Skill ID verification. A new section called Configure triggers should appear underneath. Click Alexa Skills Kit under Add triggers. We will do this by adding an Alexa Skills Kit trigger to the Lambda function. We will now connect the Lambda function to the Alexa skill we made earlier. A new page should pop up for configuring the new custom role. Make sure the Author from scratch section has the following settings. Make sure Author from scratch is selected. Once you have ensured you are working within a supported region, click Create function on the AWS Lambda page. Make sure the region matches one of the ones below: Only a certain number of regions support Alexa integration. You should be able to see a region on the top right. The Lambda function will act as the glue between Alexa and the MyQ service. Now we will make a Lambda function to process requests from the Alexa skill. In a new tab, create an Amazon AWS account here or login to it if you already have one. Under the skill name, click View Skill ID. In a new tab, go to the Alexa Developer Console again (found here). We will need to save the Skill ID of this skill to complete future steps. Make sure this invocation name doesn't conflict with any of the invocation names on your enabled skills.īefore we continue, we have to build the model. If you would like to set a different invocation name, feel free to do so. The fourth line in the configuration you copied and pasted should hold the default invocation name, "my queue". Copy everything on this page and replace the existing content in the JSON Editor with this new content. We will now configure the skill so that it understands the different things users can ask of it.Ĭlick on JSON Editor on the left. Now we should be on the Build page for the Alexa skill. Therefore, make sure Start from scratch is selected in the Choose a template page and then click Choose. We will not need a template as the complete configuration for the skill is provided. Therefore, make sure Custom is selected in the Choose a model to add to your skill section and then click Create skill up top. The skill we are making is a custom Alexa skill. Name: MyQ Home (if you would like to set a different name, feel free to do so) Make sure the Create a new skill page has the following settings. Go to the Alexa Developer Console (found here) and click Create Skill. Step 1Ĭreate a Amazon Developer account here or login to it if you already have one. IMPORTANT: note that the UI for the services used below changes from time to time and as such, the instructions given below might not be exactly correct. If that doesn't work, ask the skill to discover devices again and make sure it finds the device you're looking for. If the skill is not finding or toggling the right device, try giving your devices more distinct names. "Alexa, ask MyQ to discover my devices".Here are the actions and queries currently supported by this skill: They are shown in the MyQ app as well as its web counterpart and can be changed. When using this skill, you need established names for your devices. You will need to have a MyQ account for this to work. Control your MyQ-Enabled devices using this Alexa skill.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |