SlideShare uma empresa Scribd logo
1 de 32
FIWARE IoT:Beginner’s Tutorial
Carlos Ralli Ucendo, @carlosralli . Telefonica I+D
IoT Chapter Architect, FIWARE
FIWARE (IoT) Target: Developers
Context
Broker
App Logic
@FIWARE-Cloud
Desktop/Mobile/Tablet
User Interface
Web 3D GE / Advanced UI
Wirecloud GE / Dashboards
OAuth2.0
SANTANDER
SMARTSPACES
SEVILLA 2) IoT Providers. Pretty Heterogeneous solutions/skills.
• An incremental approach. Public/Private instances.
• KISS philosophy for most (web)developers.
• Advanced IoT architecture, e.g. for IoT Advanced
Devel.
1) IoT Consumers. Normally not just IoT.
• A single point, API & Protocol for IoT, OpenData, etc.
• Context: Data Entities + Data Entities events.
• A Public & Secured Ecosystem at FIWARE Lab
MultiMedia
Events
Complex
Event
Processing
IoT-Agents
(IDAS 3.0)
Smartcities
OpenData
BigData
Analytics
FIWARE Lab: OpenData/IoT Resources Ecosystem
3
SANTANDER
SEVILLA
MALAGA
TRENTO
Consuming IoT Data: ContextBroker
4
Developers need to know/discover the Ecosystem conventions. Examples:
Developers may:
•Query an Entity (whole set or specific attributes) or Subscribe to changes of attributes of Entities.
•Discover all Entities (entity_IDs) or all Entities with a specific “type”.
•Discover all Entity types.
Full List of FIWARE Lab (Global Context Broker) conventions (section 3.5):
https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_User_and_Programmers_Guide
My
FIWARE-App
Context
Broker
OAuth2.0
OMA NGSI10 - QueryContext
OMA NGSI10 - SubscribeContext
(type, entity_ID, attributes)
Entities
IoT Providers: Connect any “Thing”/System to FIWARE Lab
5
Context
Broker
OAuth2.0
Your IoT
IoT
Backend
Gateway GEs Backend GEs
NGSI9/10
A) NGSI Agent
B) IoT BE ( IoT-Agents)
C) Advanced Scenarios
UL2.0/HTTP, UL2.0/MQTT, LWM2M/CoAP
NGSI
Propietary
Zigbee
Zwave
CoAP/MTRunner
ETSIM2M
CoAP/LWM2M
NGSI
NGSI
IDAS 3.0 Gei within FIWARE Catalogue
6
http://wiki.fi-ware.org/Internet_of_Things_(IoT)_Services_Enablement_Architecture
IoT-Agents (IDAS)
IDAS3.0 - Modular architecture: IoT-Agents
•Monolithic vs Modular -> Easier Installation, Cloud Blueprints
•Coded in C++ vs Coded in any language -> Higher flexibility
•Extensibility via C++ plugins vs a new IoT Agent -> Easier to get
contribs/extensions
•Scalability by design
FIWARE Context Broker
IoT
Agent-UL2.0
IoT
Agent-TT
IoT
Agent-
lwm2m
IoT Agent
Manager
create/monitor
FIWARE IoT Backend
Device Management
OMA NGSI API (Developers’ Interface)
(southbound interfaces)
Thinking
Things
Ultralight2.0 OMA
LWM2M/IETF
CoAP
OMA NGSI API
BE Device
Management
(IDAS)
IoT-Agent-UltraLight2.0 (IDAS) – FIGWAY Python2.7 Tools
Testing /
Hackathons
https://github.com/telefonicaid/fiware-figway/
•Coded in Python. Tested with RaspberryPI, MACOS & Linux.
•Tools for (virtual) Sensors via IDAS IoT-Agent (Ultralight2.0)
•Tools to access a ContextBroker.
Annex I: FIGWAY - Configuration
figway/python/config.ini
 [user]
# Please, configure here your username at FIWARE Cloud and a valid Oauth2.0 
TOKEN for your user (you can use get_token.py to obtain a valid TOKEN). 
username=
token=
 [local]
