aws re:invent 2016: voice-enabling your home and devices with amazon alexa and aws iot (alx307)
TRANSCRIPT
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ALX307
Voice-Enabling Your Home
and Devices with Amazon Alexa
and Brookfield Residential A Deep Technical Dive into Alexa and AWS IoT
Presented By:
Mark Gregas
Brookfield
Residential
Director of IT
Nathan Grice
Senior Solutions
Architect
Amazon Alexa
Smart Home
Bringing Voice-Enabled
Home Automation
to the Masses
Who is Brookfield Residential?
● Leading North American Homebuilder
and Land Developer
● 12 Major Markets
● 50+ Years of Experience
Creating the
Best Places to Call Home
Innovation
Brookfield Residential Concept Homes
2008
The Hybrid Home
2009
The Energy
Lab Home
2015
The PureBlue Home
Built for a Typical American Family
Voice-Enabled Home Automation
Home Security Garage Door Ceiling FansWindow Blinds
Voice-Enabled Home Automation
Indoor and Outdoor
Lighting
Heating and
Air Conditioning
Fireplace Energy
Consumption
Voice-Enabled Home Automation
Schedule
Reminders
Home
Entertainment
Wi-Fi-Enabled
Appliances
Lawn Sprinklers
Creating a Virtual Sales Manager
● “Alexa, Ask Brookfield to tell me about The Smart Home”
● “Alexa, Ask Brookfield to tell me about Brookfield Residential”
● “Alexa, Ask Brookfield to tell me about this Community”
“Alexa, turn on Let’s Relax”
● Blinds Lower in Owner’s Bath Suite
● Overhead Lights Dim
● Overhead Star Panels Illuminate
● LED Candles Light Up
● Soothing Spa Music Plays
Criteria for Selecting Products
● Native Technology
● Nothing Complicated
● Off the Shelf
● Affordable
● Alexa Compatible
Why CAT 6/POE?
● Better Way to Power Devices
● Data and Power in One Cable
● Providing Greater Bandwidth
● Leader in the Market
● Better Connectivity
● Better Integration
● Supports Nearly 10,000 Consumer Devices
Key Vendor Partners
Oversight
and Consulting
Custom Skills
Programming
Alexa Skills
Programming
Home Security
and Wiring
Future-Proofing
● Additional CAT 6 Wires and Switches
● High-End Wireless Access Points
● Conduit for Future Solar Panels
● Pre-Wiring for Speakers in Ceiling
The Future Is Unlimited.
Develop It.
Make It Happen.
B U I L D I N G V O I C E E X P E R I E N C E SNathan Grice, Smart Home Solutions Architect Amazon Alexa
Components of a Smart Home partner solution
Alexa Smart Home
Skill
Device Cloud Devices
Alexa Skills
Flash Briefing Custom skills Smart Home skillsAudio Player
Smart Home
• Unified experience across
partner devices
• Language model is defined for
you
• Support for Lights, Switches,
Thermostats, AC Units, Fans
and Scenes
Alexa Skills – Smart Home vs. Custom
Custom
• Unique experience created by
the skill developer
• Developer and UX team
responsible for language
model and interactions
• Support custom devices or
existing smart home devices
with unique functionality
“Alexa, turn on the lights” “Alexa, ask Rachio to water zone one”
Our 3 components
Alexa Smart Home
Skill
Device Cloud Devices
Raspberry Pi 3 Smart Home API Skill AWS IoT
Deep Dive on the device
Control DeviceDevice
Raspberry Pi 3 Controller for your power Lamp (from Italy)
Device Cloud = AWS IoT
Device Cloud Things
• Create thing type or single thing
using the console or AWS CLI
• Things contain gettable/settable
properties known as thing
shadows
• Thing Shadows are JSON
properties reflecting last known
state, regardless of current
connected state of physical
device
Alexa Smart Home Skill – Lamp Controller
• Run in AWS Lambda
• Need to support device discovery
• Need to support device control
SKILL CODE
Skill Code
Discovery
Control
Skill Code – handleDiscovery()
Skill Code – handleControl()
Skill Code – updateIoTDevice()
AWS IoT CONSOLE
AWS IoT – Create Thing
AWS IoT – Thing Shadow
PI CODE
Raspberry Pi - reinvent.js
DEMO
Call Flow
DeviceUser Alexa
ServiceDevice Cloud
“Alexa, turn on the lamp”
TurnOnRequest
(applianceId)updateIoTDevice(‘on’)
”Ok”
AWS Lambda
mp3
TurnOnConfirmation
thingShadows.on
(‘foreignStateChange’)
Add more things
Alexa Smart Home
Skill
Device Cloud Devices
Your
environmentSmart Home API Skill AWS IoT
+
+
+
“Alexa, turn on Let’s Relax”
● Blinds Lower in Owner’s Bath Suite
● Overhead Lights Dim
● Overhead Star Panels Illuminate
● LED Candles Light Up
● Soothing Spa Music Plays
Thank you!
Mark Gregas
Brookfield
Residential
Director of IT
Nathan Grice
Senior Solutions
Architect
Amazon Alexa
Smart Home
Thank you!
Github: https://github.com/ngrices/reinvent2016
Twitter: @AlexaDevs
Remember to complete
your evaluations!