SlideShare a Scribd company logo
1 of 36
Download to read offline
FIWARE IoT Agents
1
IoT Communication Protocols
2
Range
Speed
< 3m < 5km < 100km
bps
Kbps
Mbps
IoT Network of Networks
3
https://atos.net/content/mini-sites/journey-2020/index.html
IoT Devices: constrained nodes
4
IoT Devices: constrained nodes
5
ARM	Cortex-M3 32	MHz
~MB	Flash,	~KB	RAM
ZigBee, GRPS,	IEEE	802.15.4
Low	power	consumption	
mode
Contiki	OS,	FreeRTOS,	RIOT
IoT Devices: constrained nodes
§ https://tools.ietf.org/html/rfc7228
§ Target of price lower as possible. Less than 1$??
6
Class RAM Flash
Class 0 <	1KB <100KB
Class 1 ~10KB ~100KB
Class 2 ~50KB ~250KB
IoT Agents: Connecting IoT Protocols to FIWARE
7
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
8
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
9
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
IoT Agents’ features
10
IoT Agent
IoT Agent Lib
Agent Ad-hoc
Context broker
IoT Device
External system
1. IoT Agent Registers the device
1.
IoT Agents’ features
11
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
12
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
13
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
14
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
15
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
16
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
17
• devID0001
• remoteType
Entity
• temperature
• float
• 25.4
Attribute
• heartRate
• integer
• 80
Attribute
IoT Agents: active attributes
18
http://www.smartdubai.ae
IoT Agents: active attributes
19
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 be sleep to reduce energy
consumption
IoT Agents: lazy attributes
20
IoT Agents: lazy attributes
21
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
22
https://atmelcorporation.files.wordpress.com
IoT Agents: commands
23
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.
Device Provisioning API
§ POST /iot/devices
§ Service headers
• FIWARE-service
• FIWARE-servicepath
24
{ "devices": [
{
device_id: “coffee001”,
entity_name: “coffeeMachineHome",
entity_type: “coffeMachineDevice",
attributes: [
{
name: “waterLevel",
type: “integer"
}
],
lazy: [
{
name: “status",
type: “string"
}
],
commands: [
{
name: “start",
type: “string"
}]}]}
Configuration API
§ POST /iot/services
§ Service headers
• FIWARE-service
• FIWARE-servicepath
25
{ services: [
{
resource: “/deviceTest”,
apikey: “801230BJKL23Y24HV8732”,
type: “Light”,
trust: “8970A9078A803HAMS”,
commands: [],
lazy: [{
name: “luminescence”,
type: “Lumens”
}],
active:[]
}
]
}
Main IoT Agents available: Ultralight 2.0
26
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
27
Main IoT Agents available: JSON
28
APPLICATION
TRANSPORT
SIMPLIFIED OSI
NETWORK
LINK
PHYSICAL
MQTT
TCP
IoT Device
JSON
IoT Agent
TCP
IPv4
TCP
MQTT
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
29
Main IoT Agents available: OMA Lightweight M2M
30
http://openmobilealliance.org
Main IoT Agents available: OMA Lightweight M2M
31
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),
32
How to start… First, choose your flavour!!
33
§ 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
34
How to start… Finally, node/npm or docker?
35
Thank you!
http://fiware.org
Follow @FIWARE on Twitter
Jose	Gato	/	Daniel	Calvo
IoE	Lab.	ATOS	Research	&	
Innovation
jose.gato@atos.net	/	
daniel.calvo@atos.net

More Related Content

What's hot

What's hot (20)

Context Information Management in IoT enabled smart systems - the basics
Context Information Management in IoT enabled smart systems - the basicsContext Information Management in IoT enabled smart systems - the basics
Context Information Management in IoT enabled smart systems - the basics
 
FIWARE Global Summit - Building Personalized FIWARE Enabled IoT Sandbox Solution
FIWARE Global Summit - Building Personalized FIWARE Enabled IoT Sandbox SolutionFIWARE Global Summit - Building Personalized FIWARE Enabled IoT Sandbox Solution
FIWARE Global Summit - Building Personalized FIWARE Enabled IoT Sandbox Solution
 
Icinga Camp New York 2018 - Opening
Icinga Camp New York 2018 - OpeningIcinga Camp New York 2018 - Opening
Icinga Camp New York 2018 - Opening
 
Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)
 
