SlideShare a Scribd company logo
1 of 58
Download to read offline
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

More Related Content

What's hot

Coalition of IoT and Blockchain: Rewards and Challenges
Coalition of IoT and Blockchain: Rewards and ChallengesCoalition of IoT and Blockchain: Rewards and Challenges
Coalition of IoT and Blockchain: Rewards and Challengesanupriti
 
Edcon - Hardware wallets and smart contracts
Edcon -  Hardware wallets and smart contractsEdcon -  Hardware wallets and smart contracts
Edcon - Hardware wallets and smart contractsEric Larcheveque
 
How blockchain will defend iot
How blockchain will defend iotHow blockchain will defend iot
How blockchain will defend iotHitesh Malviya
 
How to Join the Fiware IoT-Ready Programme
How to Join the Fiware IoT-Ready ProgrammeHow to Join the Fiware IoT-Ready Programme
How to Join the Fiware IoT-Ready ProgrammeFIWARE
 
The iEx.ec Distributed Cloud: Latest Developments and Perspectives
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
 
Blockchain solutions leading to better security practices
Blockchain solutions leading to better security practicesBlockchain solutions leading to better security practices
Blockchain solutions leading to better security practicesEric Larcheveque
 

What's hot (8)

Coalition of IoT and Blockchain: Rewards and Challenges
Coalition of IoT and Blockchain: Rewards and ChallengesCoalition of IoT and Blockchain: Rewards and Challenges
Coalition of IoT and Blockchain: Rewards and Challenges
 
Edcon - Hardware wallets and smart contracts
Edcon -  Hardware wallets and smart contractsEdcon -  Hardware wallets and smart contracts
Edcon - Hardware wallets and smart contracts
 
How blockchain will defend iot
How blockchain will defend iotHow blockchain will defend iot
How blockchain will defend iot
 
How to Join the Fiware IoT-Ready Programme
How to Join the Fiware IoT-Ready ProgrammeHow to Join the Fiware IoT-Ready Programme
How to Join the Fiware IoT-Ready Programme
 
The iEx.ec Distributed Cloud: Latest Developments and Perspectives
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
 
IoT Security
IoT SecurityIoT Security
IoT Security
 
IoT architecture
IoT architectureIoT architecture
IoT architecture
 
Blockchain solutions leading to better security practices
Blockchain solutions leading to better security practicesBlockchain solutions leading to better security practices
Blockchain solutions leading to better security practices
 

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

The Internet of Things: We've Got to Chat
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
 
Internet of Things.pptx
Internet of Things.pptxInternet of Things.pptx
Internet of Things.pptxEshwar Prasad
 
Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Francesco Felicetta
 
Android powered internet of things
Android powered internet of thingsAndroid powered internet of things
Android powered internet of thingsAlexandru IOVANOVICI
 
IoT digest. July 2018
IoT digest. July 2018IoT digest. July 2018
IoT digest. July 2018ElifTech
 
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?
Internet of Things (IoT) - in the cloud or rather on-premises?Guido Schmutz
 
Training thethings.iO
Training thethings.iOTraining thethings.iO
Training thethings.iOMarc Pous
 
Fiware IoT Proposal & Community
Fiware IoT Proposal & Community Fiware IoT Proposal & Community
Fiware IoT Proposal & Community TIDChile
 
Hack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGSHack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGSDevFest DC
 
IoT Security Risks and Challenges
IoT Security Risks and ChallengesIoT Security Risks and Challenges
IoT Security Risks and ChallengesOWASP Delhi
 
Salesforce IoT Cloud Explorer Edition with Raspberry Pi
Salesforce IoT Cloud Explorer Edition with Raspberry PiSalesforce IoT Cloud Explorer Edition with Raspberry Pi
Salesforce IoT Cloud Explorer Edition with Raspberry PiDinesh Kumar Wickramasinghe
 
beware of Thing Bot
beware of Thing Botbeware of Thing Bot
beware of Thing BotBellaj Badr
 
Review of Home Automation Systems and Network Security using IoT
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 IoTijtsrd
 
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day UkraineIndustry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day UkraineFactoVia
 
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
Information Engineering in the Age of the Internet of Things PayamBarnaghi
 

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

The Internet of Things: We've Got to Chat
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
 
IoT overview 2014
IoT overview 2014IoT overview 2014
IoT overview 2014
 
Internet of Things.pptx
Internet of Things.pptxInternet of Things.pptx
Internet of Things.pptx
 
Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT) Introduction to Internet of Things (IoT)
Introduction to Internet of Things (IoT)
 
presentation
presentationpresentation
presentation
 
Android powered internet of things
Android powered internet of thingsAndroid powered internet of things
Android powered internet of things
 
IoT digest. July 2018
IoT digest. July 2018IoT digest. July 2018
IoT digest. July 2018
 
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?
Internet of Things (IoT) - in the cloud or rather on-premises?
 
Training thethings.iO
Training thethings.iOTraining thethings.iO
Training thethings.iO
 
The Internet of Things - IBM
The Internet of Things - IBMThe Internet of Things - IBM
The Internet of Things - IBM
 
Fiware IoT Proposal & Community
Fiware IoT Proposal & Community Fiware IoT Proposal & Community
Fiware IoT Proposal & Community
 
IoT4Devs (1)
IoT4Devs (1)IoT4Devs (1)
IoT4Devs (1)
 
Hack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGSHack the Real World with ANDROID THINGS
Hack the Real World with ANDROID THINGS
 
