Download - The Web of Things in Practice
The Web of ThingsIn practice…
Synetgies Zurich, 5.03.2009Dominique Guinard, ETH Zurich
www.guinard.org
1
Not so WoT yet..
HTTP? URI?
Browser?
HTTP? URI?
Browser?
Synetgies Zurich, 05.03.2009 Dominique Guinard, ETH Zurich, webofthings.com 2
Say Hi! to the Web of Things
IPv6(lowpan)
Synetgies Zurich, 05.03.2009 Dominique Guinard, ETH Zurich, webofthings.com 3
Web CloudWeb Cloud
ComposeCompose VisualizeVisualizeSearchSearch PhysicalMashups
Smart GatewaySmart Gateway
RESTful API
BTBT ZigbeeZigbee ……API1 API2
Web CloudWeb Cloud
ComposeCompose VisualizeVisualizeSearchSearch PhysicalMashups
Web Server
RESTful APIWeb ServerRESTful API
Web ServerEventing
RESTful Thinking (Hype?)SOA WS-* Approach• HTTP as transporter.• The comp-comp interface is
a WSDL.• User Interface?• Testing: stub generation from
a WSDL and lots of SOAP messages.
• SOA loves XML.• An App Server everywhere.• Heavy.• Through the Web.
ROA REST Approach• HTTP as service platform!• The comp-comp interface is
the URL.• The UI is the URL/browser.• Testing by typing a URL in
your browser (doable?)
• ROA loves JSON.• A Web Server everywhere.• Less heavy.• The WEB!
Synetgies Zurich, 05.03.2009 4Dominique Guinard, ETH Zurich, webofthings.com
Hardware / Software
Synetgies Zurich, 05.03.2009 5Dominique Guinard, ETH Zurich, webofthings.com
RESTful Gateway
Synetgies Zurich, 05.03.2009 6Dominique Guinard, ETH Zurich, webofthings.com
Talk to devices: The WEB Way
Synetgies Zurich, 05.03.2009 7Dominique Guinard, ETH Zurich, webofthings.com
Enable Real-World Mashups
URL
URL
URL
URL
Synetgies Zurich, 05.03.2009 Dominique Guinard, ETH Zurich, webofthings.com 8
GWT Interface
Synetgies Zurich, 05.03.2009 9Dominique Guinard, ETH Zurich, webofthings.com
Ambient Energy in 30 Minutes
Dominique Guinard, Vlad Trifa, Thomas Pham
Synetgies Zurich, 05.03.2009 10Dominique Guinard, ETH Zurich, webofthings.com
Great work! But so what?Energy• People want easy and fancy
energy monitoring tools.• The deployment seemed to
influence the office workers.• Could be a product soon
(CurrentCost, etc.).
Architecture• For an Internet of Things,
SOA is not always the right approach:
• The Web of Things alternative seems quite interesting:– Good for ad-hoc, tactical
applications.– Mashup physical devices.– Services become a part of the
web, of the cloud.
Synetgies Zurich, 05.03.2009 11Dominique Guinard, ETH Zurich, webofthings.com