node.js, the web and the iot
TRANSCRIPT
![Page 1: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/1.jpg)
© 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
![Page 2: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/2.jpg)
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
![Page 3: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/3.jpg)
Our Customers and Partners
3
![Page 4: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/4.jpg)
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
![Page 5: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/5.jpg)
What’s inside? Bootstraping the Web of Things
![Page 6: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/6.jpg)
Chapter 1: The Web of Things vs the Internet of Things
![Page 7: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/7.jpg)
Chapter 2: Hands on with the WoT
devices.webofthings.io
![Page 8: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/8.jpg)
Dom Guinard CTO & Co-founder
![Page 9: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/9.jpg)
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
![Page 10: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/10.jpg)
Node on embedded devices: Hardware support
Espruino
Edison
Tessle
Artik
Kinoma
Beaglebone
Raspberry Pi (Pi Zero incl.)
![Page 11: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/11.jpg)
Chapter 4: Getting started with IoT Devices
VS
![Page 12: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/12.jpg)
Chapter 4: Sensors, Actuator & GPIOs
![Page 13: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/13.jpg)
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
![Page 14: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/14.jpg)
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
![Page 15: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/15.jpg)
Chapter 5: The Web of Things Architecture
![Page 16: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/16.jpg)
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!
![Page 17: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/17.jpg)
Chapter 7: Integrations : Not all devices can speak HTTP and WebSocket!
![Page 18: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/18.jpg)
Chapter 7: @EVRYTHNG: THE WoT Cloud
Demo!
![Page 19: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/19.jpg)
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
![Page 20: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/20.jpg)
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
![Page 21: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/21.jpg)
Chapter 10: Composing the real-world: Physical Mashups
http://node-red.org
http://ifttt.com
![Page 22: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/22.jpg)
@wotbook Get the book or the kit from : http://book.webofthings.io
![Page 23: Node.js, the web and the iot](https://reader031.vdocuments.us/reader031/viewer/2022030216/5888a0501a28ab264b8b5c59/html5/thumbnails/23.jpg)
Dom Guinard CTO
http://dom.guinard.org http://evrythng.com
We are hiring!
Node.js Angular.js
Java @ London Old Street