aws re:invent 2016: voice-enabling your home and devices with amazon alexa and aws iot (alx307)

48
© 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

Upload: amazon-web-services

Post on 16-Apr-2017

804 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

© 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

Page 2: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Presented By:

Mark Gregas

Brookfield

Residential

Director of IT

Nathan Grice

Senior Solutions

Architect

Amazon Alexa

Smart Home

Page 3: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)
Page 4: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Bringing Voice-Enabled

Home Automation

to the Masses

Page 5: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Who is Brookfield Residential?

● Leading North American Homebuilder

and Land Developer

● 12 Major Markets

● 50+ Years of Experience

Page 6: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Creating the

Best Places to Call Home

Page 7: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Innovation

Page 8: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Brookfield Residential Concept Homes

2008

The Hybrid Home

2009

The Energy

Lab Home

2015

The PureBlue Home

Page 9: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Built for a Typical American Family

Page 10: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)
Page 11: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)
Page 12: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Voice-Enabled Home Automation

Home Security Garage Door Ceiling FansWindow Blinds

Page 13: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Voice-Enabled Home Automation

Indoor and Outdoor

Lighting

Heating and

Air Conditioning

Fireplace Energy

Consumption

Page 14: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Voice-Enabled Home Automation

Schedule

Reminders

Home

Entertainment

Wi-Fi-Enabled

Appliances

Lawn Sprinklers

Page 15: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

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”

Page 16: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

“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

Page 17: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Criteria for Selecting Products

● Native Technology

● Nothing Complicated

● Off the Shelf

● Affordable

● Alexa Compatible

Page 18: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Why CAT 6/POE?

● Better Way to Power Devices

● Data and Power in One Cable

● Providing Greater Bandwidth

Page 19: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

● Leader in the Market

● Better Connectivity

● Better Integration

● Supports Nearly 10,000 Consumer Devices

Page 20: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Key Vendor Partners

Oversight

and Consulting

Custom Skills

Programming

Alexa Skills

Programming

Home Security

and Wiring

Page 21: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Future-Proofing

● Additional CAT 6 Wires and Switches

● High-End Wireless Access Points

● Conduit for Future Solar Panels

● Pre-Wiring for Speakers in Ceiling

Page 22: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

The Future Is Unlimited.

Develop It.

Make It Happen.

Page 23: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)
Page 24: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

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

Page 25: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Components of a Smart Home partner solution

Alexa Smart Home

Skill

Device Cloud Devices

Page 26: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Alexa Skills

Flash Briefing Custom skills Smart Home skillsAudio Player

Page 27: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

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”

Page 28: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Our 3 components

Alexa Smart Home

Skill

Device Cloud Devices

Raspberry Pi 3 Smart Home API Skill AWS IoT

Page 29: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Deep Dive on the device

Control DeviceDevice

Raspberry Pi 3 Controller for your power Lamp (from Italy)

Page 30: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

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

Page 31: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Alexa Smart Home Skill – Lamp Controller

• Run in AWS Lambda

• Need to support device discovery

• Need to support device control

Page 32: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

SKILL CODE

Page 33: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Skill Code

Discovery

Control

Page 34: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Skill Code – handleDiscovery()

Page 35: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Skill Code – handleControl()

Page 36: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Skill Code – updateIoTDevice()

Page 37: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

AWS IoT CONSOLE

Page 38: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

AWS IoT – Create Thing

Page 39: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

AWS IoT – Thing Shadow

Page 40: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

PI CODE

Page 41: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Raspberry Pi - reinvent.js

Page 42: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

DEMO

Page 43: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Call Flow

DeviceUser Alexa

ServiceDevice Cloud

“Alexa, turn on the lamp”

TurnOnRequest

(applianceId)updateIoTDevice(‘on’)

”Ok”

AWS Lambda

mp3

TurnOnConfirmation

thingShadows.on

(‘foreignStateChange’)

Page 44: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Add more things

Alexa Smart Home

Skill

Device Cloud Devices

Your

environmentSmart Home API Skill AWS IoT

+

+

+

Page 45: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

“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

Page 46: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Thank you!

Mark Gregas

Brookfield

Residential

Director of IT

Nathan Grice

Senior Solutions

Architect

Amazon Alexa

Smart Home

Page 47: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Thank you!

Github: https://github.com/ngrices/reinvent2016

Twitter: @AlexaDevs

Page 48: AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT (ALX307)

Remember to complete

your evaluations!