Node.js, the web and the iot
-
Upload
dominique-guinard -
Category
Technology
-
view
624 -
download
0
Transcript of Node.js, the web and the iot
© EVRYTHNG INC. | 2016 COMMERCIAL & CONFIDENTIAL
Smarter products come with EVRYTHNG
For Customers title slide
NODE.JS, THE WEB AND THE IOT Bringing things to the Web, layer by layer...
Dominique Guinard CTO & Co-founder EVRYTHNG @domguinard
THINGS
OF
WEB
EVRYTHNG - Smart Products Platform
MANUFACTURER & SUPPLY
CHAIN APPS
CONSUMER MOBILE APPS
ANY PRODUCT, CHIP, SENSOR OR TAG
BI & CMS SYSTEMS
CLOUD & SOCIAL PLATFORMS
ENTERPRISE & SUPPLY CHAIN SYSTEMS
DEVELOPER TOOL
PRODUCT CONNECTION
MANAGEMENT
INTEGRATIONS
ADMINISTRATIONS & ANALYTICS
REAL-TIME DATA MANAGEMENT
SECURITY AND ACCESS CONTROL
CLOUD PLATFORM-AS-A-SERVICE
Free tier for devs: http://evrythng.com
Our Customers and Partners
3
The Web of Things has a book!
§ Encourage people to build Web connected Things − Interoperability, openness!
§ Provide an end-to-end methodology to build IoT products − For universities − For makers − For innovators − For developers − => Just the “right amount of tech!”
§ Report on our experience @W3C WoT and talk about future standards
§ On our “bucket list”!
http://book.webofthings.io
What’s inside? Bootstraping the Web of Things
Chapter 1: The Web of Things vs the Internet of Things
Chapter 2: Hands on with the WoT
devices.webofthings.io
Dom Guinard CTO & Co-founder
Chapter 3: Node.js for Embedded Devices?
§ Before: − C rules − Windows based IDEs, 1 per platform − Small community, highly specialized − Very resource constrained devices − Integration via specialized SDKs
§ After − Node.js is taking over! − Larger community, more reach, more
innovation − Huge ecosystem of libraries − Integration via the Internet and the
Web
Node on embedded devices: Hardware support
Espruino
Edison
Tessle
Artik
Kinoma
Beaglebone
Raspberry Pi (Pi Zero incl.)
Chapter 4: Getting started with IoT Devices
VS
Chapter 4: Sensors, Actuator & GPIOs
GPIO support via Node on Embedded Systems
http://johnny-five.io
https://github.com/fivdi/onoff
https://github.com/intel-iot-devkit/mraa https://cylon.js
Demo – onoff
http://ni-c.github.io/heimcontrol.js/
https://github.com/webofthings/webofthings.js
Chapter 5: The Networks
1. Physical
5. Session FTP
4. Transport TCP
3. NetworkIP (v4, v6)
7. ApplicationDNS
6. Presentation 4. Application
3. Transport
2. Network(Internet)
1. Physical (Link)
2. Data Link
IEEE 802.15.4Ethernet
MAC
UDP
HTTP
OSI Internet Protocols Suite (TCP/IP)
Wi-Fi
CoAP
6LoWPAN
ZigbeeStack
BluetoothStack
TLS SSL
XMPPMQTT
WebSocket
EnOceanStack
ThreadStack
MQTT-SN
Chapter 5: The Web of Things Architecture
http://tn.gg/JANFvB4u
Chapter 6: Basic principle: a URL & API for each Thing
Root URL ofRaspberry Pi
devices.webofthings.io/pi
actuators/actuators
LEDs/leds
LED #/{led#}
sensors/sensors
light sensor/light
temperature sensor/temperature
buttons/buttons
acceleration/accel
gyroscope/tilt
/x
/y
/z
/x
/y
/z
/1
/2
Demo – REST + WS!
Chapter 7: Integrations : Not all devices can speak HTTP and WebSocket!
Chapter 7: @EVRYTHNG: THE WoT Cloud
Demo!
Chapter 8: Web Thing Model & Semantic Web
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
Chapter 9: The Social Web of Things
AuthProxy
devices.webofthings.io:5050
HTTPStoken
192.168.1.18:8484Web Thing
Local Network /pirPassive Infrared Sensor
/tempTemperature Sensor
Social Network OAuth Authorization Server
Client App
1. Login 2. Gets Token
3. GET /temp + token
Chapter 10: Composing the real-world: Physical Mashups
http://node-red.org
http://ifttt.com
@wotbook Get the book or the kit from : http://book.webofthings.io
Dom Guinard CTO
http://dom.guinard.org http://evrythng.com
We are hiring!
Node.js Angular.js
Java @ London Old Street