A year of Web Thing Model

Post on 14-Apr-2017

523 views 0 download

Transcript of 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

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.

Web Thing Model? Aim and definition

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

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

Integration Patterns Direct – Gateway - Cloud

Direct Integration

Gateway

Cloud

2) Best Practices API Design

Best Practices

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

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

3) Models

Resources

Resources (details)

G – Gateway C – Cloud D - Device

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

Learnings From real-world deployments of the 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

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

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

The power of Web: Integration with the ecosystem!

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!

Submit or participate to the 7th WoT Workshop!

http://webofthings.org/wot

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