IoT Security Risks and Challenges
IoT Security Risks and ChallengesIoT Security Risks and Challenges
IoT Security Risks and Challenges
 
Salesforce IoT Cloud Explorer Edition with Raspberry Pi
Salesforce IoT Cloud Explorer Edition with Raspberry PiSalesforce IoT Cloud Explorer Edition with Raspberry Pi
Salesforce IoT Cloud Explorer Edition with Raspberry Pi
 
beware of Thing Bot
beware of Thing Botbeware of Thing Bot
beware of Thing Bot
 
Review of Home Automation Systems and Network Security using IoT
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
 
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day UkraineIndustry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
 
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
Information Engineering in the Age of the Internet of Things
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 

More from Luca Mattia Ferrari

Meetup 2022 - APIs with Quarkus.pdf
Meetup 2022 - APIs with Quarkus.pdfMeetup 2022 - APIs with Quarkus.pdf
Meetup 2022 - APIs with Quarkus.pdfLuca Mattia Ferrari
 
Meetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfLuca Mattia Ferrari
 
How easy (or hard) it is to monitor your graph ql service performance
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
 
Covid impact on digital identity
Covid impact on digital identityCovid impact on digital identity
Covid impact on digital identityLuca Mattia Ferrari
 
How do async ap is survive in a rest world
How do async ap is survive in a rest world How do async ap is survive in a rest world
How do async ap is survive in a rest world Luca Mattia Ferrari
 
The new (is it really ) api stack
The new (is it really ) api stackThe new (is it really ) api stack
The new (is it really ) api stackLuca Mattia Ferrari
 
What is the best approach to tdd
What is the best approach to tddWhat is the best approach to tdd
What is the best approach to tddLuca Mattia Ferrari
 
Leverage event streaming framework to build intelligent applications
Leverage event streaming framework to build intelligent applicationsLeverage event streaming framework to build intelligent applications
Leverage event streaming framework to build intelligent applicationsLuca Mattia Ferrari
 
Using Streaming APIs in Production
Using Streaming APIs in ProductionUsing Streaming APIs in Production
Using Streaming APIs in ProductionLuca Mattia Ferrari
 
Api service mesh and microservice tooling
Api service mesh and microservice toolingApi service mesh and microservice tooling
Api service mesh and microservice toolingLuca Mattia Ferrari
 
Lucamaf1 2949-db--winter2013-accomplishment
Lucamaf1 2949-db--winter2013-accomplishmentLucamaf1 2949-db--winter2013-accomplishment
Lucamaf1 2949-db--winter2013-accomplishmentLuca Mattia Ferrari
 
statement of accomplishment - heterogeneous parallel programming
statement of accomplishment - heterogeneous parallel programmingstatement of accomplishment - heterogeneous parallel programming
statement of accomplishment - heterogeneous parallel programmingLuca Mattia Ferrari
 

More from Luca Mattia Ferrari (20)

Meetup 2023 - Gateway API.pdf
Meetup 2023 - Gateway API.pdfMeetup 2023 - Gateway API.pdf
Meetup 2023 - Gateway API.pdf
 
Meetup 2022 - APIs with Quarkus.pdf
Meetup 2022 - APIs with Quarkus.pdfMeetup 2022 - APIs with Quarkus.pdf
Meetup 2022 - APIs with Quarkus.pdf
 
Meetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdf
 
APIs at the Edge
APIs at the EdgeAPIs at the Edge
APIs at the Edge
 
Opa in the api management world
Opa in the api management worldOpa in the api management world
Opa in the api management world
 
How easy (or hard) it is to monitor your graph ql service performance
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
 
Covid impact on digital identity
Covid impact on digital identityCovid impact on digital identity
Covid impact on digital identity
 
How do async ap is survive in a rest world
How do async ap is survive in a rest world How do async ap is survive in a rest world
How do async ap is survive in a rest world
 
The new (is it really ) api stack
The new (is it really ) api stackThe new (is it really ) api stack
The new (is it really ) api stack
 
What is the best approach to tdd
What is the best approach to tddWhat is the best approach to tdd
What is the best approach to tdd
 
Leverage event streaming framework to build intelligent applications
Leverage event streaming framework to build intelligent applicationsLeverage event streaming framework to build intelligent applications
Leverage event streaming framework to build intelligent applications
 
Using Streaming APIs in Production
Using Streaming APIs in ProductionUsing Streaming APIs in Production
Using Streaming APIs in Production
 
The independence facts
The independence factsThe independence facts
The independence facts
 
Api observability
Api observability Api observability
Api observability
 
Api service mesh and microservice tooling
Api service mesh and microservice toolingApi service mesh and microservice tooling
Api service mesh and microservice tooling
 
Api design best practice
Api design best practiceApi design best practice
Api design best practice
 
Certificate complexity
Certificate complexityCertificate complexity
Certificate complexity
 
Lucamaf1 2949-db--winter2013-accomplishment
Lucamaf1 2949-db--winter2013-accomplishmentLucamaf1 2949-db--winter2013-accomplishment
Lucamaf1 2949-db--winter2013-accomplishment
 
certificate game theory
certificate game theorycertificate game theory
certificate game theory
 
statement of accomplishment - heterogeneous parallel programming
statement of accomplishment - heterogeneous parallel programmingstatement of accomplishment - heterogeneous parallel programming
statement of accomplishment - heterogeneous parallel programming
 

Recently uploaded

EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 

Recently uploaded (20)

EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 

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