Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broke out config to AWS envvar, fixed logic, added endpoints #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/src/*.zip
36 changes: 33 additions & 3 deletions speechAssets/intents.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"intents": [
{
"intent": "GetCodeIntent",
"slots": [
{
"name": "code",
"type": "AMAZON.NUMBER"
}
]
],
"intent": "GetCodeIntent"
},
{
"intent": "AMAZON.HelpIntent"
Expand All @@ -28,7 +28,37 @@
"intent": "PrintStatusIntent"
},
{
"intent": "StopPrintIntent"
"intent": "BedTemperatureIntent"
},
{
"intent": "ExtruderTemperatureIntent"
},
{
"intent": "TemperatureIntent"
},
{
"intent": "JobStatusIntent"
},
{
"intent": "HeatupPLAIntent"
},
{
"intent": "HeatupABSIntent"
},
{
"intent": "HeatupTglaseIntent"
},
{
"intent": "HeatupNylonIntent"
},
{
"intent": "StartPrintIntent"
},
{
"intent": "StartPrintIntent"
},
{
"intent": "StartPrintIntent"
},
{
"intent": "StartPrintIntent"
Expand Down
33 changes: 26 additions & 7 deletions speechAssets/utterances.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,39 @@
GetCodeIntent my code is
GetCodeIntent my code is {code}
AMAZON.HelpIntent help
AMAZON.HelpIntent for help
AMAZON.HelpIntent to help

GetCodeIntent my code is
GetCodeIntent my code is {code}

PrintStatusIntent print status
PrintStatusIntent printer status
PrintStatusIntent status
PrintStatusIntent status of print
PrintStatusIntent the status

BedTemperatureIntent the bed temperature
BedTemperatureIntent for bed temperature
BedTemperatureIntent bed temperature
ExtruderTemperatureIntent the Extruder temperature
ExtruderTemperatureIntent temperature
ExtruderTemperatureIntent for temperature
ExtruderTemperatureIntent hot end temperature
ExtruderTemperatureIntent print temperature
TemperatureIntent for the temperature
TemperatureIntent for the temperatures
TemperatureIntent for the current temperature
TemperatureIntent for the current temperatures
TemperatureIntent for temps
TemperatureIntent for current temps
JobStatusIntent what is printing
JobStatusIntent what's printing
JobStatusIntent printing
JobStatusIntent currently printing
JobStatusIntent what's currently printing
JobStatusIntent what is currently printing
JobStatusIntent printing now
JobStatusIntent what is printing now
JobStatusIntent what's printing now
StopPrintIntent stop
StopPrintIntent stop the print
StopPrintIntent stop print

StartPrintIntent start
StartPrintIntent start the print
StartPrintIntent start print
StartPrintIntent start print
9 changes: 6 additions & 3 deletions src/AlexaSkill.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/**
2016 Joshua Caputo

Generic Alexa Skill SDK
Copyright 2014-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

http://aws.amazon.com/apache2.0/

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

'use strict';
Expand Down
Loading