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.js - WoT App. Framework for Open Source Hardware

2,309 views

Published on

Talk on WebAppsCamp. WoT.js is one of application framework based on node.js with open source hardware. It's a short introduction about WoT.js framework.

Published in: Internet
  • Hey guys! Who wants to chat with me? More photos with me here 👉 http://www.bit.ly/katekoxx
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

WoT.js - WoT App. Framework for Open Source Hardware

  1. 1. WoT.js WoT App. Framework for Open Source Hardware ETRI Protocol Engineering Center Jonathan Jeon (hollobit@etri.re.kr)
  2. 2. 2 Open Source Hardware & DIY IoT
  3. 3. 3 Open Source Hardware & DIY IoT
  4. 4. 4 Q1: Web Technology for Small Connected Things ? Half of connected devices will be small IoT devices (how we can bring those devices into the web ecosystem) We need to consider these small devices
  5. 5. 5 Q2: How to make Simple WoT Architecture Web Resources RESTful Small device Small device What kind of request ? What kind of response ? Do we need to use HTML/CSS markup ? which kind of web client do we need ? Web Connectivity Control purpose (for automatize interaction) Client/Server Client/Server
  6. 6. 6 WoT Application Framework for Open Source Hardware Start Target : Open Source Hardware Goal : JavaScript based Simple WoT App Framework
  7. 7. 7 Open Source HardwareWoT Sensor/Actuator/Thing WoT Application Ethernet WiFi USB WoT Application Framework  Javascript based framework  Device management  Application lifecycle management  Integrated Cloud service  On device web portal server  HTML5 based application  AngularJS based powerful web application  Read & Write sensor device Web Application  Temperature  Humidity  Light  Switch  etc Sensors Sensor Gateway + Web Application Conceptual Model  WoT.js (= WoT Application Framework) 1-Wire GPIO UART I2C BLE
  8. 8. 8 Frameworks WoT.js = node.js : commonJS engine + express.js : Web server + sensor.js : sensor driver framework + angular.js : Web app framework
  9. 9. 9 Use Cases & Architecture Model UA Device Sensors Device Device Device Server Web Resources R2 R1 R3 R4 R5 R6 WoT.js R7 UA: User Agent R1~R6: Requirements Int-1~Int-5: Interfaces WOTR-1 WOTR-2 WOTR-3 WOTR-4 WOTR-5Event Trigger R8 Cloud
  10. 10. 10 Use Cases & Scenarios  UA, Device  UA, Device, Sensor  UA, Device, Servers(…)  UA, Device, Sensor, Servers(…)  UA, Device, Sensor, Servers(…), Things  Event, Device ….  Event, Device …. User(UA)  Sensor, Device, … User(UA)  Things, Device, … User(UA)  Servers(…), Device, … User(UA)
  11. 11. 11 Architectural Components  Node.js based: support multiplatform and HW  Sensor API: Easy sensing and accessing sensor H/W  Middleware: support development of web application Node Package Modules Sensor APIs Sensor drivers dht11 gps Infrared Actuator drivers LED power on/off Actuator APIsMiddleware WoT Application Framework WoT Applications Sensor Data Transfer Protocol (REST, MQTT, etc.) Wireless Sensor Network (Bluetooth, Zigbee, etc.) WoT.js
  12. 12. 12 Pros. : Easy  Any JS developer can be develop the WoT Application easily
  13. 13. 13 Pros: Standards  WoT Transfer Protocol  wottp://[{gateway}]/{sensor network}[:{bus id}]/{address}/{sensor model}/{sensor id} • Example  wottp:///w1/28-00000xxxxxx/ds18b20/28-00000xxxxxx  wottp:///gpio/22/singleled/r222  WoT Data Modeling  Example { status: 'ok', id: 'dht22-xxxxxx', result: { temperature: 26.9, humidity: 51.5 } , time: 1377605409847 // optional }
  14. 14. 14 Open Source Plan  License Model  MIT License (or extension)  WoT.js web page  Source/Community Management  Github  Distribution / Installation  Using NPM install via NPMJS  Governance model  Open
  15. 15. Demo
  16. 16. 16 Web of Things Demo Scenario BBB BBB BBB WoT.js Default IoT Cloud Gateway LCD Temperature Humidity Ambient LightLED Temperature Ambient Light Door Open IP Camera Switching hub Power WiFi Dongle BLE Dongle BBB WoT.js Temp. Humi. WiFi Dongle Power Manager BLE Sensor Web of Things WoT Web App ETRI Panel Table
  17. 17. 17 JongHong Jeon (hollobit@etri.re.kr) +82-42-860-5333 http://mobile2.tistory.com/m http://twitter.com/hollobit

×