Internet of Things Experts Share Perspectives on Monetizing the Internet of Things
Building Blocks for the Internet of Things @ Home
-
Upload
david-janes -
Category
Technology
-
view
105 -
download
1
description
Transcript of Building Blocks for the Internet of Things @ Home
![Page 1: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/1.jpg)
Building Blocks of The Internet of Things
@ Home
Wednesday, 17 July, 13
![Page 2: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/2.jpg)
IMO
David Janes@dpjanes
[email protected]://imadeit.davidjanes.com/
July 2013
Wednesday, 17 July, 13
![Page 3: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/3.jpg)
AKA “The Intranet of Things”
Wednesday, 17 July, 13
![Page 4: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/4.jpg)
Important!
The Internet of Machinesis just
The Internet with Machines!
Wednesday, 17 July, 13
![Page 5: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/5.jpg)
The Building Blocks of the Internet @ Home?• Wi-Fi
• TCP/IP
• URLs / DNS
• HTTP
• HTML / JS / CSS
• JSON / XML
Wednesday, 17 July, 13
![Page 6: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/6.jpg)
The same tech enables The Intranet of Things
... more or less ...
Wednesday, 17 July, 13
![Page 7: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/7.jpg)
What are the issues?
• Communication
• Discovery
• Control
• Interoperability
• Security
Wednesday, 17 July, 13
![Page 8: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/8.jpg)
Communications
Wednesday, 17 July, 13
![Page 9: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/9.jpg)
Communications
• How will things talk to things?
• How will we talk to things?
Wednesday, 17 July, 13
![Page 10: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/10.jpg)
Protocols
• Wi-Fi
• TCP/IP
• HTTP
• JSON / XML ... for things to things
• HTML ... for us to things
• Bluetooth Low Energy (special case)
Wednesday, 17 July, 13
![Page 11: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/11.jpg)
Bluetooth Low Energy
• Ships in all modern iOS devices
• Ships in many new Androids
• 30m range (50m claimed)
• Coin-cell-sized devices
Wednesday, 17 July, 13
![Page 12: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/12.jpg)
BLE purpose
• for small sensors and devices
• for personal area networks
• for health stuff ... scales, heart-rate monitors, etc.
Wednesday, 17 July, 13
![Page 13: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/13.jpg)
BLE use
• Think of it as “invisible wires”
• Will be controlled...
• directly by mobile devices
• indirectly through hubs
Wednesday, 17 July, 13
![Page 14: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/14.jpg)
Discovery
Wednesday, 17 July, 13
![Page 15: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/15.jpg)
“Google for my home”
• find what’s available...
• ... and what can I do with it?
Wednesday, 17 July, 13
![Page 16: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/16.jpg)
Bonjour
• Lightweight Service Discovery
• Standard needed for specifying how to find IoT services / APIs
Wednesday, 17 July, 13
![Page 17: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/17.jpg)
Control
Wednesday, 17 July, 13
![Page 18: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/18.jpg)
APIs
• IoT devices are controlled by APIs
• URLs ... from Bonjour Discovery
• HTTP
• JSON
Wednesday, 17 July, 13
![Page 19: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/19.jpg)
REST
• URLs describe things ... not actions
• /api/light-2 ✓
• /api/light-2/off ✗
• Stateless
• ... lots of other stuff ...
Wednesday, 17 July, 13
![Page 20: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/20.jpg)
HATEOAS
• Always explicitly use URLs ... not numbers or special codes
• “devices” : [ “/api/light-1”, “/api/light-2” ] ✓
• “devices” : [ 1, 2 ] ✗
Wednesday, 17 July, 13
![Page 21: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/21.jpg)
JSON
GET /api/devices{ "devices" : [ "/api/light-1", "/api/light-2" ]}
Wednesday, 17 July, 13
![Page 22: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/22.jpg)
JSON
GET /api/light-1{ "on" : true, "brightness" : 0.5, "color" : "#FFFFFF"}
Wednesday, 17 July, 13
![Page 23: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/23.jpg)
JSON
PUT /api/light-1{ "on" : false}
Wednesday, 17 July, 13
![Page 24: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/24.jpg)
Interoperability
Wednesday, 17 July, 13
![Page 25: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/25.jpg)
Can...
• devices easily talk to each other?
• devices be controlled from one UI?
• “novel” devices be effortlessly introduced?
Wednesday, 17 July, 13
![Page 26: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/26.jpg)
Standards?
• Fine grained / line level ... not on
• Everyone always does their own thing
Wednesday, 17 July, 13
![Page 27: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/27.jpg)
But we’re almost there!
• Our standards stack gets us a long way
• i.e. Wi-Fi, HTTP, REST, HATEOAS, JSON
• We just need one last bit of translation
Wednesday, 17 July, 13
![Page 28: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/28.jpg)
The Semantic Web
• A kind of wide-open database, use what you need, infinitely extendable
• Everything described by URLs
Wednesday, 17 July, 13
![Page 29: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/29.jpg)
schema.org
• Vocabulary for describing things and products (and more)
• e.g. this is a Toshiba 42” Flatscreen TV
Wednesday, 17 July, 13
![Page 30: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/30.jpg)
iotdb.org
• A work in progress!
• Vocabulary for describing how to control IoT things
• e.g. this is a light, this can be turned on and off, this has a brightness control, this has a color
Wednesday, 17 July, 13
![Page 31: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/31.jpg)
JSON-LD
• Links JSON documents to the Semantic Web
• Too clumsy / difficult for the IoT
• Developers are not likely to adopt ...
• ... but the technique is perfect
Wednesday, 17 July, 13
![Page 32: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/32.jpg)
The Rosetta Stone
• Add a single definition term to APIs{
"@iot" : "/definitions/light", "on" : true, "brightness" : 0.5, "color" : "#FFFFFF" }
• Defines every term in the API semantically with well-known definitions
• Another work in progress!
Wednesday, 17 July, 13
![Page 33: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/33.jpg)
Security
Wednesday, 17 July, 13
![Page 34: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/34.jpg)
We Can’t...
• Hide the devices / APIs
• Make everyone log into every device
• Get this wrong!
Wednesday, 17 July, 13
![Page 35: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/35.jpg)
Considerations
• Some attributes can be read by everyone but only set by a few ... e.g. temperature
• Current implementations are bad
• AirPlay: wide open
• UPnP: broken
Wednesday, 17 July, 13
![Page 36: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/36.jpg)
Wide open
• Sorry, I’ve got nothing
• This can’t be half-baked
Wednesday, 17 July, 13
![Page 37: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/37.jpg)
Device Limitations
Wednesday, 17 July, 13
![Page 38: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/38.jpg)
Not that smart
• We need information outside the device
• e.g. Belkin WeMo: I can be on, I can be off
• There’s so much more we need to know!
Wednesday, 17 July, 13
![Page 39: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/39.jpg)
What is it really?
• Consider the WeMo
• connected to a table lamp
• connected to a space heater
• It doesn’t know!
• Same interface, effectively / collectively a very different device
Wednesday, 17 July, 13
![Page 40: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/40.jpg)
Where is it?
• Is it in the kitchen? in the living room?
• Both? ... e.g. a door open sensor
• Many? ... e.g. a HVAC subsystem
Wednesday, 17 July, 13
![Page 41: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/41.jpg)
Wide open
• Assume there’s data that needs to be “outside” the device
• But we don’t want to “go to the Internet” to control our house!
• Open problem
Wednesday, 17 July, 13
![Page 42: Building Blocks for the Internet of Things @ Home](https://reader033.fdocuments.us/reader033/viewer/2022051819/54c7aad64a7959e5308b456d/html5/thumbnails/42.jpg)
Get in touch!
David Janes@dpjanes
[email protected]://imadeit.davidjanes.com/
Wednesday, 17 July, 13