![Page 1: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/1.jpg)
IOTDB.org•
The Internet of Things Database
Thursday, 3 April, 14
![Page 3: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/3.jpg)
#iotdb
Thursday, 3 April, 14
![Page 4: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/4.jpg)
10,000 ft view
Thursday, 3 April, 14
![Page 5: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/5.jpg)
“Control the World”
• “Turn off all the lights in the basement”
• “Heat the stove to 350°F”
• “I’m going to bed” - turn of the lights, close the blinds, set the “at home” alarm
• “Watch Apple TV” - turn on the TV, set to HDM12, turn on Apple TV
Thursday, 3 April, 14
![Page 6: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/6.jpg)
Solve “the Basket Full of Remotes Apps
Problem”
Thursday, 3 April, 14
![Page 7: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/7.jpg)
Thursday, 3 April, 14
![Page 8: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/8.jpg)
The IOTDB Database
• The IOTDB describes:
• how to control things
• what things are
• where things are
• … and eventually more
Thursday, 3 April, 14
![Page 9: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/9.jpg)
IOTDB Code
• Uses the IOTDB Database
• Cross platform
• Node, iOS, Android, Python...
Thursday, 3 April, 14
![Page 10: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/10.jpg)
Main Concepts
Thursday, 3 April, 14
![Page 11: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/11.jpg)
Models
• A shared descriptions of things
• A Phillips Hue
• A WeMo
• A Bluetooth Smart kettle
• GitHub like updating model
Thursday, 3 April, 14
![Page 12: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/12.jpg)
Places
• Where I put things
• Unique to me
• Lightly structured
• My Bedroom on the 2nd floor
• The kitchen
Thursday, 3 April, 14
![Page 13: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/13.jpg)
Devices
• Unique to me
• Actual things - with a Model and Place(s)
• My Phillips Hue, in the front porch
• My Bluetooth Kettle, in the kitchen
Thursday, 3 April, 14
![Page 14: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/14.jpg)
Attributes
• A vocabulary of how to control devices
• “on” - turn it on or off
• “channel” - the channel
• “temperature”…
• Also sensing and notification
Thursday, 3 April, 14
![Page 15: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/15.jpg)
Facets
• A vocabulary of what devices do
• lighting
• climate control / heating / cooling
• appliance
• toy
• …
Thursday, 3 April, 14
![Page 16: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/16.jpg)
“me” / my account
• Everyone gets their own IOTDB account which describes “their world”
• Share your world with others in a controlled fashion
Thursday, 3 April, 14
![Page 17: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/17.jpg)
What it does
Thursday, 3 April, 14
![Page 18: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/18.jpg)
Warning!Pseudocode
• This is what developers see
• End users will get apps, programs…
• Names starting with “_” are shorthands (don’t worry about it too much!)
Thursday, 3 April, 14
![Page 19: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/19.jpg)
“Turn off the lights in the Kitchen”
iot .things() .room(“Kitchen”) .select(“lighting”) .set(“_on”, false)
Thursday, 3 April, 14
![Page 20: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/20.jpg)
“Put the stove to 350”
iot .things() .named(“Kitchen Oven”) .set( “_temperature”, _fahrenheit(350) )
Thursday, 3 April, 14
![Page 21: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/21.jpg)
Describes data
• pulse means heartbeats per second
• speed is speed in km/h
{ “pulse”: 130 “speed”: 6.7}
Thursday, 3 April, 14
![Page 22: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/22.jpg)
What IOTDB is not
Thursday, 3 April, 14
![Page 23: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/23.jpg)
Not a cloud service!
• The IOTDB doesn’t control things … it describes how to control things
• but we has software to use these descriptions
Thursday, 3 April, 14
![Page 24: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/24.jpg)
Not (another) protocol!
• There’s lots of great protocols and efforts out there
• MQTT, CoAP, …
• Allseen, SkyNet, …
• Bluetooth Smart, ZigBee, Z-Wave
• The world doesn’t need another
Thursday, 3 April, 14
![Page 25: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/25.jpg)
Thursday, 3 April, 14
![Page 26: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/26.jpg)
Not just about the home
• Can describe anything you want
• The power of Linked Data
• Everything is IRIs
Thursday, 3 April, 14
![Page 27: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/27.jpg)
Not Magic
• Something still has to do the heavy lifting!
• IOTDB describes how to operate things
• Software does the work (send Bluetooth or ZigBee messages, UPnP connects, etc.)
• Batteries included - we provide code
Thursday, 3 April, 14
![Page 28: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/28.jpg)
Demos
Thursday, 3 April, 14
![Page 29: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/29.jpg)
Connected OrphanageHome
Thursday, 3 April, 14
![Page 30: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/30.jpg)
IOTDB website
Thursday, 3 April, 14
![Page 31: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/31.jpg)
What Problems Does IOTDB Solve?
Thursday, 3 April, 14
![Page 32: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/32.jpg)
Description
• Solid semantic description of all Things
• what it does
• how is does it
• where it is
• Interfaces can be built by Introspection
Thursday, 3 April, 14
![Page 33: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/33.jpg)
Discovery
• Very tricky identity issues
• MAC address availability
• BLE UUID: vendors don’t play by rules
• Same IP on different NATted LANs
Thursday, 3 April, 14
![Page 34: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/34.jpg)
Integration
• “Bypass Standards” - we’re in the Internet Video era
• This is how we solve the “Basket of Remotes” issue
Thursday, 3 April, 14
![Page 35: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/35.jpg)
Composite Objects
• e.g. a Stove consists of many sub-things
• 4 burners
• a clock
• an oven
• an oven light
Thursday, 3 April, 14
![Page 36: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/36.jpg)
Cross-platform
• Models encapsulate in JSON-LD how things work (&c)
• a small amount of glue JavaScript needed
• intended to go to mobile, especially Android & iOS
Thursday, 3 April, 14
![Page 37: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/37.jpg)
Distribution
• Everything can be downloaded at will
• including Models!
• Models can be forked & merged
• github model
• Everyone controls their own “worldview”
Thursday, 3 April, 14
![Page 38: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/38.jpg)
What I’m looking for
Thursday, 3 April, 14
![Page 39: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/39.jpg)
IOT Enthusiasts
• Owners of WeMos, Lutrons, Bluetooth Smart, Quantified Self, SmartThings, …
• Looking to try something new
• People who are comfortable with Node
Thursday, 3 April, 14
![Page 40: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/40.jpg)
Hardware Makers
• Who don’t want to write apps
Thursday, 3 April, 14
![Page 41: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/41.jpg)
Community
• People passionate about the IOT
• Developers who want to work with (or with me)
Thursday, 3 April, 14
![Page 42: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/42.jpg)
Where this going
Thursday, 3 April, 14
![Page 43: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/43.jpg)
IOTDB.org website
• Alpha - users by invite only
• Beta - wider (but controlled) release
Thursday, 3 April, 14
![Page 44: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/44.jpg)
Software
• Node-JS Release
• Desktop Application
• Android
• iOS
Thursday, 3 April, 14
![Page 45: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/45.jpg)
There’s far more to the IOTDB than this
…for another time
Thursday, 3 April, 14
![Page 46: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/46.jpg)
There’s far more to the IOTDB than this
…
Thursday, 3 April, 14
![Page 47: IOTDB Overview - Semantic Web Meetup March 2014](https://reader034.vdocuments.us/reader034/viewer/2022051818/5494205fb47959474d8b4a1d/html5/thumbnails/47.jpg)
#iotdb
Thursday, 3 April, 14