Skip to content

Voice activated label printer using Alexa enabled device

Notifications You must be signed in to change notification settings

aprsworld/alexa-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Alexa

Skill Components

  • Intents

    These represent actions that users can perform with the skill. Some required intents are the help, cancel and stop intents. Where help would offer instructions on how to use the Alexa skill and Stop would shut down the skill

  • Sample Utterances

    These are essentially templates of valid phrases that users could submit to Alexa. For instance, one of the sample utterances for the APRS Printer is:

    The {partNo} and {qty} are both slots - we'll get to this later.

    printer please print {partNo} times {qty}

  • Invocation Name

    This is the name that identifies the skill. The user speaks this name when they are attempting to invoke the skill.

  • Cloud-based service that accepts intents sent from Alexa

    This is usually AWS Lambda.

  • A configuration that brings everything together

    this can be created using the Developer Portal.

Managing the Alexa side of things

You can create the Alexa Skill here: https://developer.amazon.com/edw/home.html#/skills/list

This is where sample utterances and the intent schema is uploaded to. This is also where you can find the application ID and where you would link to an AWS lambda function.

Managing the Lambda function

You can manage the Lambda function here: https://console.aws.amazon.com/lambda/home?region=us-east-1#/functions

This is where the src code and node modules are uploaded. The file structure you will need is (Node.js version):

src
|
+-- AlexaSkill.js
+-- Index.js
|
+-- node_modules
|   |
|   +-- module1   
|   |   |
|   |   +-- package.json
|   |
|   +-- module2   
|   |   |
|   |   +-- package.json

Once satisfied with the src code and correct file structure is verified, you will need to zip the contents of the directory with the linux command line:

zip -r src.zip . While in the working directory

Helpful Resources

http://tobuildsomething.com/2015/08/14/Amazon-Echo-Alexa-Tutorial-The-Definitive-Guide-to-Coding-an-Alexa-Skill/

About

Voice activated label printer using Alexa enabled device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published