Introduction to FIWARE Cloud & Context Broker
Introduction to FIWARE Cloud & Context BrokerIntroduction to FIWARE Cloud & Context Broker
Introduction to FIWARE Cloud & Context Broker
 
Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga Camp New York 2018 - What's evolving in icinga 2018Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga Camp New York 2018 - What's evolving in icinga 2018
 
Azure IoT hub
Azure IoT hubAzure IoT hub
Azure IoT hub
 
Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8
 
Setting up your virtual infrastructure using FIWARE Lab Cloud
Setting up your virtual infrastructure using FIWARE Lab CloudSetting up your virtual infrastructure using FIWARE Lab Cloud
Setting up your virtual infrastructure using FIWARE Lab Cloud
 
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
 
FIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scaleFIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scale
 
Developing an IoT System FIWARE Based from the Scratch
Developing an IoT System FIWARE Based from the ScratchDeveloping an IoT System FIWARE Based from the Scratch
Developing an IoT System FIWARE Based from the Scratch
 
DotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il ConcentratoreDotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il Concentratore
 
FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
 
Connecting Heterogeneus IoT Technologies & Products
Connecting Heterogeneus IoT Technologies & ProductsConnecting Heterogeneus IoT Technologies & Products
Connecting Heterogeneus IoT Technologies & Products
 
FIWARE Global Summit - Building Your First Smart App Using FIWARE – Getting S...
FIWARE Global Summit - Building Your First Smart App Using FIWARE – Getting S...FIWARE Global Summit - Building Your First Smart App Using FIWARE – Getting S...
FIWARE Global Summit - Building Your First Smart App Using FIWARE – Getting S...
 
IoT on Azure
IoT on AzureIoT on Azure
IoT on Azure
 
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components AutomationsFIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
 
IoT Agents (With Lightweight M2M)
IoT Agents (With Lightweight M2M)IoT Agents (With Lightweight M2M)
IoT Agents (With Lightweight M2M)
 
FIWARE Wednesday Webinars - How to Debug IoT Agents
FIWARE Wednesday Webinars - How to Debug IoT AgentsFIWARE Wednesday Webinars - How to Debug IoT Agents
FIWARE Wednesday Webinars - How to Debug IoT Agents
 

Similar to FIWARE Tech Summit - FIWARE IoT Agents

Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
mfrancis
 
Key Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systemsKey Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systems
Pratul Sharma
 
Cisco Application eXtension Platform (AXP) - James Weathersby, Cisco
Cisco Application eXtension Platform (AXP) - James Weathersby, CiscoCisco Application eXtension Platform (AXP) - James Weathersby, Cisco
Cisco Application eXtension Platform (AXP) - James Weathersby, Cisco
mfrancis
 

