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

Post on 12-Jun-2020

3 views 0 download

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

Bring the Home to Life

1

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

Joss Scholten CTO & Co-founder

Everything in the home is getting smarter

2

3

815 million smart home shipments globally in 2019

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

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

Best in class home automation experience for consumers

350K+ Users

1.5M+ Connected

Devices

950K+ Routines

6

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

4 Key Challenges for Smart Home Products

8

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

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

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

12

13

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

15

xkcd.com

16

Building APIs for the Smart Home

External Platform APIs

Integration APIs

17

Authentication

Data & Real-time Events

Privacy & Security

Standardization

API Design

Key Components for Smart Home APIs

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

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

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

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

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

23

Mistakes & Lessons learned Maintain client & platform

metadata separation

Use strongly typed models & schemas

Have empathy for multiple use cases & experiences

Build lightweight clients

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

25

Key Smart Home Trends

Bring the Home to Life

26

We’re Hiring! yonomi.co/careers

Bring the Home to Life

27

Thank you! Joss Scholten https://yonomi.co linkedin.com/in/jossscholten joss@yonomi.co