SlideShare une entreprise Scribd logo
1  sur  43
FIWARE Connecting to IoT
Daniel Calvo
IoE Lab. ATOS Research & Innovation
daniel.calvo@atos.net
@danicalvoalonso
1
Connecting
to IoT
FIWARE
IoT Agents
Case example
OPC-UA
Building your
own IoT Agent
Connecting to IoT
2
What is the IoT?
3
“Internet is connected to the physical world via ubiquitous
sensors”
“Sensor technology enable computers to observe, identify
and understand the world without the limitations of human-
entered data”
Kevin Ashton
Coiner of the term IoT in 1999
What is the IoT?
4
https://atos.net/content/mini-sites/journey-2020/index.html
What elements are part of the IoT?
5
Users
Applications
IoT Platforms
Communication
Devices
IoT Interoperability ? Still a $1,000,000 question
6
FIWARE Smart*: Local Ecosystem growth engine
7
Devices NDevices 1 Devices 2
Smart City / Authorities / Citizens
Communication NCommunication 1 Communication 2
New system M
Context Data Ecosystem
IoT Agent 1 IoT Agent 2 IoT Agent N IoT Agent M
FIWARE Smart*: Local Ecosystem growth engine
§ Higher efficiency
• Shared networks
• Cloud
§ Boost overall business
• Cross vertical ideas and services
• New players
• Data scientists
• Developers
• Ease the integration of new protocols
and devices
8
FIWARE IoT Stack
IoT Devices
Comm
Southbound API
IoT Agents
Northbound API
Context broker
9
FIWARE IoT Agents
10
IoT Communication Protocols
11
Range
Speed
< 3m < 5km < 100km
bps
Kbps
Mbps
IoT Devices: constrained nodes
12
ARM Cortex-M3 32 MHz
~MB Flash, ~KB RAM
ZigBee, GRPS, IEEE 802.15.4
Low power consumption
mode
Contiki OS, FreeRTOS, RIOT
IoT Agents: Connecting IoT Protocols to FIWARE
13
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
CoAP
802.15.4
UDP
IoT Device
IPv6, RPL
6LoWPAN
App protocol
IoT Agent
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
1000s of bytes
10/100s of bytes
IoT Agents: Connecting IoT Protocols to FIWARE
14
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
CoAP
802.15.4
UDP
IoT Device
IPv6, RPL
6LoWPAN
App protocol
IoT Agent
802.15.4
UDP
IPv6, RPL
6LoWPAN
IPv4
TCP
CoAP
App protocol
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
1000s of bytes
10/100s of bytes
IoT Agents’ features
15
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
IoT Agents’ features
16
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
1.
IoT Agents’ features
17
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
2. Device sends information updates
1.
2.
IoT Agents’ features
18
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
2. Device sends information updates
3. Agent sends NGSI request
1.
2.
3.
IoT Agents’ features
19
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
2. Device sends information updates
3. Agent sends NGSI request
4. External system modifies CB data
1.
2.
3.
4.
IoT Agents’ features
20
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
2. Device sends information updates
3. Agent sends NGSI request
4. External system modifies CB data
5. Context broker updates device value
1.
2.
3.
4.
5.
IoT Agents’ features
21
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
2. Device sends information updates
3. Agent sends NGSI request
4. External system modifies CB data
5. Context broker updates device value
6. Device receives command
1.
2.
3.
4.
5.
6.
IoT Agents’ features
22
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
2. Device sends information updates
3. Agent sends NGSI request
4. External system modifies CB data
5. Context broker updates device value
6. Device receives command
1.
2.
3.
4.
5.
6.
NGSI
IoT
Comm
IoT Agents: device to NGSI mapping
§ Each IoT Device is mapped to a CB Entity
§ Each IoT resource is mapped to CB attribute
23
• devID0001
• remoteType
Entity
• temperature
• float
• 25.4
Attribute
• heartRate
• integer
• 80
Attribute
IoT Agents: active attributes
24
http://www.smartdubai.ae
IoT Agents: active attributes
25
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1.
2.
3.
NGSI
IoT
Comm
1. Device sends information updates
2. Agent sends NGSI request
3. External system is notified or queries CB
data
§ Device may sleep to reduce energy
consumption
IoT Agents: lazy attributes
26
IoT Agents: lazy attributes
27
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. External system queries CB
2. CB queries IoT Agent as Context
provider
3. IoT Agent queries device
§ Device may be listening to queries
3.
1.
4.
NGSI
IoT
Comm
2. 5.
IoT Agents: commands
28
https://atmelcorporation.files.wordpress.com
IoT Agents: commands
29
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. External system sets attribute in CB
2. CB updates context in IoT Agent as
Context provider
3. IoT Agent answers with PENDING
4. IoT Agent sends command to device
5. Device answers with command result
6. IoT Agent updates context in CB
4.
1.
5.
NGSI
IoT
Comm
2. 3. 6.
Main IoT Agents available: Ultralight 2.0
30
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
MQTT / HTTP
TCP
IoT Device
ULTRALIGHT
IoT Agent
TCP
IPv4
TCP
MQTT / HTTP
ULTRALIGHT
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
Main IoT Agents available: Ultralight 2.0
§ Measure payload syntax
• temperature | 15 | position | up
§ Does not support lazy attributes
§ https://github.com/Fiware/iot.IoTagent-UL
§ Un-appropriate for:
• Really constrained devices
• Low-Power and Lossy Networks (LLNs),
§ Data model based on shorter text messages
31
Main IoT Agents available: JSON
32
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
MQTT / HTTP
TCP
IoT Device
JSON
IoT Agent
TCP
IPv4
TCP
MQTT / HTTP
JSON
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
Main IoT Agents available: JSON
§ Measure payload syntax
• {“temperature”: 40.2, “position”: “left”}
§ Does not support lazy attributes
§ https://github.com/Fiware/iot.IoTagent-JSON
§ Un-appropriate for:
• Really constrained devices
• Low-Power and Lossy Networks (LLNs),
§ Data model based on JSON standard objects
33
Main IoT Agents available: OMA Lightweight M2M
34
http://openmobilealliance.org
Main IoT Agents available: OMA Lightweight M2M
35
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
DTLS / CoAP
UDP
IoT Device
LWM2M
IoT Agent
UDP
IPv4
TCP
DTLS / CoAP
LWM2M
HTTP
NGSI/REST
TCP
CONTEXT BROKER
IPv4
HTTP
NGSI /REST
Main IoT Agents available: OMA Lightweight M2M
§ Object model
• Based on Object and Resource hierarchy (e.g.: /1/12/3)
• OMA Registry
§ https://github.com/Fiware/iot.IoTagent-LWM2M
§ Appropriate for:
• Really constrained devices
• Low-Power and Lossy Networks (LLNs),
36
Main IoT Agents available: OPC-UA
37
Main IoT Agents available: LoRaWAN
38
How to start… First, choose your flavour!!
39
§ https://fiware-iot-stack.readthedocs.io/en/latest/device_gateway/index.html
§ https://github.com/Fiware/iot.IoTagent-node-lib
§ https://github.com/Fiware/iot.IoTagent-UL
§ https://github.com/Fiware/iot.IoTagent-JSON
§ https://github.com/Fiware/iot.IoTagent-LWM2M
How to start… Then, docs and requirements
40
How to start… Finally, node/npm or docker?
41
Thank you!
http://fiware.org
Follow @FIWARE on Twitter
Daniel Calvo
IoE Lab. ATOS Research &
Innovation
daniel.calvo@atos.net

