![Page 1: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/1.jpg)
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Charlie Kindel
December 1, 2016
Building a Smarter Home
with Alexa
@ckindel
ALX303
![Page 2: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/2.jpg)
![Page 3: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/3.jpg)
![Page 4: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/4.jpg)
70s 80s 90s 00s Present
mode
GUI
web
mobile
character
VUI
![Page 5: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/5.jpg)
W E B E L I E V E V O I C E R E P R E S E N T S T H E NEXT MAJOR DISRUPTION IN COMPUTING
![Page 6: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/6.jpg)
![Page 7: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/7.jpg)
70s 80s 90s 00s 10 20
S P E E C H U N D E R S T A N D I N G A D V A N C E M E N T S
![Page 8: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/8.jpg)
![Page 9: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/9.jpg)
M E E T O U R A L E X A -ENABLED DEVICES
![Page 10: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/10.jpg)
![Page 11: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/11.jpg)
![Page 12: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/12.jpg)
![Page 13: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/13.jpg)
![Page 14: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/14.jpg)
UNDER THE HOOD OF THE ALEXA SKILLS KITA closer look at how the Alexa Skills Kit processes a request and returns an appropriate response
You Pass Back a Textual or
Audio Response
You Pass Back a Graphical
Response
Alexa Converts Text-to-Speech
(TTS) & Renders Graphical
Component
Respond to Intent
through Text & Visual
Alexa sends Customer
Intent to Your Service
Your Service
processes
Request
User Makes a
Request
Audio Stream is
sent up to Alexa Alexa Identifies Skill & Recognizes
Intent Through ASR & NLU
![Page 15: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/15.jpg)
SMART HOME SKILL API
![Page 16: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/16.jpg)
DIRECTIVE LANGUAGE
JSON
Header
{"header": {
},"payload": {
}}
Payload
![Page 17: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/17.jpg)
DIRECTIVE - HEADER
messageId
name
{"header": {
"messageId": "unique & <128 characters","name": "directive name","namespace": "discovery|control","payloadVersion": "API version 2"},
"payload": {}
}
namespace
payloadVersion
![Page 18: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/18.jpg)
DIRECTIVE – HEADER EXAMPLE
{"header": {
"messageId": "0123456-blah-blah","name": "TurnOnRequest","namespace": "Alexa.ConnectedHome.Control","payloadVersion": "2"},
"payload": {}
}
![Page 19: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/19.jpg)
DIRECTIVE – PAYLOAD
{"header": {
"messageId": "0123456-blah-blah","name": "TurnOnRequest","namespace": "Alexa.ConnectedHome.Control","payloadVersion": "2"},
"payload": {"accessToken": "[OAuth Token here]",
"appliance": {"applianceId": "[Device ID for Kitchen Light]"
}}
}
![Page 20: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/20.jpg)
DIRECTIVE IN USE
![Page 21: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/21.jpg)
A L E X A
V O I C E
S E R V I C E
A L E X A
S K I L L S
K I T
A M A Z O N S M A R T H O M E S T O R E
( a m a z o n . c o m / s m a r t h o m e )
![Page 22: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/22.jpg)
@ckindel [email protected]
Docs, tutorials,
developer webinars,
office-hours,
and in-person events:
developer.amazon.com/alexa
![Page 23: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/23.jpg)
Remember to complete
your evaluations!
![Page 24: AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)](https://reader030.vdocuments.us/reader030/viewer/2022020301/586f85511a28ab54768b5079/html5/thumbnails/24.jpg)
Other Alexa SessionsT
hurs
day
11:30am ALX202: How Amazon is enabling the future of Automotive Venetian, Level 3, Lido
3003
1pm ALX303: Building a Smarter Home with Alexa Venetian, Level 3,
Murano 3203
3:30 ALX307: Voice-enabling Your Home and Devices with Amazon Alexa and AWS
IoT
Venetian, Level 2,
Opaline Theatre
5pm ALX302: Build a Serverless Back End for Your Alexa-Based Voice Interactions Venetian, Level 2,
Opaline Theatre
9:30am ALX304: Tips and Tricks on Bringing Alexa to Your Products Venetian, Level 1,
Marco Polo 806
11am ALX305: From VUI to QA: Building a Voice-Based Adventure Game for Alexa Venetian, Level 1,
Marco Polo 806Friday
11am ALX203: Workshop: Creating Voice Experiences with Alexa Skills: From Idea to
Testing in Two Hours
Mirage, Jamaica B
1pm ALX306: State of the Union: Amazon Alexa and Recent Advances in
Conversational AI
Venetian, Level 2,
Sands Showroom
11:30am
and
2:30pm
ALX204: Workshop: Build an Alexa-Enabled Product with Raspberry Pi Mirage, Antigua B
5pm ALX301: Alexa in the Enterprise: How JPL Leverages Alexa to Further Space
Exploration with Internet of Things
Venetian, Level 2,
Venetian B
Wednesday