Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to...

27
Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek Austin 2019 Joss Scholten CTO & Co-founder

Transcript of Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to...

Page 1: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

Bring the Home to Life

1

Building APIs that enable Interoperability in the Smart Home DeveloperWeek Austin 2019

Joss Scholten CTO & Co-founder

Page 2: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

Everything in the home is getting smarter

2

Page 3: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

3

815 million smart home shipments globally in 2019

Page 4: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

4 4

Yonomi is the Simple Smart Home Integration Platform

Yonomi App Best in class home

automation experience

ThinCloud Lightweight, scalable,

secure IoT device backend

Yonomi One Smart Home integration

and automation

Page 5: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

The Yonomi Device Ecosystem

250+ Devices

We have a growing device ecosystem of over 250 devices, and growing by 5-10 devices per month.

5

Page 6: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

Best in class home automation experience for consumers

350K+ Users

1.5M+ Connected

Devices

950K+ Routines

6

Page 7: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

The Yonomi App

• Connects to 120+ devices

• Built on the Yonomi One Platform

• Automatic device discovery

• Automate across many devices

• No additional hub required

Demonstrating the power of the Yonomi One Platform

7

Page 8: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

4 Key Challenges for Smart Home Products

8

Page 9: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

1.6 billion shipped

smart home devices

by 2023

9

Voice Assistant integrations with Google Assistant and Alexa

Secure and reliable cloud connections

Broadly interoperable ecosystems

Smart Home Product Must Haves

IDC predicts voice assistants will be the cornerstone of the smart home.

1.6 billion shipped smart home devices by 2023*

For Consumers

Page 10: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

Cloud Backend for Consumer IoT

10

● Purpose-built for consumer IoT using AWS serverless architecture

● Pre-integrated to Amazon Alexa and Google Assistant

● Support for rapid 3rd-party Integrations ● Rich user management and messaging ● Low and predictable cloud costs

Page 11: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

A powerful engine for apps and services to integrate with the smart home.

11

● Automatic device discovery

● 3rd-party account authentication

● Standardized device control

● Device state querying

● Scene execution and support

● Devicetypes, Traits, & Archetypes

Page 12: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

12

Page 13: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

13

Page 14: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

The Connected Home Virtuous Cycle

14

The Mission

The Yonomi App Designed for End-Users

Lower barriers to innovation in the smart home.

Yonomi ThinCloud For Device Makers

Yonomi One For App and Service Innovators

Page 15: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

15

xkcd.com

Page 16: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

16

Building APIs for the Smart Home

External Platform APIs

Integration APIs

Page 17: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

17

Authentication

Data & Real-time Events

Privacy & Security

Standardization

API Design

Key Components for Smart Home APIs

Page 18: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

18

API Design For the Smart Home.. and more

● REST, GraphQL APIs ○ Flexible ○ No over/under fetching data ○ Data validation & type checking ○ Permissions & Scopes

● Consistent Payloads ● Useful, clean error messages ● Stateless, Object oriented ● Versioning, scopes, permissions

Page 19: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

19

● Surprise! More than one standard available for representing devices ○ OCF, dotdot, IoTivity, Alexa,

Google, Samsung, Yonomi… ● Standardize command & state ● Actions & States ● Events & Conditions ● Traits & Archetypes

Standardization Device Normalization

Page 20: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

20

Problem Similar devices from different brands generate data in dissimilar formats

Solution Normalize data of similar types so service providers can more easily collect and analyze it

Standardization Data Normalization

Page 21: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

21

Traits Devices can be represented by a combination of common traits. Archetypes Additional metadata can be provided by categorizing types of devices -- e.g. lightbulbs, locks, thermostats, etc.

Traits & Archetypes

Page 22: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

22

● Standardization across inconsistent APIs

● Performance vs. Ease of Use ● Unreliable & changing 3rd-party

APIs ● Intermittent or unreliable data ● Dynamic parameters & options ● Limits on data access

Challenges

Page 23: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

23

Mistakes & Lessons learned Maintain client & platform

metadata separation

Use strongly typed models & schemas

Have empathy for multiple use cases & experiences

Build lightweight clients

Page 24: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

Future of the Smart Home Consumer expectations start driving product requirements

Their privacy &

security beliefs to

be honored and

companies to

provide visibility in

to both

All devices should

have some level of

connectedness

Devices must work together

and be interoperable.

They have control

of their devices

and who they work

(or don’t work)

with

They have some

level of end-of-life

protection ahead

of time.

1 2 3

4 5

Page 25: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

25

Key Smart Home Trends

Page 26: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

Bring the Home to Life

26

We’re Hiring! yonomi.co/careers

Page 27: Building APIs that enable Interoperability in the Smart Home · 2019-11-22 · Bring the Home to Life 1 Building APIs that enable Interoperability in the Smart Home DeveloperWeek

Bring the Home to Life

27

Thank you! Joss Scholten https://yonomi.co linkedin.com/in/jossscholten [email protected]