Contenu connexe

Tendances

Tendances (20)

Enhancing traffic analysis with elk and snort
Enhancing traffic analysis with elk and snortEnhancing traffic analysis with elk and snort
Enhancing traffic analysis with elk and snort
 
DevSecCon Singapore 2019: Preventative Security for Kubernetes
DevSecCon Singapore 2019: Preventative Security for KubernetesDevSecCon Singapore 2019: Preventative Security for Kubernetes
DevSecCon Singapore 2019: Preventative Security for Kubernetes
 
FIWARE Developers Week_Kurent_exercises
FIWARE Developers Week_Kurent_exercisesFIWARE Developers Week_Kurent_exercises
FIWARE Developers Week_Kurent_exercises
 
Azure Low Lands 2018: Monitoring real life Azure applications when to use wha...
Azure Low Lands 2018: Monitoring real life Azure applications when to use wha...Azure Low Lands 2018: Monitoring real life Azure applications when to use wha...
Azure Low Lands 2018: Monitoring real life Azure applications when to use wha...
 
Using Puppet With A Secrets Server
Using Puppet With A Secrets ServerUsing Puppet With A Secrets Server
Using Puppet With A Secrets Server
 
Flare - tech-intro-for-paris-hackathon
Flare - tech-intro-for-paris-hackathonFlare - tech-intro-for-paris-hackathon
Flare - tech-intro-for-paris-hackathon
 
