+ All Categories
Home > Documents > How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find...

How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find...

Date post: 10-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
11
How to create a Service in VICINITY Grant agreement: 688467 Koutli Maria - CERTH
Transcript
Page 1: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

How to create a Service in VICINITY

G r a n t a g r e e m e n t : 6 8 8 4 6 7

K o u t l i M a r i a - C E R T H

Page 2: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Outline

Overview

Integration with VICINITY

Expose service

Describe service

Communicate with other sensors or devices

Workflow

Service in VICINITY Slide 2

Page 3: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Overview

Service in VICINITY Slide 3

- Find possible clientsIoT Service

- Communicate with IoT sensors and devices in a common language

VICINITY IoT Platform

- Combine sensor data with external APIs

- P2P communication, no intermediates

Page 4: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

How to integrate with VICINITY

Service in VICINITY Slide 4

VICINITY IoT Platform

Register

My Organisation

Configure and RunVICINITY Gateway API

andVICINITY Agent

on your Linux machinehttps://github.com/vicinityh2020

https://vicinity.bavenir.eu/#/login

Page 5: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

How to integrate my service with

VICINITY

Service in VICINITY Slide 5

IoT Service

Interact with other sensors or devices in

VICINITY

Expose service with VICINITY

Adapter

Provide formal description of

the service

Page 6: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Expose service to VICINITY

What you will need?

VICINITY Adapter

Stand-alone

Integrated to the service

What does this mean?

Adapt service endpoints to be VICINITY compliant e.g. /objects/{service_id}/properties/{func_id}

Provide a formal description your service functionalities and metadata information (Thing Description)

Let Agent know about this new Adapter in configuration

Service in VICINITY Slide 6

VICINITY

Adapter

VICINITY

Agent

VICINITY

Gateway

P2P

object

action

Page 7: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Describe the service

Formally describe the service in a JSON, W3C- Web of Things (WoT) based

language

The description contains mappings to the VICINITY Ontology

http://iot.linkeddata.es/def/adapters/index-en.html

Usually refer to it as “Thing Description”

Expose the description to Agent, which will handle the service registration in

VICINITY.

Service in VICINITY Slide 7

Page 8: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Example Thing Description of a service

Service in VICINITY Slide 8

Page 9: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Communicate with sensors through

VICINITY

Create contracts with sensors that will interact with the service, though Neighbourhood

Manager web interface https://vicinity.bavenir.eu/#/login

E.g. Read data from a power meter

Service in VICINITY Slide 9

GET http://agent_IP:9997/agent/remote/objects/{v_oid}/properties/{property}

headers:

adapter-id=my_service_adapter_id

infrastructure-id=my_service_internal_id

Where, {v_oid} is the vicinity id of the power meter

and {property} is the sensor’s property the service will consume e.g. active power, reactive power, power factor etc

Page 10: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Service VICINITY integration workflow

Service in VICINITY Slide 10

Page 11: How to create a Service in VICINITY · 2019-02-07 · Overview Service in VICINITY Slide 3 - Find possible clients IoT Service - Communicate with IoT sensors and devices in a common

Questions & Answers

Service in VICINITY Slide 11


Recommended