8
Connecting heterogeneous IoT Technologies and Products Daniel Morán Jiménez Developer. IoT Chapter [email protected]

Connecting Heterogeneus IoT Technologies & Products

  • Upload
    fiware

  • View
    6

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Connecting Heterogeneus IoT Technologies & Products

Connecting heterogeneous IoT Technologies and Products

Daniel Morán JiménezDeveloper. IoT Chapter [email protected]

Page 2: Connecting Heterogeneus IoT Technologies & Products

2

IoT Agent architecture

IOTA IOTA IOTA

DEVDEV

DEV

DEVDEV

DEVDEV

DEVDEV

UL 2.0 LWM2M

MQTT

NGSI

IoT Manager

Provision API

AppApp

App

App

AppApp

App

AppApp

AppApp

App

IoT Platform

Page 3: Connecting Heterogeneus IoT Technologies & Products

3

IoT Agents Overview

• Design principles:• Modular approach• Deployment flexibility• Ease the creation of Custom IOT Agents

• Device Protocol to NGSI Bridge• One entity per device• Constrained set of interactions

• Provisioning of devices and groups of devices

• IoT Manager

• Additional services (e.g.: security, model transformation, stats)

Page 4: Connecting Heterogeneus IoT Technologies & Products

4

Example: Group provision

API Key provision

Type definition

Common attributes and commands

POST /iot/services HTTP/1.1Host: localhost:4041Fiware-Service: smartsvilleFiware-ServicePath: /managementContent-Type: application/json

{ "services": [ { "apikey": "1234567890", "resource": "/iot/d", "type": "smartcity", "protocol": "PDI-IoTA-UltraLight" } ]}

Page 5: Connecting Heterogeneus IoT Technologies & Products

5

Example: Device provision

Device ID definition

Defines per-deviceattributes and commands

POST /iot/devices HTTP/1.1Host: localhost:4041Fiware-Service: smartsvilleFiware-ServicePath: /managementContent-Type: application/json

{ "devices": [{ "device_id": "smartsville", "entity_type": "smartcity", "protocol": "PDI-IoTA-UltraLight", "attributes": [ {

"object_id": "lum",

"name": "Luminance",

"type": "lumens"

}]}]}

Page 6: Connecting Heterogeneus IoT Technologies & Products

6

Example: Ultralight 2.0 HTTP

Simple HTTP Protocol

Key Pair values

Push and Pull commands

POST /iot/d?k=1234567890&i=smartsville HTTP/1.1Host: localhost:7896Content-Type: text/plainCache-Control: no-cache

park1|true|park2|false|lum|300

HTTP/1.1 200 OKContent-Length: 88Content-Type: text/htmlConnection: Closed

smartsville@semaphoreFreq|2|smartsville@luminosityLimit|200

Page 7: Connecting Heterogeneus IoT Technologies & Products

7

Links and documentation

• IoT Agent Library• https://github.com/telefonicaid/iotagent-node-lib

• Ultralight 2.0 IoT Agent• https://github.com/telefonicaid/iotagent-ul

• The Fiware Catalogue• https://catalogue.fiware.org/

Page 8: Connecting Heterogeneus IoT Technologies & Products

Thank you!

http://fiware.orgFollow @FIWARE on Twitter