Icinga Camp New York 2018 - Icinga2 and Elastic
Icinga Camp New York 2018 - Icinga2 and ElasticIcinga Camp New York 2018 - Icinga2 and Elastic
Icinga Camp New York 2018 - Icinga2 and Elastic
 
Introduction to Windows IoT Nov 2017
Introduction to Windows IoT Nov 2017Introduction to Windows IoT Nov 2017
Introduction to Windows IoT Nov 2017
 
Resin.io overview (2016 July)
Resin.io overview (2016 July)Resin.io overview (2016 July)
Resin.io overview (2016 July)
 
What is FIWARE Lab
What is FIWARE LabWhat is FIWARE Lab
What is FIWARE Lab
 
Docker & IoT: protecting the Datacenter
Docker & IoT: protecting the DatacenterDocker & IoT: protecting the Datacenter
Docker & IoT: protecting the Datacenter
 
GitLab Commit DevOps: How GitLab Can Save your Kubernetes environment from Be...
GitLab Commit DevOps: How GitLab Can Save your Kubernetes environment from Be...GitLab Commit DevOps: How GitLab Can Save your Kubernetes environment from Be...
GitLab Commit DevOps: How GitLab Can Save your Kubernetes environment from Be...
 
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
Stève Sfartz - Meeting rooms are talking! Are you listening? - Codemotion Ber...
 
OSMC 2021 | Contributing to open source with the example of icinga (1)
OSMC 2021 | Contributing to open source with the example of icinga (1)OSMC 2021 | Contributing to open source with the example of icinga (1)
OSMC 2021 | Contributing to open source with the example of icinga (1)
 
Demo 180307
Demo 180307Demo 180307
Demo 180307
 
Developing Windows Phone Apps with Maps and Location Services
Developing Windows Phone Apps with Maps and Location ServicesDeveloping Windows Phone Apps with Maps and Location Services
Developing Windows Phone Apps with Maps and Location Services
 
OpenWhisk JavaOne
OpenWhisk JavaOneOpenWhisk JavaOne
OpenWhisk JavaOne
 
Next Generation Infrastructure - Devops Enterprise Summit 2018
Next Generation Infrastructure - Devops Enterprise Summit 2018Next Generation Infrastructure - Devops Enterprise Summit 2018
Next Generation Infrastructure - Devops Enterprise Summit 2018
 
Serverless security - how to protect what you don't see?
Serverless security - how to protect what you don't see?Serverless security - how to protect what you don't see?
Serverless security - how to protect what you don't see?
 
Deployment Automation & Self-Healing with Dynatrace & Ansible
Deployment Automation & Self-Healing with Dynatrace & AnsibleDeployment Automation & Self-Healing with Dynatrace & Ansible
Deployment Automation & Self-Healing with Dynatrace & Ansible
 

Similaire à FIWARE Global Summit - Connecting to IoT

19ESKCS144_Mohit_Jain_IOT.pptx
19ESKCS144_Mohit_Jain_IOT.pptx19ESKCS144_Mohit_Jain_IOT.pptx
19ESKCS144_Mohit_Jain_IOT.pptx
MohitJain686863
 
IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...
IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...
IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...
WithTheBest
 
PILoT-v2
PILoT-v2PILoT-v2
PILoT-v2
Di Wu
 

Similaire à FIWARE Global Summit - Connecting to IoT (20)

FIWARE Global Summit - Connecting Sensors to FIWARE with IDAS: An Overview
FIWARE Global Summit - Connecting Sensors to FIWARE with IDAS: An OverviewFIWARE Global Summit - Connecting Sensors to FIWARE with IDAS: An Overview
FIWARE Global Summit - Connecting Sensors to FIWARE with IDAS: An Overview
 
FIWARE Tech Summit - FIWARE Connecting to IoT
FIWARE Tech Summit - FIWARE Connecting to IoTFIWARE Tech Summit - FIWARE Connecting to IoT
FIWARE Tech Summit - FIWARE Connecting to IoT
 
IOT tutorial
IOT tutorialIOT tutorial
IOT tutorial
 
