A year of Web Thing Model
-
Upload
dominique-guinard -
Category
Internet
-
view
523 -
download
0
Transcript of A year of Web Thing Model
![Page 1: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/1.jpg)
© 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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/2.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/3.jpg)
Web Thing Model? Aim and definition
![Page 4: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/4.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/5.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/6.jpg)
Integration Patterns Direct – Gateway - Cloud
![Page 7: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/7.jpg)
Direct Integration
![Page 8: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/8.jpg)
Gateway
![Page 9: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/9.jpg)
Cloud
![Page 10: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/10.jpg)
2) Best Practices API Design
![Page 11: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/11.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/12.jpg)
3) Models
![Page 13: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/13.jpg)
Resources
![Page 14: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/14.jpg)
Resources (details)
G – Gateway C – Cloud D - Device
![Page 15: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/15.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/16.jpg)
Learnings From real-world deployments of the Web Thing Model
![Page 17: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/17.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/18.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/19.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/20.jpg)
The power of Web: Integration with the ecosystem!
![Page 21: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/21.jpg)
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](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/22.jpg)
Submit or participate to the 7th WoT Workshop!
http://webofthings.org/wot
![Page 23: A year of Web Thing Model](https://reader031.fdocuments.net/reader031/viewer/2022030314/5888a0271a28ab264b8b5c01/html5/thumbnails/23.jpg)
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