Similar to FIWARE Tech Summit - FIWARE IoT Agents (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 IoT Introduction 1
FIWARE IoT Introduction 1FIWARE IoT Introduction 1
FIWARE IoT Introduction 1
 
FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community
 
Fiware IoT_IDAS_intro_ul20_v2
Fiware IoT_IDAS_intro_ul20_v2Fiware IoT_IDAS_intro_ul20_v2
Fiware IoT_IDAS_intro_ul20_v2
 
Introduction to FIWARE Open Ecosystem
Introduction to FIWARE Open EcosystemIntroduction to FIWARE Open Ecosystem
Introduction to FIWARE Open Ecosystem
 
Connecting to the internet of things (IoT)
Connecting to the internet of things (IoT)Connecting to the internet of things (IoT)
Connecting to the internet of things (IoT)
 
What is an IoT Agent
What is an IoT AgentWhat is an IoT Agent
What is an IoT Agent
 
FIWARE Internet of Things
FIWARE Internet of ThingsFIWARE Internet of Things
FIWARE Internet of Things
 
FIWARE Internet of Things
FIWARE Internet of ThingsFIWARE Internet of Things
FIWARE Internet of Things
 
Osiot13 IoT buildout
Osiot13 IoT buildoutOsiot13 IoT buildout
Osiot13 IoT buildout
 
DEVNET-1128 Cisco Intercloud Fabric NB Api's for Business & Providers
DEVNET-1128	Cisco Intercloud Fabric NB Api's for Business & ProvidersDEVNET-1128	Cisco Intercloud Fabric NB Api's for Business & Providers
DEVNET-1128 Cisco Intercloud Fabric NB Api's for Business & Providers
 
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
 
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
 
Key Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systemsKey Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systems
 
Cisco Application eXtension Platform (AXP) - James Weathersby, Cisco
Cisco Application eXtension Platform (AXP) - James Weathersby, CiscoCisco Application eXtension Platform (AXP) - James Weathersby, Cisco
Cisco Application eXtension Platform (AXP) - James Weathersby, Cisco
 
Introduction to FIWARE IoT
Introduction to FIWARE IoTIntroduction to FIWARE IoT
Introduction to FIWARE IoT
 
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
 
IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018
 
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
 
CQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applicationsCQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applications
 

More from 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
 

More from 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
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

FIWARE Tech Summit - FIWARE IoT Agents

  • 2. IoT Communication Protocols 2 Range Speed < 3m < 5km < 100km bps Kbps Mbps
  • 3. IoT Network of Networks 3 https://atos.net/content/mini-sites/journey-2020/index.html
  • 5. IoT Devices: constrained nodes 5 ARM Cortex-M3 32 MHz ~MB Flash, ~KB RAM ZigBee, GRPS, IEEE 802.15.4 Low power consumption mode Contiki OS, FreeRTOS, RIOT
  • 6. IoT Devices: constrained nodes § https://tools.ietf.org/html/rfc7228 § Target of price lower as possible. Less than 1$?? 6 Class RAM Flash Class 0 < 1KB <100KB Class 1 ~10KB ~100KB Class 2 ~50KB ~250KB
  • 7. IoT Agents: Connecting IoT Protocols to FIWARE 7 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
  • 8. IoT Agents: Connecting IoT Protocols to FIWARE 8 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
  • 9. IoT Agents’ features 9 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system
  • 10. IoT Agents’ features 10 IoT Agent IoT Agent Lib Agent Ad-hoc Context broker IoT Device External system 1. IoT Agent Registers the device 1.
  • 11. IoT Agents’ features 11 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.
  • 12. IoT Agents’ features 12 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.
  • 13. IoT Agents’ features 13 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.
  • 14. IoT Agents’ features 14 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.
  • 15. IoT Agents’ features 15 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.
  • 16. IoT Agents’ features 16 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
  • 17. IoT Agents: device to NGSI mapping § Each IoT Device is mapped to a CB Entity § Each IoT resource is mapped to CB attribute 17 • devID0001 • remoteType Entity • temperature • float • 25.4 Attribute • heartRate • integer • 80 Attribute
  • 18. IoT Agents: active attributes 18 http://www.smartdubai.ae
  • 19. IoT Agents: active attributes 19 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 be sleep to reduce energy consumption
  • 20. IoT Agents: lazy attributes 20
  • 21. IoT Agents: lazy attributes 21 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.
  • 23. IoT Agents: commands 23 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.
  • 24. Device Provisioning API § POST /iot/devices § Service headers • FIWARE-service • FIWARE-servicepath 24 { "devices": [ { device_id: “coffee001”, entity_name: “coffeeMachineHome", entity_type: “coffeMachineDevice", attributes: [ { name: “waterLevel", type: “integer" } ], lazy: [ { name: “status", type: “string" } ], commands: [ { name: “start", type: “string" }]}]}
  • 25. Configuration API § POST /iot/services § Service headers • FIWARE-service • FIWARE-servicepath 25 { services: [ { resource: “/deviceTest”, apikey: “801230BJKL23Y24HV8732”, type: “Light”, trust: “8970A9078A803HAMS”, commands: [], lazy: [{ name: “luminescence”, type: “Lumens” }], active:[] } ] }
  • 26. Main IoT Agents available: Ultralight 2.0 26 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
  • 27. 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 27
  • 28. Main IoT Agents available: JSON 28 APPLICATION TRANSPORT SIMPLIFIED OSI NETWORK LINK PHYSICAL MQTT TCP IoT Device JSON IoT Agent TCP IPv4 TCP MQTT JSON HTTP NGSI/REST TCP CONTEXT BROKER IPv4 HTTP NGSI /REST
  • 29. 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 29
  • 30. Main IoT Agents available: OMA Lightweight M2M 30 http://openmobilealliance.org
  • 31. Main IoT Agents available: OMA Lightweight M2M 31 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
  • 32. 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), 32
  • 33. How to start… First, choose your flavour!! 33
  • 34. § 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 34
  • 35. How to start… Finally, node/npm or docker? 35
  • 36. Thank you! http://fiware.org Follow @FIWARE on Twitter Jose Gato / Daniel Calvo IoE Lab. ATOS Research & Innovation jose.gato@atos.net / daniel.calvo@atos.net