29
© EVRYTHNG INC. | 2016 COMMERCIAL & CONFIDENTIAL Smarter products come with EVRYTHNG For Customers title slide BUILDING THE WEB OF THINGS ....and writing a book about it J Dominique Guinard Vlad Trifa THINGS OF WEB

Web of Things Book Launch

Embed Size (px)

Citation preview

Page 1: Web of Things Book Launch

© EVRYTHNG INC. | 2016 COMMERCIAL & CONFIDENTIAL

Smarter products come with EVRYTHNG

For Customers title slide

BUILDING THE WEB OF THINGS ....and writing a book about it J

Dominique Guinard Vlad Trifa

THINGS

OF

WEB

Page 2: Web of Things Book Launch

Let’s create a book from our PhDs!!!!!

yeah…right...

Page 3: Web of Things Book Launch

Writing a book is a long process...

• Packtrefusesourproposal• Manningcontactsus

Nov.2014Proposal

• Contractssigned• Firstchapterdelivered

Dec.2014Start

• 1/3review,20reviewers• MEAPlaunched

March20151streview

Techreview,etc.

January.2016

FulltextwriMen

• Images,code,etc.• Launchofsecondbook

April2016ProducRon

18monthaTerstart!

June2016Launch!

Page 4: Web of Things Book Launch

Why writing 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”!

Page 5: Web of Things Book Launch

What’s inside? Bootstraping the Web of Things

Page 6: Web of Things Book Launch

The Smart Hotel Today – Aka the IoT in 2016

Page 7: Web of Things Book Launch

Today’s IOT Problem

Internet Of Things

ZigBee

Bluetooth

X10

Bacnet

enOcean

"I hate my life!"

SECURITY

LIGHTS

HEATING &COOLING

Page 8: Web of Things Book Launch

Chapter 1: Solution is the WoT (i.e. the IoT for the masses!)

Internet Of Things

ZigBee

Bluetooth

X10

Bacnet

enOcean

"I hate my life!"

SECURITY

LIGHTS

HEATING &COOLING

Web

Web

Web

Web

Web

Web Of Things

"Easy-peasy!"

Building Control Center

Page 9: Web of Things Book Launch

Chapter 2: Hands on with the WoT

devices.webofthings.io

Page 10: Web of Things Book Launch

Dom Guinard CTO & Co-founder

Page 11: Web of Things Book Launch

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 12: Web of Things Book Launch

Chapter 4: Sensors, Actuator & GPIOs

Page 13: Web of Things Book Launch

Chapter 5: The Network

Page 14: Web of Things Book Launch

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: Web of Things Book Launch

Chapter 5: The Web of Things Architecture

Page 16: Web of Things Book Launch

Layer 1 - Access

NetworkedThings

Bluetooth ZigBeeQRNFC

Beacons6LoWPAN Thread Wi-FiEthernet

3/4/5 G

JSONHTMLHTTP

URI / URL

Layer 1ACCESS

REST API

ProxyWeb Hooks WebSockets

Gateway MQTTCoAP

Page 17: Web of Things Book Launch

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 18: Web of Things Book Launch

Chapter 7: Integrations : Not all devices can speak HTTP and WebSocket!

Page 19: Web of Things Book Launch

Chapter 7: @EVRYTHNG: THE WoT Cloud

Demo!

Page 20: Web of Things Book Launch

Layer 2 - Find

NetworkedThings

Bluetooth ZigBeeQRNFC

Beacons6LoWPAN Thread Wi-FiEthernet

3/4/5 G

JSONHTMLHTTP

URI / URL

Layer 1ACCESS

REST API

ProxyWeb Hooks WebSockets

Gateway MQTTCoAP

Layer 2FIND Link Header

HATEOASSchema.org Linked Data

JSON-LDREST Crawler

Search enginesRDFa

Semantic Web

Web Thing Model

mDNS

Page 21: Web of Things Book Launch

Chapter 8: The Findability Problem

Page 22: Web of Things Book Launch

Layer 3 - Share

NetworkedThings

Bluetooth ZigBeeQRNFC

Beacons6LoWPAN Thread Wi-FiEthernet

3/4/5 G

JSONHTMLHTTP

URI / URL

Layer 1ACCESS

REST API

ProxyWeb Hooks WebSockets

Gateway MQTTCoAP

Layer 2FIND Link Header

HATEOASSchema.org Linked Data

JSON-LDREST Crawler

Search enginesRDFa

Semantic Web

Web Thing Model

mDNS

Layer 3SHARE

Social WoT

Social Networks

OAuthDelegated

Authentication

API Tokens TLS DTLS

Encryption

JWT PKI

Page 23: Web of Things Book Launch

Chapter 9: Securing the WoT

Problem 2. Am I really talking to the

heater? Or to a fake device trying to steal my

passwords?

Problem 3. Is it really Lena who sent me

this request? If so, is she allowed to change my

temperature?

Yo Heater!Set Temperature to 10° C

Lena's Mobile AppHeater Unit

Problem 1. Am I sure that no one can see the message I

am sending to the heater?

HUH ???

Attacker Sniffing Network Packets

Page 24: Web of Things Book Launch

Chapter 9: The Social Web of Things

Page 25: Web of Things Book Launch

Layer 4 - Compose

NetworkedThings

Bluetooth ZigBeeQRNFC

Beacons6LoWPAN Thread Wi-FiEthernet

3/4/5 G

JSONHTMLHTTP

URI / URL

Layer 1ACCESS

REST API

ProxyWeb Hooks WebSockets

Gateway MQTTCoAP

Layer 2FIND Link Header

HATEOASSchema.org Linked Data

JSON-LDREST Crawler

Search enginesRDFa

Semantic Web

Web Thing Model

mDNS

Layer 3SHARE

Social WoT

Social Networks

OAuthDelegated

Authentication

API Tokens TLS DTLS

Encryption

JWT PKI

Layer 4COMPOSE

Node-REDIFTTT

Physical MashupsWeb Applications

Automated UI Generation

SystemsIntegration

WoT-a-Mashup

Page 26: Web of Things Book Launch

Chapter 10: Composing the real-world: Physical Mashups

http://node-red.org

http://ifttt.com

Page 27: Web of Things Book Launch

How is the book doing?

Page 28: Web of Things Book Launch
Page 29: Web of Things Book Launch

It’s right there, for 30 CHF!! Oh, and get in touch too: @domguinard @vladounet book.webofthings.io Thanks!