A year of Web Thing Model

23
© EVRYTHNG INC. | 2016 COMMERCIAL & CONFIDENTIAL Smarter products come with EVRYTHNG For Customers title slide A YEAR OF WEB THING MODEL Reporting on learnings from the W3C WoT submission Dom Guinard CTO & Co-founder @ EVRYTHNG @domguinard THINGS OF WEB

Transcript of A year of Web Thing Model

Page 1: A year of Web Thing Model

© EVRYTHNG INC. | 2016 COMMERCIAL & CONFIDENTIAL

Smarter products come with EVRYTHNG

For Customers title slide

A YEAR OF WEB THING MODEL Reporting on learnings from the W3C WoT submission

Dom Guinard CTO & Co-founder @ EVRYTHNG @domguinard

THINGS

OF

WEB

Page 2: A year of Web Thing Model

EVRYTHNG – WoT Platform est. 2011

MANUFACTURER & SUPPLY APPS

CONSUMER MOBILE APPS

ANY PRODUCT, CHIP, SENSOR OR TAG

BI & CMS SYSTEMS

CLOUD & SOCIAL PLATFORMS

ENTERPRISE SYSTEMS

DEVELOPER TOOL

PRODUCT CONNECTION

MANAGEMENT

INTEGRATIONS

ADMINISTRATIONS & ANALYTICS

REAL-TIME DATA MANAGEMENT

SECURITY AND ACCESS CONTROL

CLOUD PLATFORM-AS-A-SERVICE

Enterpriseclasspla-orm-as-a-servicetomanagereal-3meandfixedproductdataatlargescale,connectproductstotheWeb,anddriveconsumerandbusinessapplica3ons.

Page 3: A year of Web Thing Model

Web Thing Model? Aim and definition

Page 4: A year of Web Thing Model

Goal: an application layer for the IoT

Internet Of Things

ZigBee

Bluetooth

X10

Bacnet

enOcean

"I hate my life!"

SECURITY

LIGHTS

HEATING &COOLING

Web

Web

Web

Web

Web

Web Of Things

"Easy-peasy!"

Building Control Center

Page 5: A year of Web Thing Model

Layered Approach

1HTTP Server

2Web

Thing

3Extended Web

Thing

HTTP client

WebThing Client

Extended Web Thing Client

HTTP

HTTP & Requirements

HTTP, Requirements& WT Model

4Semantic Web

ThingSemantic WebThing Client HTTP, Requirements,

WT Model & Annotations

Protocols

Best Practices

Resourcesand Data Models

Descriptionsand

Extensions

http://model.webofthings.io http://gateway.webofthings.io

Page 6: A year of Web Thing Model

Integration Patterns Direct – Gateway - Cloud

Page 7: A year of Web Thing Model

Direct Integration

Page 8: A year of Web Thing Model

Gateway

Page 9: A year of Web Thing Model

Cloud

Page 10: A year of Web Thing Model

2) Best Practices API Design

Page 11: A year of Web Thing Model

Best Practices

§  Protocols §  Verbs §  Status codes §  JSON and content-negotiation §  Details:

-  https://www.w3.org/Submission/2015/SUBM-wot-model-20150824/#web-things-requirements

Page 12: A year of Web Thing Model

3) Models

Page 13: A year of Web Thing Model

Resources

Page 14: A year of Web Thing Model

Resources (details)

G – Gateway C – Cloud D - Device

Page 15: A year of Web Thing Model

And more...

§  Base model of Things (JSON) §  Definition of links [RFC5988] §  Semantic extensions [JSON-LD]

-  Enhance semantics: What is that Thing really? -  Schema.org

§  Subscriptions to properties (WS) §  More details:

-  https://www.w3.org/Submission/2015/SUBM-wot-model-20150824/#web-things-model

Page 16: A year of Web Thing Model

Learnings From real-world deployments of the Web Thing Model

Page 17: A year of Web Thing Model

What was next?

§  Implementation in EU projects (COMPOSE, TagItSmart, etc.) §  Reference implementation: webofthings.js -

https://github.com/webofthings/webofthings.js §  http://book.webofthings.io §  EVRYTHNG

Page 18: A year of Web Thing Model

Technical learnings

§  Need for properties and actions models §  Generate better UIs

§  Big value in a very basic common model -  Properties -  Actions -  Things -  Subscriptions

§  Useful for Cloud 2 Cloud as well §  Nest – EVRYTHNG integration

§  Actions vs Properties & desync of state §  Shadows or Actions to change properties

Page 19: A year of Web Thing Model

Other key learnings

§  Vs 100s of other “standards” -  We need a crystal clear positioning vs others -  Focus on interoperability -  Paradox: requires a common base layer (Resource model) -  Show the power of the Web integration – Social Web, Mashups, etc.

§  Protocol mappings -  Show the path to interop

Page 20: A year of Web Thing Model

The power of Web: Integration with the ecosystem!

Page 21: A year of Web Thing Model

Key learnings

§  App integration is key for dev adoption -  Anything to HTTP/WS -  HTTP/WS has become de-facto standard protocols for IoT devices

§  Significant traction -  Need for a more neutral party in the IoT (W3C!) -  Simplicity is key -  Now is the time!

Page 22: A year of Web Thing Model

Submit or participate to the 7th WoT Workshop!

http://webofthings.org/wot

Page 23: A year of Web Thing Model

Get the WoT book on Manning guinard39 (39% off) Or on Amazon Oh, and get in touch too: @domguinard @evrythng @webofthings Thanks!

http://book.webofthings.io @wotbook