#Choose here your System type. Examples: RaspberryPI, MACOSX, Linux, ...
host_type=RaspberryPI
# Here please add a unique identifier for you. Suggestion: the 3 lower hexa bytes of 
your Ethernet MAC. E.g. 79:ed:af
# Also you may use your e-mail address.
host_id=3F:2A:1A
Annex I: FIGWAY – Registering a (UL2.0) Sensor
SensorsUL20/> python RegisterDevice.py [DEV_MODEL] [DEV NAME] [ASSET]
> python RegisterDevice.py SENSOR_TEMP Sensor1 Temperature-Madrid28001
* YOUR DEVICE details:
*** DEVICE ID = 3F:2A:1A:Sensor1
*** ASSET ID = 3F:2A:1A:Temperature-Madrid28001
* This device will be sent to the ContextBroker with the following configuration
*** Entity ID = SENSOR_TEMP.3F:2A:1A:Temperature-Madrid28001
*** Entity Type = Device
*** FIWARE_SERVICE = OpenIoT
…
* Status Code: 201
* Response:
Annex I: FIGWAY - Sending Sensor Observations/Measurements
ContextBroker/> python SendObservation.py [DEV_ID] ‘[alias1|value1]’
> python SendObservation.py 3F:2A:1A:Sensor1 't|26'
* Asking to http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=3F:2A:1A:Sensor1
* Headers: {'content-type': 'application/text', 'X-Auth-Token’: 
'Zvcg**********************************************************************qvD6g'}
* Sending PAYLOAD: 
t|26
...
* Status Code: 200
* Response:
Annex I: FIGWAY – Check observation was correctly sent
SensorsUL20/> python ReadObservation.py [DEV_ID]
> Python ReadDeviceStatus.py 3F:2A:1A:Temperature-Madrid28001
{
    "data": {
        "status": "Active", 
        "isConcentrator": false, 
        "name": "3F:2A:1A:Sensor1", 
        "registrationTime": "2014-11-28T12:59:53Z", 
"creationTime": "2014-11-28T12:59:53Z", 
        "commands": [], 
        "sensorData": [
            {
                "ms": {
                    "p": "Temperature", 
                    "u": "celsius", 
                    "v": 26.0
                }, 
Annex I: FIGWAY – Read your Sensor data at the ContextBroker
ContextBroker/> python GetEntity.py [ENTITY_ID]
> python GetEntity.py SENSOR_TEMP.3F:2A:1A:Temperature-Madrid28001
*Asking to http://130.206.80.47:1026/ngsi10/queryContext
* Headers: {'Fiware-Service': 'OpenIoT', 'content-type': 'application/json', 'accept': 'application/json', 'X-Auth-
Token': 'xn6V**********************************************************************kDwxw'}
* Response: 
…
  "contextElement" : {
        "type" : "device",
        "isPattern" : "false",
        "id" : "SENSOR_TEMP.3F:2A:1A:Temperature-Madrid28001",
        "attributes" : [
…
            "name" : "Temperature",
            "type" : "Quantity",
            "value" : ”26",
            "metadatas" : [
Annex I: FIGWAY – What if I want to create other kind of sensors?
SensorsUL20/> python DiscoverModels.py
> Python DiscoverModels.py 
* Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models
* Headers: {'content-type': 'application/json', 'X-Auth-Token': 
'Zvcg**********************************************************************qvD6g'}
…
* Status Code: 200
* Total Number of Models: 8
* Full List of Models:
SENSOR_HUM
SENSOR_LUM
SENSOR_MOV
SENSOR_TEMP
SENSOR_TEMP_test2
SENSOR_ZWAVE_4IN1
Annex I: FIGWAY – What if I want to create other kind of sensors? (II)
SensorsUL20/> python GetModel.py [MODEL_TYPE]
> python GetModel.py SENSOR_TEMP 
** Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models/SENSOR_TEMP
* Headers: {'content-type': 'application/json', 'X-Auth-Token': 
'Zvcg**********************************************************************qvD6g'}
…
* Status Code: 200
{
"capabilities": [
            {
                "format": {
                    "alias": "t", 
                    "type": "Quantity", 
                    "name": "Temperature", 
                    "uom": "celsius", 
                    "phenomenon": "urn:x-ogc:def:phenomenon:IDAS:1.0:temperature"
                }, 
Annex I: FIGWAY – What if I want to create other kind of sensors? (III)
SensorsUL20/> python CreateModel.py [MODEL_FILE]
> python CreateModel.py SENSOR_TEMP_2 
** Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models/SENSOR_TEMP_2
* Headers: {'content-type': 'application/json', 'X-Auth-Token': 
'Zvcg**********************************************************************qvD6g'}
…
* Status Code: 201
Annex I: FIGWAY – What if I want to connect Actuators?
SensorsUL20/> python CreateModel.py SWITCH
{
"name": "SWITCH",
"commands" : [
{
"name" : "RawCommand",
"parameters" : [{
"name" : "Command",
"type" : "Text",
"phenomenon" : "urn:x-ogc:def:phenomenon:IDAS:1.0:unknown"
}]
} ],
"capabilities": [
…
"protocol": "ul-2_0"
}
Annex I: FIGWAY – What if I want to connect Actuators? (II)
SensorsUL20/> python RegisterDevice.py SWITCH lamp3 lamp3-Madrid
* YOUR DEVICE details:
*** DEVICE ID = 3F:2A:1A:lamp3
*** ASSET ID = 3F:2A:1A:lamp3-Madrid
* This device will be sent to the ContextBroker with the following configuration
*** Entity ID = SWITCH.3F:2A:1A:lamp3-Madrid
*** Entity Type = Device
*** FIWARE_SERVICE = OpenIoT
…
* Status Code: 201
Annex I: FIGWAY – What if I want to connect Actuators? (III)
python SendCommand.py [ASSET_ID] RawCommand Command ‘[COMMAND]‘
> python SendCommand.py 3F:2A:1A:lamp3-Madrid RawCommand Command 'Set
95-10-23'
* Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets/3F:2A:1A:lamp3-
Madrid/command
* Headers: {'content-type': 'application/json', 'X-Auth-Token':
'xn6V**********************************************************************kDwxw'}
* Sending PAYLOAD:
{"name": "RawCommand", "params": [ { "name":"Command", "value": "Set 95-10-23" } ] }
...
* Status Code: 200
* Response:
{"commandResultML":"<commandResultML>Pending</commandResultML>"}
Annex I: FIGWAY – What if I want to connect Actuators (IV)
python GetPoolingCommands.py [DEV_ID]
> python GetPoolingCommands.py 3F:2A:1A:lamp3
* Asking to http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=3F:2A:1A:lamp3
* Headers: {'content-type': 'application/text', 'X-Auth-Token':
'xn6V**********************************************************************kDwxw'}
* Sending PAYLOAD:
...
* Status Code: 200
* Response:
3F:2A:1A:lamp3@RawCommand|Command=Set 95-10-23
Annex I: FIGWAY – What if I want to connect Actuators (V)
Python DebugCommand.py [ASSET_ID]
> python DebugCommand.py 3F:2A:1A:lamp3-Madrid
* Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets/3F:2A:1A:lamp3-
Madrid/command
* Headers: {'content-type': 'application/json', 'X-Auth-Token':
'xn6V**********************************************************************kDwxw'}
* Sending PAYLOAD:
...
* Status Code: 200
* Response:
{"count":1,"data":[{"command_id":"3F:2A:1A:lamp3@RawCommand","timestamp":"2014-12-
02T15:21:08.313135+01:00","status":"DELIVERED"}]}
Connect your IoT: IoT-Agent-UltraLight2.0 (IDAS)
For testing use:
- Service: OpenIoT
Step 1 – Create Model
Step 2 – Create Asset (device)
Step 3 – Send Measurements
Step 4 – Send Commands
IDAS/SBC Testing details:
•IPv4: 130.206.80.47
•IPv6: 2001:720:1514:80::47
•Devices API (UL2.0). Port: 8002 (IPv4)
•ADMIN API. Port: 5371 (IPv4/IPv6)
•Testing Service: OpenIoT
•APIKEY: 4jggokgpepnvsb2uv4s40d59ov
•Service URL:
<IDAS_HOST>/m2m/v2/services/OpenIoT
IoT-Agent-UltraLight2.0 (IDAS)
Step 1 – Create Model
(REST ADMIN API)
Payload JSON Format:
- Check IDAS documents
(At FIWARE Catalogue)
- TOKEN = FIWARE Oauth Token.
- Measurements have an “alias”.
E.g: Temperature=t
“Open IoT” example Models:
•SENSOR_TEMP
•SENSOR_HUM
•SENSOR_LUM
•SENSOR_MOV
•SENSOR_ZWAVE_4IN1
HTTP POST:
http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models/
Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]}
Payload:
{ "name": "SENSOR_TEMP",
"capabilities" : [
{ "name" : "Temperature",
"property" : "temperature",
"format" : {
"name" : "Temperature",
"alias" : "t" ,
"phenomenon": "urn:x-ogc:def:phenomenon:IDAS:1.0:temperature",
"type" : "Quantity",
"uom": "celsius”
} } ],
"protocol": "ul-2_0” }
IoT-Agent-UltraLight2.0 (IDAS)
Step 2 – Create Asset
ASSET = LOGICAL DEVICE
(REST ADMIN API)
Payload JSON Format:
- Check IDAS documents
At FIWARE Catalogue.
- TOKEN = FIWARE Oauth Token.
- Must reuse an existing Model.
- DEV_ID = 1st
“name”
- ASSET_ID = 2nd
(asset) “name”
HTTP POST:
http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets/
Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]}
Payload:
{ "name": ”gateway02:Arduino01-Temp-Garden",
"model": "SENSOR_TEMP",
"asset": {
"name": ”TEMP-Garden-Madrid28027",
"description": "asset model protocol”
}
}
IDASIDAS
Device ID
ASSET ID
Devices API
ADMIN API
IoT-Agent-UltraLight2.0 (IDAS)
Step 3 – Send Measurements
(UL2.0 DEVICE API)
Payload JSON Format:
- TOKEN = FIWARE Oauth Token.
- DEV_ID = Asset name (Step 2).
* Read Last Measurements:
HTTP GET:
/
m2m/v2/services/OpenIoT/assets/
[ASSET_ID]
HTTP POST:
http://130.206.80.47:8002/d?k=[APIKEY]&i=[DEV_ID]
http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=GW02:Arduino01-Temp-Garden
Headers: {'content-type': 'application/text’; 'X-Auth-Token' : [TOKEN]}
Payload: ‘ t|25‘
- Sending multiple measurements with one request:
http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=RPI:79:ed:af:4IN1-Room
Headers: {'content-type': 'application/text’; 'X-Auth-Token' : [TOKEN]}
Payload: ‘t|23#h|80#l|95#m|Quiet‘
IoT-Agent-UltraLight2.0 (IDAS)
Step 4 – Sending Commands to Devices
IDASIDAS
IoT-Agent-UltraLight2.0 (IDAS)
Step 4.2 - Send Commands via IDAS REST ADMIN API
Step 4.1a (PUSH)– Define Command & Register Commands URL
HTTP POST:
http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID]/command
Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]}
Payload:
{"name": ” [COMMAND]", "params": [ { "name":” [PARAMETER]", "value": ” [VALUE]" } ] }
HTTP PUT:
http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID]
Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]}
Payload:
{ "commands" : [
{ "name" : "RawCommand”,
"parameters" : [{
"name" : "Command",
"type" : "Text",
"phenomenon" : "urn:x-ogc:def:phenomenon:IDAS:1.0:unknown"
}]}],}
IoT-Agent-UltraLight2.0 (IDAS)
Step 4.2 - Send Commands via IDAS REST ADMIN API
Step 4.1b (POOLING) - Define Command & Get Commands from Device
HTTP GET:
http://130.206.80.47:8002/d?k=[APIKEY]&i=[DEV_ID]
Headers: {'content-type': 'application/text’; 'X-Auth-Token' : [TOKEN]}
HTTP POST:
http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID]/command
Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]}
Payload:
{"name": ” [COMMAND]", "params": [ { "name":” [PARAMETER]", "value": ” [VALUE]" } ] }
HTTP PUT:
http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID]
Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]}
Payload:
{ "commands" : [
{ "name" : ” [COMMAND]”,
"parameters" : [{
"name" : ” [PARAMETER]",
"type" : "Text",
"phenomenon" : "urn:x-ogc:def:phenomenon:IDAS:1.0:unknown"
}]}],}
FIWARE Community: Kick off @ CPE’13
29
1st
Prize………….SmartAds
Complete context-sensitive Ads solution developed
in just 4 days & nights.
Neelie Kroes FIWARE Lab Launch
Hackathon + Challenges Announcements
Massive, > 6K developers
Mainly young entrepreneurs
Talent
Day&Night
Involving developers, debugging, improving training sessions
FIWARE Community: Smartcities IoT Data & SMEs involvement
30
Smartcity resources exploitation, involve local market & public policies makers
1st
Prize………….MagicBox…………………………………………….….…..…TVs displaying Smartcities & Smartspaces.
2nd
Prize………….FI-BOT……………………………………………………..….…Robotics exploiting opendata & sensors.
3rd
Prize.…………OpenAlerts……..…..............................................Interfaces for citizens (mobile If-Then App).
4th
Prize………….Traffic Heatmap…..............................................Traffic routing based on city real-time Info.
Winning Teams
33 succeeded building a product-like working App (of 77 registered developers)
Several participants own a Start-up & keep on using FIWARE
FIWARE Community: Emerging IoT Trends fast
adoption
31
iBeacons in FI-WARE by Context Team.
•3rd
prize within SmartBusiness FIWARE challenge.
(Jan 2014 @ CPBR7 Sao Paulo)
Thanks!Thanks!

Mais conteúdo relacionado

Mais procurados

Developing your first application using FI-WARE
Developing your first application using FI-WAREDeveloping your first application using FI-WARE
Developing your first application using FI-WARE
Fermin Galan
 

Mais procurados (20)

FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community
 
Introduction to FIWARE IoT
Introduction to FIWARE IoTIntroduction to FIWARE IoT
Introduction to FIWARE IoT
 
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
 
A Complete IoT Backend Infrastructure in FIWARE
A Complete IoT Backend Infrastructure in FIWAREA Complete IoT Backend Infrastructure in FIWARE
A Complete IoT Backend Infrastructure in FIWARE
 
IoT Agents (Introduction)
IoT Agents (Introduction)IoT Agents (Introduction)
IoT Agents (Introduction)
 
Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet
 
Io t basic-exercises
Io t basic-exercisesIo t basic-exercises
Io t basic-exercises
 
Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet
 
Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8
 
IoT-Broker Developers Week
IoT-Broker Developers WeekIoT-Broker Developers Week
IoT-Broker Developers Week
 
IoT Agents (With Lightweight M2M)
IoT Agents (With Lightweight M2M)IoT Agents (With Lightweight M2M)
IoT Agents (With Lightweight M2M)
 
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
 
FIWARE Primer - Learn FIWARE in 60 Minutes
FIWARE Primer - Learn FIWARE in 60 MinutesFIWARE Primer - Learn FIWARE in 60 Minutes
FIWARE Primer - Learn FIWARE in 60 Minutes
 
FIWARE IoT Introduction 1
FIWARE IoT Introduction 1FIWARE IoT Introduction 1
FIWARE IoT Introduction 1
 
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 Internet of Things
FIWARE Internet of ThingsFIWARE Internet of Things
FIWARE Internet of Things
 
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)
 
Developing your first application using FI-WARE
Developing your first application using FI-WAREDeveloping your first application using FI-WARE
Developing your first application using FI-WARE
 
What is an IoT Agent
What is an IoT AgentWhat is an IoT Agent
What is an IoT Agent
 
FIWARE at LeWeb - Agenda
FIWARE at LeWeb - AgendaFIWARE at LeWeb - Agenda
FIWARE at LeWeb - Agenda
 

Destaque

Developing your first application using FIWARE
Developing your first application using FIWAREDeveloping your first application using FIWARE
Developing your first application using FIWARE
FIWARE
 

Destaque (8)

IDC 2009 Sales Barometer & Top Ten Predictions
IDC 2009 Sales Barometer & Top Ten PredictionsIDC 2009 Sales Barometer & Top Ten Predictions
IDC 2009 Sales Barometer & Top Ten Predictions
 
Meetup Pix
Meetup PixMeetup Pix
Meetup Pix
 
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
 
Developing your first application using FIWARE
Developing your first application using FIWAREDeveloping your first application using FIWARE
Developing your first application using FIWARE
 
Schema.fiware.org: FIWARE Harmonized Data Models
Schema.fiware.org: FIWARE Harmonized Data ModelsSchema.fiware.org: FIWARE Harmonized Data Models
Schema.fiware.org: FIWARE Harmonized Data Models
 
FI-LAB for Smart Cities
FI-LAB for Smart CitiesFI-LAB for Smart Cities
FI-LAB for Smart Cities
 
Using fiware lab cloud
Using fiware lab cloudUsing fiware lab cloud
Using fiware lab cloud
 
FiWARE: transforming smart cities into engines of growth
FiWARE: transforming smart cities into engines of growthFiWARE: transforming smart cities into engines of growth
FiWARE: transforming smart cities into engines of growth
 

Semelhante a FIWARE Developers Week_FIWARE IoT: Beginner's tutorial_conference

Semelhante a FIWARE Developers Week_FIWARE IoT: Beginner's tutorial_conference (20)

Fiware IoT Proposal and Community
Fiware IoT Proposal and CommunityFiware IoT Proposal and Community
Fiware IoT Proposal and Community
 
Fiware IoT Proposal & Community
Fiware IoT Proposal & Community Fiware IoT Proposal & Community
Fiware IoT Proposal & Community
 
IThome DevOps Summit - IoT、docker與DevOps
IThome DevOps Summit - IoT、docker與DevOpsIThome DevOps Summit - IoT、docker與DevOps
IThome DevOps Summit - IoT、docker與DevOps
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura Shoot a-pi
Eclipse Kura Shoot a-pi
 
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
 
Resin.io overview (2016 July)
Resin.io overview (2016 July)Resin.io overview (2016 July)
Resin.io overview (2016 July)
 
Reply Netcamp PoliTo - AWS IoT - Grohe and Caleffi Case Studies
Reply Netcamp PoliTo - AWS IoT - Grohe and Caleffi Case StudiesReply Netcamp PoliTo - AWS IoT - Grohe and Caleffi Case Studies
Reply Netcamp PoliTo - AWS IoT - Grohe and Caleffi Case Studies
 
IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018
 
IRJET- IoT Based Swachch Bharat Abhiyan
IRJET-	 IoT Based Swachch Bharat AbhiyanIRJET-	 IoT Based Swachch Bharat Abhiyan
IRJET- IoT Based Swachch Bharat Abhiyan
 
Fiware IoT_intro&scenarios
Fiware IoT_intro&scenariosFiware IoT_intro&scenarios
Fiware IoT_intro&scenarios
 
Federico Michele Facca - FIWARE Primer - Learn FIWARE in 60 Minutes
Federico Michele Facca - FIWARE Primer - Learn FIWARE in 60 MinutesFederico Michele Facca - FIWARE Primer - Learn FIWARE in 60 Minutes
Federico Michele Facca - FIWARE Primer - Learn FIWARE in 60 Minutes
 
Understanding IoT with Cloud IoT Core
Understanding IoT with Cloud IoT CoreUnderstanding IoT with Cloud IoT Core
Understanding IoT with Cloud IoT Core
 
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse at the November Open Hardware Meetup, Mumbai 2014MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
 
FIWARE Internet of Things
FIWARE Internet of ThingsFIWARE Internet of Things
FIWARE Internet of Things
 
citus™ iot ecosystem
citus™ iot ecosystemcitus™ iot ecosystem
citus™ iot ecosystem
 
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentCodesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
 
Putting microservices on a diet with istio
Putting microservices on a diet with istioPutting microservices on a diet with istio
Putting microservices on a diet with istio
 
Connecting Heterogeneus IoT Technologies & Products
Connecting Heterogeneus IoT Technologies & ProductsConnecting Heterogeneus IoT Technologies & Products
Connecting Heterogeneus IoT Technologies & Products
 
Understanding IoT Data Protocol - PyCon ID 2018
Understanding IoT Data Protocol - PyCon ID 2018Understanding IoT Data Protocol - PyCon ID 2018
Understanding IoT Data Protocol - PyCon ID 2018
 
Internet of things - The Present & The Future
Internet of things - The Present & The FutureInternet of things - The Present & The Future
Internet of things - The Present & The Future
 

Mais 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
 

Mais 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
 

Último

Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
nilamkumrai
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
nirzagarg
 

Último (20)

best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
 

FIWARE Developers Week_FIWARE IoT: Beginner's tutorial_conference

  • 1. FIWARE IoT:Beginner’s Tutorial Carlos Ralli Ucendo, @carlosralli . Telefonica I+D IoT Chapter Architect, FIWARE
  • 2. FIWARE (IoT) Target: Developers Context Broker App Logic @FIWARE-Cloud Desktop/Mobile/Tablet User Interface Web 3D GE / Advanced UI Wirecloud GE / Dashboards OAuth2.0 SANTANDER SMARTSPACES SEVILLA 2) IoT Providers. Pretty Heterogeneous solutions/skills. • An incremental approach. Public/Private instances. • KISS philosophy for most (web)developers. • Advanced IoT architecture, e.g. for IoT Advanced Devel. 1) IoT Consumers. Normally not just IoT. • A single point, API & Protocol for IoT, OpenData, etc. • Context: Data Entities + Data Entities events. • A Public & Secured Ecosystem at FIWARE Lab MultiMedia Events Complex Event Processing IoT-Agents (IDAS 3.0) Smartcities OpenData BigData Analytics
  • 3. FIWARE Lab: OpenData/IoT Resources Ecosystem 3 SANTANDER SEVILLA MALAGA TRENTO
  • 4. Consuming IoT Data: ContextBroker 4 Developers need to know/discover the Ecosystem conventions. Examples: Developers may: •Query an Entity (whole set or specific attributes) or Subscribe to changes of attributes of Entities. •Discover all Entities (entity_IDs) or all Entities with a specific “type”. •Discover all Entity types. Full List of FIWARE Lab (Global Context Broker) conventions (section 3.5): https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_User_and_Programmers_Guide My FIWARE-App Context Broker OAuth2.0 OMA NGSI10 - QueryContext OMA NGSI10 - SubscribeContext (type, entity_ID, attributes) Entities
  • 5. IoT Providers: Connect any “Thing”/System to FIWARE Lab 5 Context Broker OAuth2.0 Your IoT IoT Backend Gateway GEs Backend GEs NGSI9/10 A) NGSI Agent B) IoT BE ( IoT-Agents) C) Advanced Scenarios UL2.0/HTTP, UL2.0/MQTT, LWM2M/CoAP NGSI Propietary Zigbee Zwave CoAP/MTRunner ETSIM2M CoAP/LWM2M NGSI NGSI
  • 6. IDAS 3.0 Gei within FIWARE Catalogue 6 http://wiki.fi-ware.org/Internet_of_Things_(IoT)_Services_Enablement_Architecture IoT-Agents (IDAS)
  • 7. IDAS3.0 - Modular architecture: IoT-Agents •Monolithic vs Modular -> Easier Installation, Cloud Blueprints •Coded in C++ vs Coded in any language -> Higher flexibility •Extensibility via C++ plugins vs a new IoT Agent -> Easier to get contribs/extensions •Scalability by design FIWARE Context Broker IoT Agent-UL2.0 IoT Agent-TT IoT Agent- lwm2m IoT Agent Manager create/monitor FIWARE IoT Backend Device Management OMA NGSI API (Developers’ Interface) (southbound interfaces) Thinking Things Ultralight2.0 OMA LWM2M/IETF CoAP OMA NGSI API BE Device Management (IDAS)
  • 8. IoT-Agent-UltraLight2.0 (IDAS) – FIGWAY Python2.7 Tools Testing / Hackathons https://github.com/telefonicaid/fiware-figway/ •Coded in Python. Tested with RaspberryPI, MACOS & Linux. •Tools for (virtual) Sensors via IDAS IoT-Agent (Ultralight2.0) •Tools to access a ContextBroker.
  • 9. Annex I: FIGWAY - Configuration figway/python/config.ini  [user] # Please, configure here your username at FIWARE Cloud and a valid Oauth2.0  TOKEN for your user (you can use get_token.py to obtain a valid TOKEN).  username= token=  [local] #Choose here your System type. Examples: RaspberryPI, MACOSX, Linux, ... host_type=RaspberryPI # Here please add a unique identifier for you. Suggestion: the 3 lower hexa bytes of  your Ethernet MAC. E.g. 79:ed:af # Also you may use your e-mail address. host_id=3F:2A:1A
  • 10. Annex I: FIGWAY – Registering a (UL2.0) Sensor SensorsUL20/> python RegisterDevice.py [DEV_MODEL] [DEV NAME] [ASSET] > python RegisterDevice.py SENSOR_TEMP Sensor1 Temperature-Madrid28001 * YOUR DEVICE details: *** DEVICE ID = 3F:2A:1A:Sensor1 *** ASSET ID = 3F:2A:1A:Temperature-Madrid28001 * This device will be sent to the ContextBroker with the following configuration *** Entity ID = SENSOR_TEMP.3F:2A:1A:Temperature-Madrid28001 *** Entity Type = Device *** FIWARE_SERVICE = OpenIoT … * Status Code: 201 * Response:
  • 11. Annex I: FIGWAY - Sending Sensor Observations/Measurements ContextBroker/> python SendObservation.py [DEV_ID] ‘[alias1|value1]’ > python SendObservation.py 3F:2A:1A:Sensor1 't|26' * Asking to http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=3F:2A:1A:Sensor1 * Headers: {'content-type': 'application/text', 'X-Auth-Token’:  'Zvcg**********************************************************************qvD6g'} * Sending PAYLOAD:  t|26 ... * Status Code: 200 * Response:
  • 12. Annex I: FIGWAY – Check observation was correctly sent SensorsUL20/> python ReadObservation.py [DEV_ID] > Python ReadDeviceStatus.py 3F:2A:1A:Temperature-Madrid28001 {     "data": {         "status": "Active",          "isConcentrator": false,          "name": "3F:2A:1A:Sensor1",          "registrationTime": "2014-11-28T12:59:53Z",  "creationTime": "2014-11-28T12:59:53Z",          "commands": [],          "sensorData": [             {                 "ms": {                     "p": "Temperature",                      "u": "celsius",                      "v": 26.0                 }, 
  • 13. Annex I: FIGWAY – Read your Sensor data at the ContextBroker ContextBroker/> python GetEntity.py [ENTITY_ID] > python GetEntity.py SENSOR_TEMP.3F:2A:1A:Temperature-Madrid28001 *Asking to http://130.206.80.47:1026/ngsi10/queryContext * Headers: {'Fiware-Service': 'OpenIoT', 'content-type': 'application/json', 'accept': 'application/json', 'X-Auth- Token': 'xn6V**********************************************************************kDwxw'} * Response:  …   "contextElement" : {         "type" : "device",         "isPattern" : "false",         "id" : "SENSOR_TEMP.3F:2A:1A:Temperature-Madrid28001",         "attributes" : [ …             "name" : "Temperature",             "type" : "Quantity",             "value" : ”26",             "metadatas" : [
  • 14. Annex I: FIGWAY – What if I want to create other kind of sensors? SensorsUL20/> python DiscoverModels.py > Python DiscoverModels.py  * Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models * Headers: {'content-type': 'application/json', 'X-Auth-Token':  'Zvcg**********************************************************************qvD6g'} … * Status Code: 200 * Total Number of Models: 8 * Full List of Models: SENSOR_HUM SENSOR_LUM SENSOR_MOV SENSOR_TEMP SENSOR_TEMP_test2 SENSOR_ZWAVE_4IN1
  • 15. Annex I: FIGWAY – What if I want to create other kind of sensors? (II) SensorsUL20/> python GetModel.py [MODEL_TYPE] > python GetModel.py SENSOR_TEMP  ** Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models/SENSOR_TEMP * Headers: {'content-type': 'application/json', 'X-Auth-Token':  'Zvcg**********************************************************************qvD6g'} … * Status Code: 200 { "capabilities": [             {                 "format": {                     "alias": "t",                      "type": "Quantity",                      "name": "Temperature",                      "uom": "celsius",                      "phenomenon": "urn:x-ogc:def:phenomenon:IDAS:1.0:temperature"                 }, 
  • 16. Annex I: FIGWAY – What if I want to create other kind of sensors? (III) SensorsUL20/> python CreateModel.py [MODEL_FILE] > python CreateModel.py SENSOR_TEMP_2  ** Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models/SENSOR_TEMP_2 * Headers: {'content-type': 'application/json', 'X-Auth-Token':  'Zvcg**********************************************************************qvD6g'} … * Status Code: 201
  • 17. Annex I: FIGWAY – What if I want to connect Actuators? SensorsUL20/> python CreateModel.py SWITCH { "name": "SWITCH", "commands" : [ { "name" : "RawCommand", "parameters" : [{ "name" : "Command", "type" : "Text", "phenomenon" : "urn:x-ogc:def:phenomenon:IDAS:1.0:unknown" }] } ], "capabilities": [ … "protocol": "ul-2_0" }
  • 18. Annex I: FIGWAY – What if I want to connect Actuators? (II) SensorsUL20/> python RegisterDevice.py SWITCH lamp3 lamp3-Madrid * YOUR DEVICE details: *** DEVICE ID = 3F:2A:1A:lamp3 *** ASSET ID = 3F:2A:1A:lamp3-Madrid * This device will be sent to the ContextBroker with the following configuration *** Entity ID = SWITCH.3F:2A:1A:lamp3-Madrid *** Entity Type = Device *** FIWARE_SERVICE = OpenIoT … * Status Code: 201
  • 19. Annex I: FIGWAY – What if I want to connect Actuators? (III) python SendCommand.py [ASSET_ID] RawCommand Command ‘[COMMAND]‘ > python SendCommand.py 3F:2A:1A:lamp3-Madrid RawCommand Command 'Set 95-10-23' * Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets/3F:2A:1A:lamp3- Madrid/command * Headers: {'content-type': 'application/json', 'X-Auth-Token': 'xn6V**********************************************************************kDwxw'} * Sending PAYLOAD: {"name": "RawCommand", "params": [ { "name":"Command", "value": "Set 95-10-23" } ] } ... * Status Code: 200 * Response: {"commandResultML":"<commandResultML>Pending</commandResultML>"}
  • 20. Annex I: FIGWAY – What if I want to connect Actuators (IV) python GetPoolingCommands.py [DEV_ID] > python GetPoolingCommands.py 3F:2A:1A:lamp3 * Asking to http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=3F:2A:1A:lamp3 * Headers: {'content-type': 'application/text', 'X-Auth-Token': 'xn6V**********************************************************************kDwxw'} * Sending PAYLOAD: ... * Status Code: 200 * Response: 3F:2A:1A:lamp3@RawCommand|Command=Set 95-10-23
  • 21. Annex I: FIGWAY – What if I want to connect Actuators (V) Python DebugCommand.py [ASSET_ID] > python DebugCommand.py 3F:2A:1A:lamp3-Madrid * Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets/3F:2A:1A:lamp3- Madrid/command * Headers: {'content-type': 'application/json', 'X-Auth-Token': 'xn6V**********************************************************************kDwxw'} * Sending PAYLOAD: ... * Status Code: 200 * Response: {"count":1,"data":[{"command_id":"3F:2A:1A:lamp3@RawCommand","timestamp":"2014-12- 02T15:21:08.313135+01:00","status":"DELIVERED"}]}
  • 22. Connect your IoT: IoT-Agent-UltraLight2.0 (IDAS) For testing use: - Service: OpenIoT Step 1 – Create Model Step 2 – Create Asset (device) Step 3 – Send Measurements Step 4 – Send Commands IDAS/SBC Testing details: •IPv4: 130.206.80.47 •IPv6: 2001:720:1514:80::47 •Devices API (UL2.0). Port: 8002 (IPv4) •ADMIN API. Port: 5371 (IPv4/IPv6) •Testing Service: OpenIoT •APIKEY: 4jggokgpepnvsb2uv4s40d59ov •Service URL: <IDAS_HOST>/m2m/v2/services/OpenIoT
  • 23. IoT-Agent-UltraLight2.0 (IDAS) Step 1 – Create Model (REST ADMIN API) Payload JSON Format: - Check IDAS documents (At FIWARE Catalogue) - TOKEN = FIWARE Oauth Token. - Measurements have an “alias”. E.g: Temperature=t “Open IoT” example Models: •SENSOR_TEMP •SENSOR_HUM •SENSOR_LUM •SENSOR_MOV •SENSOR_ZWAVE_4IN1 HTTP POST: http://130.206.80.47:5371/m2m/v2/services/OpenIoT/models/ Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]} Payload: { "name": "SENSOR_TEMP", "capabilities" : [ { "name" : "Temperature", "property" : "temperature", "format" : { "name" : "Temperature", "alias" : "t" , "phenomenon": "urn:x-ogc:def:phenomenon:IDAS:1.0:temperature", "type" : "Quantity", "uom": "celsius” } } ], "protocol": "ul-2_0” }
  • 24. IoT-Agent-UltraLight2.0 (IDAS) Step 2 – Create Asset ASSET = LOGICAL DEVICE (REST ADMIN API) Payload JSON Format: - Check IDAS documents At FIWARE Catalogue. - TOKEN = FIWARE Oauth Token. - Must reuse an existing Model. - DEV_ID = 1st “name” - ASSET_ID = 2nd (asset) “name” HTTP POST: http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets/ Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]} Payload: { "name": ”gateway02:Arduino01-Temp-Garden", "model": "SENSOR_TEMP", "asset": { "name": ”TEMP-Garden-Madrid28027", "description": "asset model protocol” } } IDASIDAS Device ID ASSET ID Devices API ADMIN API
  • 25. IoT-Agent-UltraLight2.0 (IDAS) Step 3 – Send Measurements (UL2.0 DEVICE API) Payload JSON Format: - TOKEN = FIWARE Oauth Token. - DEV_ID = Asset name (Step 2). * Read Last Measurements: HTTP GET: / m2m/v2/services/OpenIoT/assets/ [ASSET_ID] HTTP POST: http://130.206.80.47:8002/d?k=[APIKEY]&i=[DEV_ID] http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=GW02:Arduino01-Temp-Garden Headers: {'content-type': 'application/text’; 'X-Auth-Token' : [TOKEN]} Payload: ‘ t|25‘ - Sending multiple measurements with one request: http://130.206.80.47:8002/d?k=4jggokgpepnvsb2uv4s40d59ov&i=RPI:79:ed:af:4IN1-Room Headers: {'content-type': 'application/text’; 'X-Auth-Token' : [TOKEN]} Payload: ‘t|23#h|80#l|95#m|Quiet‘
  • 26. IoT-Agent-UltraLight2.0 (IDAS) Step 4 – Sending Commands to Devices IDASIDAS
  • 27. IoT-Agent-UltraLight2.0 (IDAS) Step 4.2 - Send Commands via IDAS REST ADMIN API Step 4.1a (PUSH)– Define Command & Register Commands URL HTTP POST: http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID]/command Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]} Payload: {"name": ” [COMMAND]", "params": [ { "name":” [PARAMETER]", "value": ” [VALUE]" } ] } HTTP PUT: http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID] Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]} Payload: { "commands" : [ { "name" : "RawCommand”, "parameters" : [{ "name" : "Command", "type" : "Text", "phenomenon" : "urn:x-ogc:def:phenomenon:IDAS:1.0:unknown" }]}],}
  • 28. IoT-Agent-UltraLight2.0 (IDAS) Step 4.2 - Send Commands via IDAS REST ADMIN API Step 4.1b (POOLING) - Define Command & Get Commands from Device HTTP GET: http://130.206.80.47:8002/d?k=[APIKEY]&i=[DEV_ID] Headers: {'content-type': 'application/text’; 'X-Auth-Token' : [TOKEN]} HTTP POST: http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID]/command Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]} Payload: {"name": ” [COMMAND]", "params": [ { "name":” [PARAMETER]", "value": ” [VALUE]" } ] } HTTP PUT: http://130.206.80.47:5371/m2m/v2/services/[SERVICE]/assets/[ASSET_ID] Headers: {'content-type': 'application/json’; 'X-Auth-Token' : [TOKEN]} Payload: { "commands" : [ { "name" : ” [COMMAND]”, "parameters" : [{ "name" : ” [PARAMETER]", "type" : "Text", "phenomenon" : "urn:x-ogc:def:phenomenon:IDAS:1.0:unknown" }]}],}
  • 29. FIWARE Community: Kick off @ CPE’13 29 1st Prize………….SmartAds Complete context-sensitive Ads solution developed in just 4 days & nights. Neelie Kroes FIWARE Lab Launch Hackathon + Challenges Announcements Massive, > 6K developers Mainly young entrepreneurs Talent Day&Night Involving developers, debugging, improving training sessions
  • 30. FIWARE Community: Smartcities IoT Data & SMEs involvement 30 Smartcity resources exploitation, involve local market & public policies makers 1st Prize………….MagicBox…………………………………………….….…..…TVs displaying Smartcities & Smartspaces. 2nd Prize………….FI-BOT……………………………………………………..….…Robotics exploiting opendata & sensors. 3rd Prize.…………OpenAlerts……..…..............................................Interfaces for citizens (mobile If-Then App). 4th Prize………….Traffic Heatmap…..............................................Traffic routing based on city real-time Info. Winning Teams 33 succeeded building a product-like working App (of 77 registered developers) Several participants own a Start-up & keep on using FIWARE
  • 31. FIWARE Community: Emerging IoT Trends fast adoption 31 iBeacons in FI-WARE by Context Team. •3rd prize within SmartBusiness FIWARE challenge. (Jan 2014 @ CPBR7 Sao Paulo)