Skip to content

fazalfarhan01/Blynk-Alexa-Skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blynk Alexa Skill

Content

  1. Getting Started
  2. Python Setup & Code
  3. Setting up VS Code
  4. Enabling Beta Testing

1. Getting started

  1. Create an Alexa Developer account on https://developer.amazon.com

  2. Go to developer console and click on Create Skill

  3. Enter a Skill name, chose Language, select Custom for model to add, Select Alexa hosted for hosting skill's backend.

  4. Click on create skill (top right).

  5. Choose Start from Scratch as template.

  6. Set an Invocation Name. Invocation Name

  7. Create an intent named ControlIntent (Case Sensitive). Control Intent

  8. Set Sample Utterances Sample Utterances

  9. Create Slots

    1. Appliances Slots-Appliances
    2. Action Slots-Action
  10. Link Slots and Intents

  11. Save and Build and Evaluate Model.

2. Next Step - Code

  1. Clone this repo.
  2. Modify lambda/config.json accordingly.
  3. Create a Pithon Virtual Environment.
  4. Install all the dependencies from requirements.txt
  5. Copy all the files from site-packages to lambda folder.

3. Next we setup VS Code

AWS-CLI can also be used but I prefer VS Code.

  1. Install VS Code.
  2. Install Alexa Skill Kit (ASK) Toolkit.
  3. Open the extension and login with the same credentials as before.
  4. Click on download and edit skill from side bar. Download and Edit Skill
  5. Select the Skill you created earlier. Skill Selection
  6. Wait for it to complete the cloning.
  7. Copy all the files in the lambda folder in the GitHub cloned repo to ASK cloned repo.
  8. Commit the changes. Sync the changes. Wait for some time and then deploy from the VS Code plugin.

4. Enabling the Beta Testing

  1. Fill in all the details in Distribution.
  2. Then jump to Certification and Run Validation, rectify errors if any. (It's only after this step that you can enable beta testing.) Validated
  3. Go back to Distribution, select Availability from left tab, enable beta testing. Enjoy..!😁 Enabling Beta Testing