What is an IoT Agent
What is an IoT AgentWhat is an IoT Agent
What is an IoT Agent
 
FIWARE Developers Week_FIWARE IoT: Beginner's tutorial_conference
 FIWARE Developers Week_FIWARE IoT: Beginner's tutorial_conference FIWARE Developers Week_FIWARE IoT: Beginner's tutorial_conference
FIWARE Developers Week_FIWARE IoT: Beginner's tutorial_conference
 
Alfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of ThingsAlfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of Things
 
What's New in IoT?
What's New in IoT?What's New in IoT?
What's New in IoT?
 
19ESKCS144_Mohit_Jain_IOT.pptx
19ESKCS144_Mohit_Jain_IOT.pptx19ESKCS144_Mohit_Jain_IOT.pptx
19ESKCS144_Mohit_Jain_IOT.pptx
 
IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018
 
Home Automation Control System
Home Automation Control SystemHome Automation Control System
Home Automation Control System
 
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
IoT Home Automation System
IoT Home Automation SystemIoT Home Automation System
IoT Home Automation System
 
IOT- UNIT-1.pptx
IOT- UNIT-1.pptxIOT- UNIT-1.pptx
IOT- UNIT-1.pptx
 
IoT with the Best: Watson IoT Bluemix and Blockchain
IoT with the Best: Watson IoT Bluemix and BlockchainIoT with the Best: Watson IoT Bluemix and Blockchain
IoT with the Best: Watson IoT Bluemix and Blockchain
 
IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...
IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...
IBM's Watson IoT Platform Allows You to Quickly Connect Devices to Bluemix Cl...
 
PILoT-v2
PILoT-v2PILoT-v2
PILoT-v2
 
Docker, DevOps, & IoT
Docker, DevOps, & IoTDocker, DevOps, & IoT
Docker, DevOps, & IoT
 
Emerging Global Trends in Internet of Things.pptx
Emerging Global Trends in Internet of Things.pptxEmerging Global Trends in Internet of Things.pptx
Emerging Global Trends in Internet of Things.pptx
 
The Internet of Things
The Internet of ThingsThe Internet of Things
The Internet of Things
 

Plus de FIWARE

Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptxCameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
FIWARE
 
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptxBoris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
FIWARE
 
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
FIWARE
 
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdfAbdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
FIWARE
 
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdfFGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FIWARE
 

Plus de FIWARE (20)

Behm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptxBehm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptx
 
Katharina Hogrebe Herne Digital Days.pdf
 Katharina Hogrebe Herne Digital Days.pdf Katharina Hogrebe Herne Digital Days.pdf
Katharina Hogrebe Herne Digital Days.pdf
 
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
Christoph Mertens_IDSA_Introduction to Data Spaces.pptxChristoph Mertens_IDSA_Introduction to Data Spaces.pptx
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
 
Behm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptxBehm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptx
 
Evangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptxEvangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptx
 
Lukas Künzel Smart City Operating System.pptx
Lukas Künzel Smart City Operating System.pptxLukas Künzel Smart City Operating System.pptx
Lukas Künzel Smart City Operating System.pptx
 
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptxPierre Golz Der Transformationsprozess im Konzern Stadt.pptx
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
 
Dennis Wendland_The i4Trust Collaboration Programme.pptx
Dennis Wendland_The i4Trust Collaboration Programme.pptxDennis Wendland_The i4Trust Collaboration Programme.pptx
Dennis Wendland_The i4Trust Collaboration Programme.pptx
 
Ulrich Ahle_FIWARE.pptx
Ulrich Ahle_FIWARE.pptxUlrich Ahle_FIWARE.pptx
Ulrich Ahle_FIWARE.pptx
 
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptxAleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
 
Water Quality - Lukas Kuenzel.pdf
Water Quality - Lukas Kuenzel.pdfWater Quality - Lukas Kuenzel.pdf
Water Quality - Lukas Kuenzel.pdf
 
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptxCameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
 
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptxFiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
 
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptxBoris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
 
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
 
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdfAbdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
 
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdfFGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
 
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
HTAG_Skalierung_Plattform_lokal_final_versand.pptxHTAG_Skalierung_Plattform_lokal_final_versand.pptx
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
 
