Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WoT Web Thing Model @ W3C

1,809 views

Published on

In a nutshell the Web Thing Model is a cookbook for integrating Things to the Web and in particular to HTTP, WebSocket, JSON and JSON-LD. It was built to give recommendations about 4 main areas: Protocols, Best Practices, Resources and Data Model and Semantic Extensions.

Published in: Technology
  • Be the first to comment

WoT Web Thing Model @ W3C

  1. 1. © EVRYTHNG INC. | 2016 COMMERCIAL & CONFIDENTIAL Smarter products come with EVRYTHNG For Customers title slide WOT, W3C & THE WEB THING MODEL A sneak peak at WoT’s happening at W3C... Dom Guinard CTO & Co-founder @ EVRYTHNG @domguinard
  2. 2. Today’s Menu  W3C WoT IG intro  Web Thing Model  WoT IG Documents
  3. 3. W3C WoT IG WoT Activities @ W3C
  4. 4. WoT: 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
  5. 5. W3C WoT IG  2007: Webofthings.org community started  2009: 1st peer-reviewed WoT paper: Towards the Web of Things published  2010: 1st International Workshop on the Web of Things (WoT 2010)  June 2014: First W3C WoT Workshop @Berlin  Early 2015: W3C Web of Things Interest Group is formed: explore  August 2015: W3C Submission Web Thing Model published  Early 2016: IG Reference Docs published  June 2016: WoT book published  December 2016: WoT Working Group formed: standardize
  6. 6. Web Thing Model First W3C WoT Submission
  7. 7. Layered Approach 1 HTTP Server 2 Web Thing 3 Extended Web Thing HTTP client Web Thing Client Extended Web Thing Client HTTP HTTP & Requirements HTTP, Requirements & WT Model 4 Semantic Web Thing Semantic Web Thing Client HTTP, Requirements, WT Model & Annotations Protocols Best Practices Resources and Data Models Descriptions and Extensions http://model.webofthings.io http://gateway.webofthings.io
  8. 8. 1) Integration Patterns Direct – Gateway - Cloud
  9. 9. Direct Integration
  10. 10. Gateway
  11. 11. Cloud
  12. 12. 2) Web Thing Requirements API Design Guidelines
  13. 13. Best Practices: RESTful Architecture  Protocols – HTTP & Websocket + URL  Verbs – GET, PUT, POST, DELETE  Status codes – 200, 400, 500  Content-negotiation – JSON & HTML (root)  Details: − https://www.w3.org/Submission/2015/ SUBM-wot-model-20150824/#web- things-requirements Root URL of Raspberry Pi devices.webofthings.io/ pi actuators / actuators LEDs / leds LED # / {led#} sensors / sensors light sensor / light temperature sensor / temperature buttons / buttons acceleration / accel gyroscope / tilt / x / y / z / x / y / z / 1 / 2 http://tn.gg/JAN FvB4u
  14. 14. 3) Models
  15. 15. Resources
  16. 16. And more...  Base model of Things (JSON)  Definition of links [RFC5988]  Semantic extensions [via 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
  17. 17. W3C WoT IG Architecture Architecture & Current Practices Document
  18. 18. W3C WoT IG Architecture = Integration Patterns of Web Thing Model
  19. 19. Thing Description (TD): Semantic Model of a Thing = Model part of Web Thing Model but JSON-LD only
  20. 20. Protocol Binding: Binding the Model to Protocols  How to map the Interaction Model to different protocols?  HTTP, BacNet, CoAP, MQTT, Websocket  Protocol bindings implementations modules Web Thing Model asks for HTTP & WS (somewhere)
  21. 21. Scripting API: Discover and interact via scripting DSL
  22. 22. Useful links & Sources  Web of Things community: http://webofthings.org  Web of Things W3C IG: https://www.w3.org/WoT/  W3C submission Web Thing Model: http://model.webofthings.io/  WoT book: http://book.webofthings.io  Web of Things WoT IG architecture: https://w3c.github.io/wot/architecture/w ot-architecture.html  WoT IG current practices: http://w3c.github.io/wot/current- practices/wot-practices.html  W3C WoT GitHub: https://github.com/w3c/wot/ http://book.webofthings.io @wotbook @domguinard

×