The case for a unified way of speaking to things

Luca Mattia Ferrari
Luca Mattia FerrariEMEA Solution Architect en Red Hat
1
The case for a unified way of
speaking to “things”
Luca Ferrari
EMEA Senior Solution Architect
Red Hat
2
What will we discuss today:
➢ IoT intro and challenges
➢ IoT protocols
➢ Web of Things model
➢ Web of Things API
➢ Demo
➢ Next steps
➢ Outro
3
… and was praised for its immersive world full of open-ended game design that
let players approach each challenge in a number of different ways
4
IoT in brief
5
➢ 1st wave of computing: Governments
and Big Corporations
➢ 2nd wave of computing: ordinary people
(first PC then smartphone)
➢ 3rd wave of computing: ordinary “things”
(the embedded era)
6
➢ 1st wave of computing: Governments
and Big Corporations
➢ 2nd wave of computing: ordinary people
(first PC then smartphone)
➢ 3rd wave of computing: ordinary “things”
(the embedded era)
7
1991 Mark Weiser - ubiquitous or pervasive computing
8
1991 Mark Weiser - ubiquitous or pervasive computing
2013 Google acquires Nest for $3.3bn
9
10
web 2.0
IoT
Definition:
The Internet of Things is a system of physical
objects that can be discovered, monitored,
controlled, or interacted with by electronic
devices that communicate over various
networking interfaces and eventually can be
connected to the wider internet. 11
Definition:
The Internet of Things is a system of physical
objects that can be discovered, monitored,
controlled, or interacted with by electronic
devices that communicate over various
networking interfaces and eventually can be
connected to the wider internet. 12
Reality:
the dreaded Internet of Isolated Things or
Intranet of Things
13
14
some Numbers
➢ Bain Capital: $520bn by 2021 ($6.2bn by 2024 for API Management)
➢ McKinsey: $11.1trn every year ($19.4trn US GDP)
➢ ARM: 1trn devices by 2035 (0.007trn people)
15
16
Use cases
❏ Wireless Sensor Networks
❏ smart homes
❏ quantifiable self
❏ smart cities and energy grid
❏ smart manufacturing
❏ smart logistics
❏ smart marketing
17
Challenges
➔ complex and difficult protocols
➔ proprietary and non-community led projects [0]
➔ tightly coupled devices and applications
➔ security and privacy [1, 2, 3]
➔ powering it
➔ open data access [4]
18
[0]: https://www.theguardian.com/technology/2016/apr/05/revolv-devices-bricked-google-nest-smart-home
[1]: https://www.wired.com/2015/07/hackers-remotely-kill-jeep-highway/
[2]: https://www.csoonline.com/article/3296633/hacking-pacemakers-insulin-pumps-and-patients-vital-signs-in-real-time.html
[3]: https://blog.avast.com/avast-hacked-a-smart-coffee-maker
[4]: https://www.economist.com/technology-quarterly/2019/09/12/hugo-campos-has-waged-a-decade-long-battle-for-access-to-his-heart-implant
[Source: http://xkcd.com/927/ used under Creative Commons 2.5 license] 19
The case for Open Source IoT:
❏ readily available and popular standards
❏ already tested and proven scalable protocols
❏ Open for Innovation
❏ already widespread and known to developers
❏ easier to develop and to consume
20
Frameworks &
Protocols
21
Wired protocols
➢ Ethernet IEEE 802.3 (with PoE option)
➢ Powerline
➢ Serial Data Protocols
22
PAN protocols
Thread protocol:
➢ supports mesh networks
➢ uses open protocols
➢ can communicate with internet directly
➢ supports various Application layer protocols
23
PAN protocols
Also:
➢ IEEE 802.15.4
➢ 6LoWPAN
➢ Bluetooth Low Energy
➢ IEEE 802.11ah
➢ EnOcean
24
WAN protocols
➢ 4G / 5G
➢ SigFox
➢ LoRa
➢ Weightless
25
26
Application layer protocols
➢ CoAP
➢ MQTT
➢ Bluetooth
➢ ZigBee
➢ AMQP
➢ Apple HomeKit / Google Weave
27
Web of Things
28
WoT provides mechanisms to formally describe IoT interfaces to allow IoT
devices and services to communicate with each other, independent of their
underlying implementation, and across multiple networking protocols.
In addition, WoT offers a standardized way to define and program IoT behavior.
29
30
31
WoT Layers 1 - 4
LAYER 1: ACCESS
● publish things using REST and JSON
● WebSocket for real-time / event-driven
● integration of non-connected things through gateway architectures
32
LAYER 2: FIND
● data model
● semantic extension
● easily used and automatically understood
33
LAYER 3: SHARE
● generated data shared
● safely
● with AuthN and AuthZ
34
LAYER 4: COMPOSE
● integration of data and services in a simple way
● power to the users!
35
The WoT API
36
37
The Thing Description provides a vocabulary for describing physical devices
connected to the World Wide Web in a machine readable format with a default
JSON encoding.
complex example
38
The @context member is an optional annotation which can be used to provide a URI for a schema
repository which defines standard schemas for common "types" of device capabilities.
"@context": "https://iot.mozilla.org/schemas"
The @type member is an optional annotation which can be used to provide the names of schemas for
types of capabilities a device supports
"@type": ["Light", "OnOffSwitch"]
The id member provides an identifier of the device in the form of a URI [RFC3986] (e.g. a URL or a
URN). This may be the URL of the Thing Description itself,
"id": "https://mywebthingserver.com/things/lamp"
39
A property object describes an attribute of a Thing and is indexed by a property id.
"level" : {
"title": "Level",
"description": "The level of light from 0-100",
"@type": "LevelProperty",
"type": "integer",
"unit": "percent",
"minimum": 0,
"maximum": 100,
"readOnly": false,
"links": [{"href": "/things/lamp/properties/level"}]
}
40
An action object describes a function which can be carried out on a device.
"fade": {
"title": "Fade",
"description": "Fade the lamp to a given level",
"input": {
"@type": "FadeAction",
"type": "object",
"properties": {
"level": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"duration": {
"type": "integer",
"minimum": 0,
"unit": "milliseconds"
}
}
},
"links": [{"href": "/things/lamp/actions/fade"}]
}
41
An event object describes a kind of event which may be emitted by a device.
"overheated": {
"title": "Overheated",
"description": "The lamp has exceeded its safe operating temperature",
"@type": "OverheatedEvent",
"type": "number",
"unit": "degree celsius",
"links": [{"href": "/things/lamp/events/overheated"}]
}
42
A link object represents a link relation.
Similar to OAS3.0 https://swagger.io/docs/specification/links/
{
"href": "/things/lamp/properties",
"rel": "properties",
"mediaType": "application/json"
}
43
The WebSocket API
• Provides a realtime mechanism to make multiple requests and be notified
of events
• JSON response consistent with Web Thing REST API
• Possible messages:
– setProperty
– requestAction
– addEventSubscription
– propertyStatus
– actionStatus
– event
44
Integration models
45
Great but how to I interact with this model?
https://iot.mozilla.org/wot/#web-thing-rest-a
pi
46
47
Demo time!
48
49
Looking ahead
50
Challenges of WoT model:
• the easier it is to access it, the better it should be protected
• not optimized for low power small battery devices
• JSON encoding is not storage efficient (lots of metadata)
51
52
Everything open:
● strong developer
community
● open standards
● interoperable world
Oligopoly:
● Google, Amazon or Apple
to dominate the market
● partially open standards
● siloed world
What will happen
● “servicisation”
● everything becomes part of data economy (the new Oil)
● privacy and security will become even more crucial
53
Key takeaways
54
➢ understanding the challenges of current IoT frameworks
➢ learn the basics of WoT model
➢ understand the advantages and implications of the WoT
API
55
Resources
56
• THE ECONOMIST: Technology Quarterly on Internet of Things (Sep 14th
2019)
• BUILDING THE WEB OF THINGS - book.webofthings.io
57
Thank you
for having me !
58
1 de 58

Recomendados

Smart Gateways, Blockchain and the Internet of Things (Charalampos Doukas-Cre... por
Smart Gateways, Blockchain and the Internet of Things (Charalampos Doukas-Cre...Smart Gateways, Blockchain and the Internet of Things (Charalampos Doukas-Cre...
Smart Gateways, Blockchain and the Internet of Things (Charalampos Doukas-Cre...AGILE IoT
1.5K vistas17 diapositivas
Windows developer program for IoT por
Windows developer program for IoTWindows developer program for IoT
Windows developer program for IoTMirco Vanini
1.2K vistas15 diapositivas
IoT on Blockchain Solution Overview por
IoT on Blockchain Solution OverviewIoT on Blockchain Solution Overview
IoT on Blockchain Solution OverviewProvide Technologies
150 vistas17 diapositivas
Blockchain for IoT por
Blockchain for IoTBlockchain for IoT
Blockchain for IoTFederico Tenga
398 vistas33 diapositivas
Manage your data across platforms (Joachim Lohkamp, Jolocom) por
Manage your data across platforms (Joachim Lohkamp, Jolocom)Manage your data across platforms (Joachim Lohkamp, Jolocom)
Manage your data across platforms (Joachim Lohkamp, Jolocom)AGILE IoT
846 vistas12 diapositivas
ITB2016 Web Applications can control the world por
ITB2016 Web Applications can control the worldITB2016 Web Applications can control the world
ITB2016 Web Applications can control the worldOrtus Solutions, Corp
361 vistas27 diapositivas

Más contenido relacionado

La actualidad más candente

Coalition of IoT and Blockchain: Rewards and Challenges por
Coalition of IoT and Blockchain: Rewards and ChallengesCoalition of IoT and Blockchain: Rewards and Challenges
Coalition of IoT and Blockchain: Rewards and Challengesanupriti
454 vistas18 diapositivas
Edcon - Hardware wallets and smart contracts por
Edcon -  Hardware wallets and smart contractsEdcon -  Hardware wallets and smart contracts
Edcon - Hardware wallets and smart contractsEric Larcheveque
2.2K vistas15 diapositivas
How blockchain will defend iot por
How blockchain will defend iotHow blockchain will defend iot
How blockchain will defend iotHitesh Malviya
571 vistas12 diapositivas
How to Join the Fiware IoT-Ready Programme por
How to Join the Fiware IoT-Ready ProgrammeHow to Join the Fiware IoT-Ready Programme
How to Join the Fiware IoT-Ready ProgrammeFIWARE
247 vistas28 diapositivas
The iEx.ec Distributed Cloud: Latest Developments and Perspectives por
The iEx.ec Distributed Cloud: Latest Developments and PerspectivesThe iEx.ec Distributed Cloud: Latest Developments and Perspectives
The iEx.ec Distributed Cloud: Latest Developments and PerspectivesGilles Fedak
1.1K vistas11 diapositivas
IoT Security por
IoT SecurityIoT Security
IoT SecurityPeter Waher
3.1K vistas39 diapositivas

La actualidad más candente(8)

Coalition of IoT and Blockchain: Rewards and Challenges por anupriti
Coalition of IoT and Blockchain: Rewards and ChallengesCoalition of IoT and Blockchain: Rewards and Challenges
Coalition of IoT and Blockchain: Rewards and Challenges
anupriti454 vistas
Edcon - Hardware wallets and smart contracts por Eric Larcheveque
Edcon -  Hardware wallets and smart contractsEdcon -  Hardware wallets and smart contracts
Edcon - Hardware wallets and smart contracts
Eric Larcheveque2.2K vistas
How blockchain will defend iot por Hitesh Malviya
How blockchain will defend iotHow blockchain will defend iot
How blockchain will defend iot
Hitesh Malviya571 vistas
How to Join the Fiware IoT-Ready Programme por FIWARE
How to Join the Fiware IoT-Ready ProgrammeHow to Join the Fiware IoT-Ready Programme
How to Join the Fiware IoT-Ready Programme
FIWARE247 vistas
The iEx.ec Distributed Cloud: Latest Developments and Perspectives por Gilles Fedak
The iEx.ec Distributed Cloud: Latest Developments and PerspectivesThe iEx.ec Distributed Cloud: Latest Developments and Perspectives
The iEx.ec Distributed Cloud: Latest Developments and Perspectives
Gilles Fedak1.1K vistas
IoT Security por Peter Waher
IoT SecurityIoT Security
IoT Security
Peter Waher3.1K vistas
IoT architecture por Sumit Sharma
IoT architectureIoT architecture
IoT architecture
Sumit Sharma99.4K vistas
Blockchain solutions leading to better security practices por Eric Larcheveque
Blockchain solutions leading to better security practicesBlockchain solutions leading to better security practices
Blockchain solutions leading to better security practices
Eric Larcheveque425 vistas

Similar a The case for a unified way of speaking to things

The Internet of Things: We've Got to Chat por
The Internet of Things: We've Got to ChatThe Internet of Things: We've Got to Chat
The Internet of Things: We've Got to ChatDuo Security
878 vistas37 diapositivas
IoT overview 2014 por
IoT overview 2014IoT overview 2014
IoT overview 2014Mirko Presser
545 vistas58 diapositivas
Internet of Things.pptx por
Internet of Things.pptxInternet of Things.pptx
Internet of Things.pptxEshwar Prasad
30 vistas53 diapositivas
Introduction to Internet of Things (IoT) por
Introduction to Internet of Things (IoT) Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Francesco Felicetta
417 vistas64 diapositivas
presentation por
presentationpresentation
presentationCorelia Baibarac Duignan
50 vistas34 diapositivas
Android powered internet of things por
Android powered internet of thingsAndroid powered internet of things
Android powered internet of thingsAlexandru IOVANOVICI
1.6K vistas20 diapositivas

Similar a The case for a unified way of speaking to things(20)

The Internet of Things: We've Got to Chat por Duo Security
The Internet of Things: We've Got to ChatThe Internet of Things: We've Got to Chat
The Internet of Things: We've Got to Chat
Duo Security878 vistas
IoT digest. July 2018 por ElifTech
IoT digest. July 2018IoT digest. July 2018
IoT digest. July 2018
ElifTech139 vistas
Internet of Things (IoT) - in the cloud or rather on-premises? por Guido Schmutz
Internet of Things (IoT) - in the cloud or rather on-premises?Internet of Things (IoT) - in the cloud or rather on-premises?
Internet of Things (IoT) - in the cloud or rather on-premises?
Guido Schmutz650 vistas
Training thethings.iO por Marc Pous
Training thethings.iOTraining thethings.iO
Training thethings.iO
Marc Pous492 vistas
Fiware IoT Proposal & Community por TIDChile
Fiware IoT Proposal & Community Fiware IoT Proposal & Community
Fiware IoT Proposal & Community
TIDChile604 vistas
Hack the Real World with ANDROID THINGS por DevFest DC
Hack the Real World with ANDROID THINGSHack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGS
DevFest DC 289 vistas
IoT Security Risks and Challenges por OWASP Delhi
IoT Security Risks and ChallengesIoT Security Risks and Challenges
IoT Security Risks and Challenges
OWASP Delhi3.3K vistas
beware of Thing Bot por Bellaj Badr
beware of Thing Botbeware of Thing Bot
beware of Thing Bot
Bellaj Badr1.1K vistas
Essay About The Impact Of Technology por Kimberly Yang
Essay About The Impact Of TechnologyEssay About The Impact Of Technology
Essay About The Impact Of Technology
Kimberly Yang2 vistas
Review of Home Automation Systems and Network Security using IoT por ijtsrd
Review of Home Automation Systems and Network Security using IoTReview of Home Automation Systems and Network Security using IoT
Review of Home Automation Systems and Network Security using IoT
ijtsrd35 vistas
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine por FactoVia
Industry4.0 IoT Vincent Thavonekham - Azure Day UkraineIndustry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
FactoVia328 vistas
Information Engineering in the Age of the Internet of Things por PayamBarnaghi
Information Engineering in the Age of the Internet of Things Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things
PayamBarnaghi16.2K vistas

Más de Luca Mattia Ferrari

Meetup 2023 - Gateway API.pdf por
Meetup 2023 - Gateway API.pdfMeetup 2023 - Gateway API.pdf
Meetup 2023 - Gateway API.pdfLuca Mattia Ferrari
12 vistas36 diapositivas
Meetup 2022 - APIs with Quarkus.pdf por
Meetup 2022 - APIs with Quarkus.pdfMeetup 2022 - APIs with Quarkus.pdf
Meetup 2022 - APIs with Quarkus.pdfLuca Mattia Ferrari
26 vistas23 diapositivas
Meetup 2022 - API Gateway landscape.pdf por
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfLuca Mattia Ferrari
46 vistas28 diapositivas
APIs at the Edge por
APIs at the EdgeAPIs at the Edge
APIs at the EdgeLuca Mattia Ferrari
17 vistas46 diapositivas
Opa in the api management world por
Opa in the api management worldOpa in the api management world
Opa in the api management worldLuca Mattia Ferrari
144 vistas40 diapositivas
How easy (or hard) it is to monitor your graph ql service performance por
How easy (or hard) it is to monitor your graph ql service performanceHow easy (or hard) it is to monitor your graph ql service performance
How easy (or hard) it is to monitor your graph ql service performanceLuca Mattia Ferrari
140 vistas35 diapositivas

Más de Luca Mattia Ferrari(20)

How easy (or hard) it is to monitor your graph ql service performance por Luca Mattia Ferrari
How easy (or hard) it is to monitor your graph ql service performanceHow easy (or hard) it is to monitor your graph ql service performance
How easy (or hard) it is to monitor your graph ql service performance
Luca Mattia Ferrari140 vistas
Leverage event streaming framework to build intelligent applications por Luca Mattia Ferrari
Leverage event streaming framework to build intelligent applicationsLeverage event streaming framework to build intelligent applications
Leverage event streaming framework to build intelligent applications
statement of accomplishment - heterogeneous parallel programming por Luca Mattia Ferrari
statement of accomplishment - heterogeneous parallel programmingstatement of accomplishment - heterogeneous parallel programming
statement of accomplishment - heterogeneous parallel programming
Luca Mattia Ferrari239 vistas

Último

HarshithAkkapelli_Presentation.pdf por
HarshithAkkapelli_Presentation.pdfHarshithAkkapelli_Presentation.pdf
HarshithAkkapelli_Presentation.pdfharshithakkapelli
11 vistas16 diapositivas
How to Make the Most of Regression and Unit Testing.pdf por
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdfAbhay Kumar
10 vistas9 diapositivas
Unleash The Monkeys por
Unleash The MonkeysUnleash The Monkeys
Unleash The MonkeysJacob Duijzer
7 vistas28 diapositivas
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge... por
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...Deltares
16 vistas12 diapositivas
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea... por
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Safe Software
391 vistas59 diapositivas
WebAssembly por
WebAssemblyWebAssembly
WebAssemblyJens Siebert
32 vistas18 diapositivas

Último(20)

How to Make the Most of Regression and Unit Testing.pdf por Abhay Kumar
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdf
Abhay Kumar10 vistas
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge... por Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
Deltares16 vistas
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea... por Safe Software
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Safe Software391 vistas
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... por Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares7 vistas
Upgrading Incident Management with Icinga - Icinga Camp Milan 2023 por Icinga
Upgrading Incident Management with Icinga - Icinga Camp Milan 2023Upgrading Incident Management with Icinga - Icinga Camp Milan 2023
Upgrading Incident Management with Icinga - Icinga Camp Milan 2023
Icinga36 vistas
A first look at MariaDB 11.x features and ideas on how to use them por Federico Razzoli
A first look at MariaDB 11.x features and ideas on how to use themA first look at MariaDB 11.x features and ideas on how to use them
A first look at MariaDB 11.x features and ideas on how to use them
Federico Razzoli44 vistas
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon por Deltares
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - AfternoonDSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
Deltares11 vistas
Software evolution understanding: Automatic extraction of software identifier... por Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
DSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - Prida por Deltares
DSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - PridaDSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - Prida
DSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - Prida
Deltares17 vistas
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM... por Deltares
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
Deltares7 vistas
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ... por marksimpsongw
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...
marksimpsongw74 vistas
Neo4j : Graphes de Connaissance, IA et LLMs por Neo4j
Neo4j : Graphes de Connaissance, IA et LLMsNeo4j : Graphes de Connaissance, IA et LLMs
Neo4j : Graphes de Connaissance, IA et LLMs
Neo4j46 vistas
What Can Employee Monitoring Software Do?​ por wAnywhere
What Can Employee Monitoring Software Do?​What Can Employee Monitoring Software Do?​
What Can Employee Monitoring Software Do?​
wAnywhere18 vistas
How to Install and Activate Email-Researcher por eGrabber
How to Install and Activate Email-ResearcherHow to Install and Activate Email-Researcher
How to Install and Activate Email-Researcher
eGrabber19 vistas
MariaDB stored procedures and why they should be improved por Federico Razzoli
MariaDB stored procedures and why they should be improvedMariaDB stored procedures and why they should be improved
MariaDB stored procedures and why they should be improved
Federico Razzoli8 vistas

The case for a unified way of speaking to things

  • 1. 1
  • 2. The case for a unified way of speaking to “things” Luca Ferrari EMEA Senior Solution Architect Red Hat 2
  • 3. What will we discuss today: ➢ IoT intro and challenges ➢ IoT protocols ➢ Web of Things model ➢ Web of Things API ➢ Demo ➢ Next steps ➢ Outro 3
  • 4. … and was praised for its immersive world full of open-ended game design that let players approach each challenge in a number of different ways 4
  • 6. ➢ 1st wave of computing: Governments and Big Corporations ➢ 2nd wave of computing: ordinary people (first PC then smartphone) ➢ 3rd wave of computing: ordinary “things” (the embedded era) 6
  • 7. ➢ 1st wave of computing: Governments and Big Corporations ➢ 2nd wave of computing: ordinary people (first PC then smartphone) ➢ 3rd wave of computing: ordinary “things” (the embedded era) 7
  • 8. 1991 Mark Weiser - ubiquitous or pervasive computing 8
  • 9. 1991 Mark Weiser - ubiquitous or pervasive computing 2013 Google acquires Nest for $3.3bn 9
  • 11. Definition: The Internet of Things is a system of physical objects that can be discovered, monitored, controlled, or interacted with by electronic devices that communicate over various networking interfaces and eventually can be connected to the wider internet. 11
  • 12. Definition: The Internet of Things is a system of physical objects that can be discovered, monitored, controlled, or interacted with by electronic devices that communicate over various networking interfaces and eventually can be connected to the wider internet. 12
  • 13. Reality: the dreaded Internet of Isolated Things or Intranet of Things 13
  • 14. 14
  • 15. some Numbers ➢ Bain Capital: $520bn by 2021 ($6.2bn by 2024 for API Management) ➢ McKinsey: $11.1trn every year ($19.4trn US GDP) ➢ ARM: 1trn devices by 2035 (0.007trn people) 15
  • 16. 16
  • 17. Use cases ❏ Wireless Sensor Networks ❏ smart homes ❏ quantifiable self ❏ smart cities and energy grid ❏ smart manufacturing ❏ smart logistics ❏ smart marketing 17
  • 18. Challenges ➔ complex and difficult protocols ➔ proprietary and non-community led projects [0] ➔ tightly coupled devices and applications ➔ security and privacy [1, 2, 3] ➔ powering it ➔ open data access [4] 18 [0]: https://www.theguardian.com/technology/2016/apr/05/revolv-devices-bricked-google-nest-smart-home [1]: https://www.wired.com/2015/07/hackers-remotely-kill-jeep-highway/ [2]: https://www.csoonline.com/article/3296633/hacking-pacemakers-insulin-pumps-and-patients-vital-signs-in-real-time.html [3]: https://blog.avast.com/avast-hacked-a-smart-coffee-maker [4]: https://www.economist.com/technology-quarterly/2019/09/12/hugo-campos-has-waged-a-decade-long-battle-for-access-to-his-heart-implant
  • 19. [Source: http://xkcd.com/927/ used under Creative Commons 2.5 license] 19
  • 20. The case for Open Source IoT: ❏ readily available and popular standards ❏ already tested and proven scalable protocols ❏ Open for Innovation ❏ already widespread and known to developers ❏ easier to develop and to consume 20
  • 22. Wired protocols ➢ Ethernet IEEE 802.3 (with PoE option) ➢ Powerline ➢ Serial Data Protocols 22
  • 23. PAN protocols Thread protocol: ➢ supports mesh networks ➢ uses open protocols ➢ can communicate with internet directly ➢ supports various Application layer protocols 23
  • 24. PAN protocols Also: ➢ IEEE 802.15.4 ➢ 6LoWPAN ➢ Bluetooth Low Energy ➢ IEEE 802.11ah ➢ EnOcean 24
  • 25. WAN protocols ➢ 4G / 5G ➢ SigFox ➢ LoRa ➢ Weightless 25
  • 26. 26
  • 27. Application layer protocols ➢ CoAP ➢ MQTT ➢ Bluetooth ➢ ZigBee ➢ AMQP ➢ Apple HomeKit / Google Weave 27
  • 29. WoT provides mechanisms to formally describe IoT interfaces to allow IoT devices and services to communicate with each other, independent of their underlying implementation, and across multiple networking protocols. In addition, WoT offers a standardized way to define and program IoT behavior. 29
  • 30. 30
  • 32. LAYER 1: ACCESS ● publish things using REST and JSON ● WebSocket for real-time / event-driven ● integration of non-connected things through gateway architectures 32
  • 33. LAYER 2: FIND ● data model ● semantic extension ● easily used and automatically understood 33
  • 34. LAYER 3: SHARE ● generated data shared ● safely ● with AuthN and AuthZ 34
  • 35. LAYER 4: COMPOSE ● integration of data and services in a simple way ● power to the users! 35
  • 37. 37
  • 38. The Thing Description provides a vocabulary for describing physical devices connected to the World Wide Web in a machine readable format with a default JSON encoding. complex example 38
  • 39. The @context member is an optional annotation which can be used to provide a URI for a schema repository which defines standard schemas for common "types" of device capabilities. "@context": "https://iot.mozilla.org/schemas" The @type member is an optional annotation which can be used to provide the names of schemas for types of capabilities a device supports "@type": ["Light", "OnOffSwitch"] The id member provides an identifier of the device in the form of a URI [RFC3986] (e.g. a URL or a URN). This may be the URL of the Thing Description itself, "id": "https://mywebthingserver.com/things/lamp" 39
  • 40. A property object describes an attribute of a Thing and is indexed by a property id. "level" : { "title": "Level", "description": "The level of light from 0-100", "@type": "LevelProperty", "type": "integer", "unit": "percent", "minimum": 0, "maximum": 100, "readOnly": false, "links": [{"href": "/things/lamp/properties/level"}] } 40
  • 41. An action object describes a function which can be carried out on a device. "fade": { "title": "Fade", "description": "Fade the lamp to a given level", "input": { "@type": "FadeAction", "type": "object", "properties": { "level": { "type": "integer", "minimum": 0, "maximum": 100 }, "duration": { "type": "integer", "minimum": 0, "unit": "milliseconds" } } }, "links": [{"href": "/things/lamp/actions/fade"}] } 41
  • 42. An event object describes a kind of event which may be emitted by a device. "overheated": { "title": "Overheated", "description": "The lamp has exceeded its safe operating temperature", "@type": "OverheatedEvent", "type": "number", "unit": "degree celsius", "links": [{"href": "/things/lamp/events/overheated"}] } 42
  • 43. A link object represents a link relation. Similar to OAS3.0 https://swagger.io/docs/specification/links/ { "href": "/things/lamp/properties", "rel": "properties", "mediaType": "application/json" } 43
  • 44. The WebSocket API • Provides a realtime mechanism to make multiple requests and be notified of events • JSON response consistent with Web Thing REST API • Possible messages: – setProperty – requestAction – addEventSubscription – propertyStatus – actionStatus – event 44
  • 46. Great but how to I interact with this model? https://iot.mozilla.org/wot/#web-thing-rest-a pi 46
  • 47. 47
  • 49. 49
  • 51. Challenges of WoT model: • the easier it is to access it, the better it should be protected • not optimized for low power small battery devices • JSON encoding is not storage efficient (lots of metadata) 51
  • 52. 52 Everything open: ● strong developer community ● open standards ● interoperable world Oligopoly: ● Google, Amazon or Apple to dominate the market ● partially open standards ● siloed world
  • 53. What will happen ● “servicisation” ● everything becomes part of data economy (the new Oil) ● privacy and security will become even more crucial 53
  • 55. ➢ understanding the challenges of current IoT frameworks ➢ learn the basics of WoT model ➢ understand the advantages and implications of the WoT API 55
  • 57. • THE ECONOMIST: Technology Quarterly on Internet of Things (Sep 14th 2019) • BUILDING THE WEB OF THINGS - book.webofthings.io 57