WE_LoRaWAN _ IoT.pptx
WE_LoRaWAN  _ IoT.pptxWE_LoRaWAN  _ IoT.pptx
WE_LoRaWAN _ IoT.pptx
 
EU Opp_Clara Pezuela - German chapter.pptx
EU Opp_Clara Pezuela - German chapter.pptxEU Opp_Clara Pezuela - German chapter.pptx
EU Opp_Clara Pezuela - German chapter.pptx
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

FIWARE Global Summit - Connecting to IoT

  • 1. FIWARE Connecting to IoT Daniel Calvo IoE Lab. ATOS Research & Innovation daniel.calvo@atos.net @danicalvoalonso
  • 2. 1 Connecting to IoT FIWARE IoT Agents Case example OPC-UA Building your own IoT Agent
  • 4. What is the IoT? 3 “Internet is connected to the physical world via ubiquitous sensors” “Sensor technology enable computers to observe, identify and understand the world without the limitations of human- entered data” Kevin Ashton Coiner of the term IoT in 1999
  • 5. What is the IoT? 4 https://atos.net/content/mini-sites/journey-2020/index.html
  • 6. What elements are part of the IoT? 5 Users Applications IoT Platforms Communication Devices
  • 7. IoT Interoperability ? Still a $1,000,000 question 6
  • 8. FIWARE Smart*: Local Ecosystem growth engine 7 Devices NDevices 1 Devices 2 Smart City / Authorities / Citizens Communication NCommunication 1 Communication 2 New system M Context Data Ecosystem IoT Agent 1 IoT Agent 2 IoT Agent N IoT Agent M
  • 9. FIWARE Smart*: Local Ecosystem growth engine § Higher efficiency • Shared networks • Cloud § Boost overall business • Cross vertical ideas and services • New players • Data scientists • Developers • Ease the integration of new protocols and devices 8
  • 10. FIWARE IoT Stack IoT Devices Comm Southbound API IoT Agents Northbound API Context broker 9
  • 12. IoT Communication Protocols 11 Range Speed < 3m < 5km < 100km bps Kbps Mbps
  • 13. IoT Devices: constrained nodes 12 ARM Cortex-M3 32 MHz ~MB Flash, ~KB RAM ZigBee, GRPS, IEEE 802.15.4 Low power consumption mode Contiki OS, FreeRTOS, RIOT
  • 14. IoT Agents: Connecting IoT Protocols to FIWARE 13 APPLICATION TRANSPORT SIMPLIFIED OSI NETWORK LINK PHYSICAL CoAP 802.15.4 UDP IoT Device IPv6, RPL 6LoWPAN App protocol IoT Agent TCP CONTEXT BROKER IPv4 HTTP NGSI /REST 1000s of bytes 10/100s of bytes
  • 15. IoT Agents: Connecting IoT Protocols to FIWARE 14 APPLICATION TRANSPORT SIMPLIFIED OSI NETWORK LINK PHYSICAL CoAP 802.15.4 UDP IoT Device IPv6, RPL 6LoWPAN App protocol IoT Agent 802.15.4 UDP IPv6, RPL 6LoWPAN IPv4 TCP CoAP App protocol HTTP NGSI/REST TCP CONTEXT BROKER IPv4 HTTP NGSI /REST 1000s of bytes 10/100s of bytes
  • 16. IoT Agents’ features 15 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system
  • 17. IoT Agents’ features 16 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 1.
  • 18. IoT Agents’ features 17 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 2. Device sends information updates 1. 2.
  • 19. IoT Agents’ features 18 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 2. Device sends information updates 3. Agent sends NGSI request 1. 2. 3.
  • 20. IoT Agents’ features 19 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 2. Device sends information updates 3. Agent sends NGSI request 4. External system modifies CB data 1. 2. 3. 4.
  • 21. IoT Agents’ features 20 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 2. Device sends information updates 3. Agent sends NGSI request 4. External system modifies CB data 5. Context broker updates device value 1. 2. 3. 4. 5.
  • 22. IoT Agents’ features 21 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 2. Device sends information updates 3. Agent sends NGSI request 4. External system modifies CB data 5. Context broker updates device value 6. Device receives command 1. 2. 3. 4. 5. 6.
  • 23. IoT Agents’ features 22 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 2. Device sends information updates 3. Agent sends NGSI request 4. External system modifies CB data 5. Context broker updates device value 6. Device receives command 1. 2. 3. 4. 5. 6. NGSI IoT Comm
  • 24. IoT Agents: device to NGSI mapping § Each IoT Device is mapped to a CB Entity § Each IoT resource is mapped to CB attribute 23 • devID0001 • remoteType Entity • temperature • float • 25.4 Attribute • heartRate • integer • 80 Attribute
  • 25. IoT Agents: active attributes 24 http://www.smartdubai.ae
  • 26. IoT Agents: active attributes 25 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. 2. 3. NGSI IoT Comm 1. Device sends information updates 2. Agent sends NGSI request 3. External system is notified or queries CB data § Device may sleep to reduce energy consumption
  • 27. IoT Agents: lazy attributes 26
  • 28. IoT Agents: lazy attributes 27 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. External system queries CB 2. CB queries IoT Agent as Context provider 3. IoT Agent queries device § Device may be listening to queries 3. 1. 4. NGSI IoT Comm 2. 5.
  • 30. IoT Agents: commands 29 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. External system sets attribute in CB 2. CB updates context in IoT Agent as Context provider 3. IoT Agent answers with PENDING 4. IoT Agent sends command to device 5. Device answers with command result 6. IoT Agent updates context in CB 4. 1. 5. NGSI IoT Comm 2. 3. 6.
  • 31. Main IoT Agents available: Ultralight 2.0 30 APPLICATION TRANSPORT SIMPLIFIED OSI NETWORK LINK PHYSICAL MQTT / HTTP TCP IoT Device ULTRALIGHT IoT Agent TCP IPv4 TCP MQTT / HTTP ULTRALIGHT HTTP NGSI/REST TCP CONTEXT BROKER IPv4 HTTP NGSI /REST
  • 32. Main IoT Agents available: Ultralight 2.0 § Measure payload syntax • temperature | 15 | position | up § Does not support lazy attributes § https://github.com/Fiware/iot.IoTagent-UL § Un-appropriate for: • Really constrained devices • Low-Power and Lossy Networks (LLNs), § Data model based on shorter text messages 31
  • 33. Main IoT Agents available: JSON 32 APPLICATION TRANSPORT SIMPLIFIED OSI NETWORK LINK PHYSICAL MQTT / HTTP TCP IoT Device JSON IoT Agent TCP IPv4 TCP MQTT / HTTP JSON HTTP NGSI/REST TCP CONTEXT BROKER IPv4 HTTP NGSI /REST
  • 34. Main IoT Agents available: JSON § Measure payload syntax • {“temperature”: 40.2, “position”: “left”} § Does not support lazy attributes § https://github.com/Fiware/iot.IoTagent-JSON § Un-appropriate for: • Really constrained devices • Low-Power and Lossy Networks (LLNs), § Data model based on JSON standard objects 33
  • 35. Main IoT Agents available: OMA Lightweight M2M 34 http://openmobilealliance.org
  • 36. Main IoT Agents available: OMA Lightweight M2M 35 APPLICATION TRANSPORT SIMPLIFIED OSI NETWORK LINK PHYSICAL DTLS / CoAP UDP IoT Device LWM2M IoT Agent UDP IPv4 TCP DTLS / CoAP LWM2M HTTP NGSI/REST TCP CONTEXT BROKER IPv4 HTTP NGSI /REST
  • 37. Main IoT Agents available: OMA Lightweight M2M § Object model • Based on Object and Resource hierarchy (e.g.: /1/12/3) • OMA Registry § https://github.com/Fiware/iot.IoTagent-LWM2M § Appropriate for: • Really constrained devices • Low-Power and Lossy Networks (LLNs), 36
  • 38. Main IoT Agents available: OPC-UA 37
  • 39. Main IoT Agents available: LoRaWAN 38
  • 40. How to start… First, choose your flavour!! 39
  • 41. § https://fiware-iot-stack.readthedocs.io/en/latest/device_gateway/index.html § https://github.com/Fiware/iot.IoTagent-node-lib § https://github.com/Fiware/iot.IoTagent-UL § https://github.com/Fiware/iot.IoTagent-JSON § https://github.com/Fiware/iot.IoTagent-LWM2M How to start… Then, docs and requirements 40
  • 42. How to start… Finally, node/npm or docker? 41
  • 43. Thank you! http://fiware.org Follow @FIWARE on Twitter Daniel Calvo IoE Lab. ATOS Research & Innovation daniel.calvo@atos.net