SlideShare a Scribd company logo
Developing your first application using FI-WARE 
Fermín Galán Márquez (fermin@tid.es), Miguel Jimenez (mjimenez@fi.upm.es), Carlos Ralli (ralli@tid.es), Juanjo Hierro (jhierro@tid.es) 
Telefónica I+D, Universidad Politécnica de Madrid 
Open APIs for Open Minds
Let’s go into detail… 
1
Architecture 
Wirecloud (javascript runtime) 
2 
NGSI IoT 
Adapter 
IoT Backend Device 
Management 
Browser 
Ticket Management Context Broker 
CEP 
widgets 
Object Storage 
History 
Location 
Wirecloud (server) 
Cosmos
Wirecloud (javascript runtime) 
3 
NGSI IoT 
Adapter 
IoT Backend Device 
Management 
Browser 
Ticket Management Context Broker 
CEP 
widgets 
Object Storage 
History 
Location 
Wirecloud (server) 
Cosmos 
Context Broker

Recommended for you

FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community

This document discusses connecting IoT devices and systems to the FIWARE Lab ecosystem. It provides an overview of the FIWARE IoT proposal and community. It then describes the most common scenarios for connecting IoT providers and consumers to the FIWARE Context Broker using the IDAS/SBC Ultralight 2.0 protocol. Step-by-step instructions are provided for registering models and devices and sending measurements and commands. Additional options for connecting IoT systems like MQTT and LWM2M are also mentioned.

fiwaresmart citiesinternet of things
Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8

FIWARE IoT Hackathon at Campus Party Brazil 2015. Slides for Ultralight2.0 (virtual) devices. Carlos Ralli Ucendo

iotfiware
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
 FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M... FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...

IoT Agents with Thinking Things and OMA lightweight M2M conference by Daniel Moran Jiménez (@leandrojguillen) for Developers Week www.fiware.eorg

lwm2miotnode.js
Taking a closer look 
4 
Context Broker 
Context 
Producers 
Context 
Consumers 
subscriptions 
update 
query 
notify 
notify 
update 
update 
1026 
Ticket Management 
History 
1026 
Ticket Management DB 
Wirecloud Wirecloud
The NGSI information model 
“has” “has” 
Issues location TimeInstant 
5 
Meta-data 
• Name 
• Type 
• Value 
Context Element attributes 
• Name 
• Type 
• Value 
Context Element 
• EntityId 
• EntityType 
1 n 1 n 
(We are not fully supporting 
metadata right now) 
Electrical Regulator 
Node Lamps 
Vans 
Technicians 
severity batteryCharge 
illuminance 
presence 
electricPotential 
…and many more (look to app code)
Typical Orion broker utilization steps 
registerContext 
updateContext 
queryContext 
subscribeContext 
Creating new 
context elements 
“Write” context 
elements 
information 
To different ways 
of “reading” 
context elements 
information 
subscribeContext 
Availability 
Getting aware of new 
context elements 
discoverContext 
Availability 
Look for existing 
context elements 
NGSI9 operation (context availability) 
NGSI10 operation (context information)
Context platform available at Campus Party 
notify 
Context 
Broker Echo 
7 
server 
1026 
1028 
notify 
(Only for 
demonstration 
purposes during the 
workshop) 
Global instance at 
orion.lab.fi-ware.eu 
(at FI-LAB cloud) 
Context 
Broker 
LiveDemo testbed 
Backend Device Management 
Context 
Broker 
Context 
Broker 
Context 
… Broker 
notify 
notify 
updateContext 
Dedicated instances at 
http://yourvm:1026 
“FI-WARE Cloud: bringing 
OpenStack to the next level” 
workshop (Wed 10-12am) 
Nodes 
AMMS 
Regulator 
Vans 
Shared!!! 
NGSI enabled 
NSGeSnIs oernsabled 
NSGeSnIs oernsabled 
Sensors

Recommended for you

IoT-Broker Developers Week
IoT-Broker Developers WeekIoT-Broker Developers Week
IoT-Broker Developers Week

FiWare IoT-Broker GE Implementation of NEC Laboratories Europe. Presentation done during the FiWare Developers Week in Brussel (BE) the 26/03/2015

iot
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

A Complete IoT Backend Infrastructure in FIWARE presentation, by Tera. How-to session. 1st FIWARE Summit, Málaga, Dec. 13-15, 2016.

infrastructurebackeneddocker
FI-WARE Basic Guide
FI-WARE Basic GuideFI-WARE Basic Guide
FI-WARE Basic Guide

A basic guide to FI-WARE, the open platform for the Future Internet. Read what FI-WARE is about and find the links to the best resources to quickly start using the technology!

future internetopen platformfi-ware
Wirecloud 
Wirecloud (javascript runtime) 
8 
NGSI IoT 
Adapter 
IoT Backend Device 
Management 
Browser 
Ticket Management Context Broker 
CEP 
widgets 
Object Storage 
History 
Location 
Wirecloud (server) 
Cosmos
What is Wirecloud? 
9 
Backend 
service Backend 
service 
Backend 
service 
NGSI API 
Object Storage 
API 
Context 
Broker
Catalogue of widgets and mashups 
 
Widget 
 
.wgt 
Application 
Mashup API 
Local catalogue 
Store API 
widget 
.wgt
What can I do with Wirecloud? 
11

Recommended for you

FIWARE Developers Week_IoT basic exercises
FIWARE Developers Week_IoT basic exercisesFIWARE Developers Week_IoT basic exercises
FIWARE Developers Week_IoT basic exercises

Internet of Things Basic exercises by Carlos Ralli Ucendo (@carlosralli) for the UPM Developers Week (Madrid, March 10th 2015). www.fiware.org

exercisesiot-agentfiware
Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)

This document discusses IoT Agents and their role in the IoT architecture. It covers interaction models like active attributes, lazy attributes, and commands. It also covers device and group provisioning APIs. The document outlines how to build an IoT Agent using Node.js or C++ and interfaces with the Context Broker and device protocols like OMA Lightweight M2M. It provides resources for IoT Agent frameworks and libraries.

coapfiwareiotagents
FIWARE Developers Week_BootcampWeBUI_presentation2
FIWARE Developers Week_BootcampWeBUI_presentation2FIWARE Developers Week_BootcampWeBUI_presentation2
FIWARE Developers Week_BootcampWeBUI_presentation2

This document discusses 3D mapping technologies. It begins by introducing a 3D-Cities GE that provides 3D city models for augmented reality applications. It then discusses a GIS Data Provider GE that offers 3D geospatial data through REST APIs. This GE supports data formats like XML3D and provides features like terrain textures, level of detail for 3D models, and spatial queries. Lastly, it briefly introduces a 3D-Map Tiles SE that generates 3D map tiles from geospatial data to optimize rendering of 3D maps in web applications.

To create my own application mashup… 
 
Widgets and operators: 
• Widgets can be developed with any Web technology (HTML, Flash, SVG…) that supports 
JavaScript. 
• Operators are coded in JavaScript 
 
Both widgets and operators can be easily adapted from existing ones, or created from scratch 
 
Open Widget API 
• JavaScript API 
• Core Widgets Functionality: 
› gain access to external resources (cross-domain problem) 
› wiring 
› preferences 
› … 
12
How to develop a widget? 
 
Setting up the development environment 
• Eclipse, VIM, etc... 
• Creating the directory structure (WGT) 
 
Creating the widget: 
• Create the template of the widget (config.xml) 
• Widget view: an HTML file + CSS 
• Widget app logic: JavaScript (using Widget API) 
 
Testing your widget 
• Uploading the widget to Local Catalogue 
› The WGT file is a ZIP file renamed to .wgt 
• Add widget to a mashup 
› Wiring, preferences, layout… 
13
Widget structure 
 
config.xml 
• definition of the widget (based on WDL) 
 
index.html 
• main view file 
• references JS and CSS resources 
 
/js 
• directory for JavaScript files 
 
/css 
• directory for CSS files 
 
/images 
• directory for images 
 
/doc 
• documentation 
14
Config.xml 
 
The mandatory config.xml file contains the WDL XML template needed to tell Wirecloud what the 
widget looks like. This includes: 
• Widget metadata (non-functional properties) 
• User preferences 
• Widget inputs and outputs (wiring) 
• Link to the actual widget source code 
• Default rendering information 
15

Recommended for you

IoT Agents (Introduction)
IoT Agents (Introduction)IoT Agents (Introduction)
IoT Agents (Introduction)

This document introduces IoT agents, which act as intermediaries between IoT devices and the Orion Context Broker. It discusses the IoT architecture and how agents allow different device protocols to communicate with NGSI via a common interface. It also describes APIs for provisioning devices and interacting with their active and lazy attributes as well as commands. Finally, it provides recommendations for getting started, such as installing an IoT agent like UL 2.0 using Docker and testing it with tools like figway.

ictiotfiware
FIWARE IoT Introduction 1
FIWARE IoT Introduction 1FIWARE IoT Introduction 1
FIWARE IoT Introduction 1

A description of FIWARE IoT Agents, how to register sensors, connect to Orion Context Broker in the FIWARE Summer School in Cairo

fiware labfiwareiot agents
Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet

FIWARE aims to transform the future internet by providing open-source generic enablers (GEs) through APIs that can be combined to build applications. These GEs include functions for context data management, big data analysis, device connectivity, and more. FIWARE also offers resources like the FIWARE Lab test environment and FIWARE Academy training to help developers build innovative applications that integrate diverse data and devices. The goal is for FIWARE to become the standard platform for the internet of things and smart cities.

fiware labfiware universityfiware catalogue
Config.xml example (I) 
<?xml version="1.0" encoding="UTF-8"?> 
<Template xmlns="http://wirecloud.conwet.fi.upm.es/ns/template#"> 
<Catalog.ResourceDescription> 
<Vendor>Company distributing the widget</Vendor> 
<Name>Widget name</Name> 
<Version>0.0.1</Version> 
<DisplayName>Widget Example</DisplayName> 
<Author>mjimenez</Author> 
<Mail>mjimenez@fi.upm.es</Mail> 
<Description>Full widget description to be shown in catalogue</Description> 
<ImageURI>Absolute or relative path to display image</ImageURI> 
<iPhoneImageURI>Path to imate to display on mobile devices</iPhoneImageURI> 
<WikiURI>Path to widget doc</WikiURI> 
</Catalog.ResourceDescription> 
16
Config.xml example (II) 
<Platform.Preferences> 
<Preference name=”pref_name" type="text" description="…" /> 
</Platform.Preferences> 
<Platform.Wiring> 
<OutputEndpoint name="identifier" 
type="text" label="Label to show on wiring" 
description="description" 
friendcode="same as compatible input endpoint friendcode"/> 
<InputEndpoint name="identifier" 
type="text" label="Label to show on wiring" 
description="description" 
friendcode="same as compatible output endpoint friendcode"/> 
</Platform.Wiring> 
<Platform.Link> 
<XHTML href="index.html"/> 
</Platform.Link> 
<Platform.Rendering width="6" height="24"/> 
</Template> 
17
index.html example 
<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<script type="text/javascript" src="js/main.js"></script> 
<link rel="stylesheet" type="text/css" href="css/style.css" /> 
</head> 
<body> 
<!– Create here or create by JavaScript -> 
</body> 
</html> 
18
Using the Open Widget API 
 
Accessing widget preferences 
MashupPlatform.prefs.get("google_key") 
MashupPlatform.prefs.set("color", "red") 
MashupPlatform.prefs.registerCallback(callbackFunction) 
 
Getting user login name 
MashupPlatform.context.get("username"); 
19

Recommended for you

Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet

FIWARE is a platform for building smart applications and solutions. It provides open-source generic enablers (GEs) that can be used as building blocks. The FIWARE platform aims to create an open ecosystem where entrepreneurs and technology providers can collaborate and build innovative IoT and smart city applications. It uses an open data model called NGSI that allows context data from different sources to be shared and queried in a common way. This facilitates interoperability between different systems and devices.

fiware labfiware cataloguefiware ppp
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

Developing an IoT Sustem FIWARE Based from the Scratch, by Secmotic. How-to sessions. 1st FIWARE Summit, Dec 13-15, 2016.

internet of thingsfiwarehow to
Fiware IoT Proposal & Community
Fiware IoT Proposal & Community Fiware IoT Proposal & Community
Fiware IoT Proposal & Community

This document discusses connecting Internet of Things (IoT) devices to the FIWARE ecosystem. It outlines two main scenarios: 1) IoT consumers who access data through a single API and protocol, and 2) IoT providers who can connect any "thing" or IoT system to FIWARE Lab. It then provides steps to connect IoT devices to FIWARE Lab using the IDAS/SBC Ultralight 2.0 protocol, including registering a device, sending measurements, and sending commands. Other connection options like MQTT and OMA LWM2M/CoAP are also mentioned.

Wiring endpoints 
 
Declaration on config.xml 
<Platform.Wiring> 
<InputEndpoint name="my_input_name" type="text" label="my_label" 
description="my_description" friendcode="some_code" /> 
<OutputEndpoint name="my_output_name" type="text" label="label" 
description="description" friendcode="url"/> 
</Platform.Wiring> 
 
Input endpoints 
MashupPlatform.wiring.registerCallback("my_input_name", inputListener); 
 
Output endpoints 
MashupPlatform.wiring.pushEvent("my_output_name", data); 
20
Making a cross-domain HTTP request 
 
Perform the invocation and register asynchronous call-backs: 
MashupPlatform.http.makeRequest(url, { 
method: 'GET', 
onSuccess: function (transport) { 
var response; 
response = JSON.parse(transport.responseText); 
... 
}, 
onFailure: function (transport) { 
onError(); 
} 
}); 
21
Connecting a widget to NGSI 
 
Register NGSI usage on config.xml 
<Requirements> <Feature name="NGSI"/> </Requirements> 
 
Send a notification through NGSI 
var connection = new NGSI.Connection('http://orion.lab.fi-ware.eu'); 
connection.updateAttributes([{ 
entity: { 
id: 'iss8', 
type: 'Issue' 
}, 
attributes:[{ 
name: 'technician', 
contextValue: 'tech1' 
}] 
}], { 
onSuccess: function () { //… }, 
onFailure: function () { //… } 
}); 
22
Connecting a widget to NGSI 
 
Subscribe for notifications on certain entities 
var entityIdList = [ 
{type: 'Van', id: '.*', isPattern: true}, 
{type: 'Technician', id: '.*', isPattern: true} 
]; 
var attributeList = null; var duration = 'PT3H'; var throttling = null; 
var notifyConditions = [{ 
type: 'ONCHANGE', condValues: ['name', 'current_position'] 
}]; 
var options = { 
flat: true, 
onNotify: process_entities, 
onSuccess: function (data) { 
subscriptionId = data.subscriptionId; 
refresh_interval = setInterval(refreshNGSISubscript, 1000*60*60*2);//2 hours 
} 
}; 
connection.createSubscription(entityIdList, attributeList, duration, throttling, 
notifyConditions, options); 
23

Recommended for you

FIWARE at LeWeb - Agenda
FIWARE at LeWeb - AgendaFIWARE at LeWeb - Agenda
FIWARE at LeWeb - Agenda

The document advertises a free two-day workshop on the FIWARE platform for developers. The workshop will provide basic training on developing with FIWARE and an opportunity to learn about the FIWARE Accelerator Programme which provides €80 million in funding for startups. The agenda lists sessions that will cover an overview of FIWARE, managing context information, identity management, cloud capabilities, connecting to the Internet of Things, data storage and analysis, data visualization, monetizing APIs and datasets, media processing, enhancing user experiences, and how to get more support on FIWARE. The workshop will be held on December 11th and 12th in Paris.

fiwaredeveloperssme
Io t basic-exercises
Io t basic-exercisesIo t basic-exercises
Io t basic-exercises

This document provides instructions for exercises using an IoT Agent to connect devices to the FIWARE platform. It outlines 10 exercises of increasing difficulty: 1. Set up a Python environment and test connectivity to FIWARE services. 2. Discover available device models and create a virtual temperature sensor. 3. Send sensor observations and read them back. 4. Create additional sensor types using different models. 5. Create a new device model. 6. Create an actuator device and send/receive commands. 7. Connect a physical device by creating a model, registering it, and sending data. 8. Additional exercises include building apps on top of context data or visualizing data.

fiware oit
Nuxeo - OpenSocial
Nuxeo - OpenSocialNuxeo - OpenSocial
Nuxeo - OpenSocial

Nuxeo allows leveraging the OpenSocial standard within its platform. OpenSocial is a common standard used in enterprises that allows for easy development through HTTP, XML, JavaScript and RESTful APIs. Nuxeo includes both a full GWT container and a lightweight JavaScript container for simple gadget integration. It supports OAuth authentication and uses the OpenSocial standard, allowing gadgets from other containers like iGoogle to be used. Nuxeo also provides an automation JavaScript library and templates to simplify building gadgets that interface with the Nuxeo platform.

opensocialnuxeonuxeo platform
Using Object Storage from a widget 
 
Register Object Storage usage on config.xml 
<Requirements> <Feature name="ObjectStorage"/> </Requirements> 
 
Upload a file 
var object_storage = new ObjectStorageAPI(’<Object Storage instance url>'); 
var fileParts = ["<a id="a"><b id="b">hey!</b></a>"]; 
var myBlob = new Blob(fileParts, { "type" : "text/xml" }); 
object_storage.uploadFile('folder_name', myBlob, token, { 
file_name: 'myFile.xml', 
onSuccess: function () { 
alert('File uploaded successfully'); 
}, 
onFailure: function () { 
alert('Something went wrong while uploading the file'); 
} 
}); 
24
Uploading your widget 
 
Compress (zip) the widget contents 
• Rename it as a .wgt file 
 
Upload the WGT file to Local Catalogue through WireCloud web interface 
25
Wiring your widget 
26
Resources 
 
https://mashup.lab.fi-ware.eu 
You can always find the most updated documentation of Wirecloud in: 
• http://conwet.fi.upm.es/wirecloud 
 
User and Programmer Guide: 
• https://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Composition_Editor_- 
_Wirecloud_Mashup_Platform_-_User_and_Programmer_Guide 
 
Installation and Administration Guide: 
• https://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Composition_Editor_- 
_Wirecloud_Mashup_Platform_-_Installation_and_Administration_Guide 
 
Download from Github: 
• Wirecloud source code: https://github.com/Wirecloud/wirecloud 
• Widget's source code of FIWARE's Live Demo mashable application component): 
https://github.com/wirecloud-fiware/live-demo-macs 
 
Stuff for this workshop 
• http://tinyurl.com/fiware-dropbox 
27

Recommended for you

HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....

1. HTML5 provides new semantic elements like header, footer, nav and article that improve accessibility and help structure documents. It also extends existing APIs and adds new APIs for multimedia, geolocation, offline storage and more. 2. HTML5 introduces new form input types for dates, times, numbers and more. It also provides built-in form validation without JavaScript. 3. The <video> and <audio> elements allow native playback of multimedia across browsers without plugins. The <canvas> element allows dynamic drawing via JavaScript. 4. While still evolving, many HTML5 features can be used today through progressive enhancement and feature detection. It offers developers new capabilities for building web applications and interactive experiences on

htmlaudioweb design
RESTful Web Applications with Apache Sling
RESTful Web Applications with Apache SlingRESTful Web Applications with Apache Sling
RESTful Web Applications with Apache Sling

Sling is a RESTful web framework for building applications on top of Apache Jackrabbit. It allows resources like content, configurations, code, and binaries to be accessed over REST URLs. Sling maps URLs to resources rather than commands, supports various scripting languages as servlets, and has a modular OSGi-based architecture powered by Apache Felix. Examples shown include building a blog and coffee ordering application on Sling to demonstrate how it supports RESTful content creation and management.

slingjcrapache
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...

This is a talk I gave at the spring 2013 AngleBrackets/DevIntersection conference in Las Vegas. HTML5 is all the rage these days but where do you look to find robust examples of using it along with jQuery, client-side templates, Ajax calls, data access technologies, and more? In this session, Dan Wahlin will walk through an application that demonstrates how key HTML5 technologies can be integrated and used to present data to users in different ways. Topics covered include exposing data to the client using RESTful services created using the new ASP.NET Web API, using Handlebars templates to render data, JavaScript techniques for structuring code, the role of HTML5 semantic tags, as well as how technologies such as the canvas, SVG, and video can be used. If you want to learn server-side as well as client-side techniques and strategies then this session is for you.

aspnethtml5mvc
Online videos 
 
FIWARE Live Demo: http://www.youtube.com/watch?v=Wh_zPsLUg-8 
 
ENVIROFI Demo: https://www.youtube.com/watch?v=yEXlLQYq7s4 
 
Other videos: 
• http://www.youtube.com/embed/d7_EG42AHJw - Building a mashup from Geowidgets linked to 
geospatial services. 
• http://www.youtube.com/embed/urDGWSnrbtE - Using operators in a mashup to allow widgets 
to send tweets 
• http://www.youtube.com/embed/kW0sXMxgMLI - An example of integration with the marketplace 
and the catalogue GEs 
28
Sensors 
Wirecloud (javascript runtime) 
29 
NGSI IoT 
Adapter 
IoT Backend Device 
Management 
Browser 
Ticket Management Context Broker 
CEP 
widgets 
Object Storage 
History 
Location 
Wirecloud (server) 
Cosmos
FI-WARE IoT Extended Platform Vision 
Plug IoT world to FI-WARE via NGSI notifications.
FI-WARE IoT Functional Architecture (Target)

Recommended for you

Solving anything in VCL
Solving anything in VCLSolving anything in VCL
Solving anything in VCL

Andrew Betts Web Developer, The Financial Times at Fastly Altitude 2016 Running custom code at the Edge using a standard language is one of the biggest advantages of working with Fastly’s CDN. Andrew gives you a tour of all the problems the Financial Times and Nikkei solve in VCL and how their solutions work.

fastlyvclvarnish
Html5 For Jjugccc2009fall
Html5 For Jjugccc2009fallHtml5 For Jjugccc2009fall
Html5 For Jjugccc2009fall

HTML5 introduces new semantic elements like article, header, nav, and section that divide the content into meaningful regions. It also defines new multimedia elements such as video, audio, and canvas. New form input types and attributes are added for validation. The Canvas API allows dynamic drawing via scripting. The Drag and Drop API supports dragging and dropping elements. Other HTML5 APIs include Geolocation, Web Storage, and Web Workers. Overall, HTML5 provides a powerful set of features for building robust, dynamic web applications.

html5jjug
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices

Whether you are creating a mobile app that controls an IoT device (such as a wearable) or an IoT device that uses the mobile phone as the relay/hub to connect to the cloud, there are various design patterns to consider. In this session, we will focus on use cases and architectures for mobile phone and IoT-connected products that leverage proximal network protocols, Wi-Fi, or cellular to connect to the cloud for high-velocity and low-velocity telemetry or command and control.

aws cloudaws-reinventmobile developer & iot
FI-WARE IoT Challenge Architecture 
CONTEXT 
NGSI9 (Register) 
IDAS 
BROKER sendobservation 
NGSI10 (Observations) 
addobservation 
fizway 
SensorML 
registerdevice 
fizway_switchd 
fizway_register 
z-way server (Razberry HW) 
FIGWAY 
FIZWAY 
Devices 
SensorML
Connecting a basic z-wave pack 
Obs. 
Query 
http://m2m.telefonica.com 
IDAS 
CONTEXT 
BROKER 
Register 
Observations 
NGSI (B) (A) SensorML 
Download the PI image with FIGWAY software at: http://tinyurl.com/figway-img
HOW-TO Get Started - Z-wave basic pack 
0) You need: a RaspberryPI + Razbian card plugged in its GPIO 
1) Include your z-wave devices into your z-wave network 
Complete your sensor details in our “IoT Challenge HUB doc” 
https://docs.google.com/spreadsheet/ccc?key=0ArcymbqnpOfkdGNYUkpaTF9qRVhkOTFIYW14SkxaZ1E#gid=0 
34 
2) Edit "fizway_resgister” & "fizway" scripts 
Update the Device_ID number of your sensors. 
3) Edit the file SensorML/Register_SWITCH 
Update the line containing the callback URL: 
"<swe:value>http://1.0.0.1:9999</swe:value>” 
-> Instead of 1.0.0.1 put the RaspberryPI public IP address 
-> Instead of 9999 set the port the switch daemon will be listening (normally, 7777) 
4) Check & Edit -if necessary- the figway "Config" file. 
Normally, modifications aren't needed so you can skip (4). 
A Config.example file is provided and comments should make this task really easy. 
5) Register all your working sensors by executing 
>./fizway_register 
6) Launch the script to interconnect your sensors to FI-WARE IoT Backend: 
>./fizway &
0) Mount RaspberryPI + Razbian 
35

Recommended for you

Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with Git

With the AWS Cloud you have an on-demand, programmable infrastructure that you can manage using tools and practices from software development. You can create resources when you need and dispose of them when you don’t. Using Amazon CloudFormation you can describe your architecture in text files. To change your infrastructure, you edit those files. Having application and infrastructure code in a single, robust, versioned repository like Git gives a lot of advantages. Using AWS Elastic Beanstalk you can link your Git branches to different infrastructure environments (e.g. test, production) and automate deployments. You can create test environments on-demand, even for a short time. Instead of continuously update your resources, you can recreate them quickly from scratch, simplifying lifecycle management and making deployments immutable. As a result, you have more time to focus on the unique features of your application.

infrastructure as codeamazon web servicesaws cloudformation
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentationGroovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation

Vert.x is an asynchronous application development framework that allows applications to be written in multiple programming languages including JavaScript, Ruby, Python, Groovy, and Java. It provides a simple and scalable model for concurrency using asynchronous event loops and message passing. Applications can leverage existing Java libraries while avoiding common concurrency issues. A key feature is the distributed event bus that allows communication across server and client components. Vert.x uses a modular system to compose applications from reusable components.

vert.x
AtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
AtlasCamp 2014: 10 Things a Front End Developer Should Know About ConnectAtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
AtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect

If you're a JavaScript developer, you can't miss this session. Atlassian Connect presents some challenges that might be new to JavaScript developers, like third-party cookie policy, window.postMessage, and sending data between multiple iframes, just to name a few. This session will address these challenges and offer practical tips from the trenches of building new add-ons with Atlassian Connect.

atlascampatlascamp 2014
0.2) Flash FIGWAY.img & Get IP address 
36
1) Include devices into a z-wave Network 
37 
EXCLUDE 
- Razberry exclusion mode 
- Press 4IN1 inclusion button 
INCLUDE 
- Razberry inclusion mode 
- Press 4IN1 Inclusion button 
CONFIGURATION 
- Select profile Aeon multisensor 1.18 
- Press 4IN1 inclusion button 3 times 
- Configure to send Group1 all obs (720s)
1) Include devices into a z-wave Network 
EXCLUDE 
- Razberry exclusion mode 
- Press KEYFOB 4 buttons 5sec (led slow blink) 
- Press button “1”, (try twice if it doesn’t work) 
INCLUDE 
- Razberry inclusion mode 
- Press KEYFOB 4 buttons 5sec (led slow blink) 
- Press button “1” 
CONFIGURATION 
- Configure remote KeyFob 
To apply config: WAKE-UP Device 
Press KEYFOB 4 buttons 5sec 
- Press button “2” (Try twice) 
Buttons in pair mode(1-3, 2-4): 
-> SEPARATELY 
Groups to send: 
-> SWITCH ON/OFF ONLY (SEND BASIC SET)
1) Include devices into a z-wave Network 
39 
EXCLUDE 
- Razberry exclude mode 
- Switch ON 
- Press ON/OFF 3 times between 1,5sec 
INCLUDE 
- Razberry inclusion mode 
- Switch ON 
- Press ON/OFF 3 times between 1,5sec 
NO CONFIG is needed. 
ALL DEVICES INCLUDED. 
DEVICES IDs SHOWN: 
2 (4IN1), 3 (KEYFOB) , 4 (SWITCH)

Recommended for you

Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with Git

This document discusses managing infrastructure as code using tools like AWS CloudFormation and AWS Elastic Beanstalk. It explains how infrastructure as code allows treating infrastructure configurations as code that can be version controlled, tested, and treated similarly to application code. Examples are provided of using templates to define cloud resources and automating provisioning and deployment of infrastructure.

awsgitaws cloudformation
Vert.x devoxx london 2013
Vert.x devoxx london 2013Vert.x devoxx london 2013
Vert.x devoxx london 2013

Vert.x is a general purpose application platform for building asynchronous and reactive applications. It uses an event-driven architecture with non-blocking APIs to build distributed applications that can be composed of components written in different programming languages. Vert.x provides tools like an event bus for communication between components, as well as HTTP/TCP clients and servers that allow building reactive web and microservices applications. It aims to simplify concurrency while leveraging existing Java libraries and allowing applications to scale across multiple machines.

javagroovypython
Vaadin 7 CN
Vaadin 7 CNVaadin 7 CN
Vaadin 7 CN

My presentation about Vaadin 7.1 at JavaOne Shanghai on Jul 24, 2013. The slides are mostly in Chinese.

vaadingwt
1) Include devices into a z-wave Network 
40 
CONFIGURATION 
- Select Zwave Description Record: 
Wintop iLED 
EXCLUDE 
- Razberry exclude mode 
- Switch ON (use a screw-driver) 
- Press ON 3 times between 1,5sec 
INCLUDE 
- Razberry exclude mode 
- Switch ON (use a screw-driver) 
- Press ON 3 times between 1,5sec
1) Include devices into a z-wave Network 
Provide your sensors to all: “IoT Challenge HUB doc” 
https://docs.google.com/spreadsheet/ccc?key=0ArcymbqnpOfkdGNYUkpaTF9qRVhkOTFIYW14SkxaZ1E#gid=0 
41 
SHARE SENSORs IS A MUST 
SHARE SWITCHES IS OPTIONAL
2) Edit "fizway_resgister” & "fizway" scripts 
Update correct IDs of your z-wave network (only for Devices you have) 
Actuators ports should be: 7777, 7778, etc. 
-> Update scripts “fizway_resgister” and “fizway”. 
42
3) Configure the SWITCH to receive commands 
Set the IPv4 Address of your Raspberry PI. Port is SWITCH one (7777). 
43

Recommended for you

Dojo - from web page to web apps
Dojo - from web page to web appsDojo - from web page to web apps
Dojo - from web page to web apps

Dojo is a JavaScript framework that helps build dynamic web applications. It provides tools and techniques to handle data, user interfaces, internationalization, and accessibility. Dojo includes data stores to retrieve and manage data, widgets to display data, and templating to generate interface code on the client-side. It also offers utilities to optimize application loading, such as file merging and minification.

dojo
WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...

This document provides an overview of designing complex applications using HTML5 and KnockoutJS. It discusses HTML5 and why it is useful, introduces JavaScript and frameworks like KnockoutJS and SammyJS that help manage complexity. It also summarizes several JavaScript libraries and patterns including the module pattern, revealing module pattern, and MV* patterns. Specific libraries and frameworks discussed include RequireJS, AmplifyJS, UnderscoreJS, and LINQ.js. The document concludes with a brief mention of server-side tools like ScriptSharp.

sammyjshtml5javascript
Practical AngularJS
Practical AngularJSPractical AngularJS
Practical AngularJS

Chicago Coder Conference 2015 Speaker Biography: Wei Ru Wei Ru has over 15 years of professional experience in design and development of Java enterprise applications across multiple industries. Currently he works as a technical architect at STA Group, LLC. He received a M.S. degree in Computer Science from Loyola University Chicago. As a software developer with an emphasis on Java, he strongly believes in software re-usability, open standards, and various best practices. He has successfully delivered many products using open source platforms and frameworks during his IT consultancies. Speaker Biography: Vincent Lau Vincent Lau has been Senior Architect at STA Group in Chicago for the last two years. He received a B.S. degree in Accounting and Finance from the University of Illinois at Chicago and worked on M.S. of Computer Science at DePaul University. He has over 15 years of software design, development, testing and project management experience on large enterprise distributed computing platforms. Most recently, he has worked on web based applications using Java, Spring, JavaScript, Angular.js, jQuery and web services. He previously had Senior Software Engineer and Lead positions in Royal Caribbean Cruises, Wells Fargo Bank, Cap Gemini America and Trans Union Corp. Presentation: Practical AngularJS AngularJS has been seen gaining momentum recently. Whether you want to develop a modern single-page application or to spice up only the view enabled by a traditional MVC web framework, AngularJS allows you to write cleaner, shorter code. AngularJS’ two-way data binding feature allows a declarative approach on views and controllers, and ultimately code modulization. With this strategic change and many features offered by AngularJS, learning AngularJS can be challenging. In this session, we will share some of the experiences we had in Angular UI development, we will cover: AngularJS modules and common project setup Communicating to a Restful service Commonly used Angular functions, directives UI Bootstrap, grid views and forms in AngularJS Custom Angular directives Asynchronous functions and event processing

chicago coder conference 2015spaangularjs
4) Check & Edit the figway "Config" file 
Pre-configured for IoT Challenge. No modifications are needed. 
44
5) Register all working devices in the Backend 
Launch de script “./fizway_resgister” 
For every device you’ll see a similar output as shown above. 
If it works, your devices are correctly register in the IDAS Backend. 
If it fails, increasing DEBUG level in the “Config” file helps a lot. 
45
6) Launch fizway script 
Launch de script “./fizway &” 
You may redirect the output to a log file if you’ close the window: 
“./fizway >> ./fizway_log &” 
You’ll see: 
- Devices you are listening to and their Device Number (z-wave network ID). 
- Daemons listening for Actuators commands coming from the Backend. 
46
Building your Fi-WARE IoT Apps 
1) IDAS ADMIN API – Check Services, Subscriptions & Details 
47 
2) IDAS ADMIN API – Check Devices & Details 
3) IDAS ADMIN API – Send a command to a z-wave Switch 
4) IDAS ADMIN API - Subscribe your App to Devices Notifications 
5) IDAS (or Global Context Broker) NGSI API – Get last observations of a device 
6) WIRECLOUD API - Connect a Wirecloud widget

Recommended for you

HTML5 on Mobile
HTML5 on MobileHTML5 on Mobile
HTML5 on Mobile

This document discusses HTML5 on mobile devices. It begins by explaining why mobile web is growing and why HTML5 is well-suited for mobile. It then provides an overview of what HTML5 is and examples of features like forms, multimedia, geolocation that can be used on mobile. It also discusses considerations for mobile web development like responsive design and frameworks. The document recommends tools for mobile debugging and testing performance.

html5mobile
Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDE

This document discusses requirements for developing an embedded integrated development environment (IDE) using Eclipse technologies. It describes using Eclipse Modeling Framework (EMF) to model embedded projects. It also discusses using EMF validation, Graphical Modeling Framework (GMF) editors, Xpand for code generation, and the CDT and DLTK plugins for code editing. The IDE will integrate model and code editing with compilation, communication with targets via the Target Communication Framework (TCF) and Remote System Explorer (RSE). The goal is to leverage the Eclipse ecosystem to quickly create a complex IDE environment focused on embedded development.

dltksierra wirelesseclipsecon
Event-driven IO server-side JavaScript environment based on V8 Engine
Event-driven IO server-side JavaScript environment based on V8 EngineEvent-driven IO server-side JavaScript environment based on V8 Engine
Event-driven IO server-side JavaScript environment based on V8 Engine

This document contains information about Ricardo Silva's background and areas of expertise. It includes his degree in Computer Science from ISTEC and MSc in Computation and Medical Instrumentation from ISEP. It also notes that he works as a Software Developer at Shortcut, Lda and maintains a blog and email contact for Node.js topics. The document then covers several JavaScript, Node.js and Websockets topics through examples and explanations in 3 sentences or less each.

node.jsnodejssockets
Building your Fi-WARE IoT Apps 
1) IDAS ADMIN API – Check Services, Subscriptions to Service & Service Details 
48
Building your Fi-WARE IoT Apps 
2) IDAS ADMIN API – Check Devices & Device Details 
49
Building your Fi-WARE IoT Apps 
3) IDAS ADMIN API – Send a command to a z-wave Switch 
50 
COMMANDs TO SWITCHES/DIMMERS 
Follow “sendcommand” example. 
Send: “FIZCOMMAND N” 
N: 0-255. 0 = off, 255 = on
Building your Fi-WARE IoT Apps 
4) IDAS ADMIN API – Send a command to a z-wave Switch 
51

Recommended for you

OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at NetflixOSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix

This document discusses Netflix's API ecosystem built using Scala, Scalatra, and Swagger. It summarizes Netflix's use of these technologies to build APIs that power their consumer electronics partner portal and enable certification of Netflix ready devices. It describes how the APIs provide a single source of truth for all device data at Netflix and correlate streaming quality metrics. It then discusses aspects of the architecture including the manager layer containing business logic, HTTP layer for handling requests/responses, and use of Scala, Scalatra, Swagger, and deployment process including immutable infrastructure.

restfulswaggernetflix
Behm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptxBehm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptx

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

fiwarefiware foundationfiware netzwerktreffen
Katharina Hogrebe Herne Digital Days.pdf
 Katharina Hogrebe Herne Digital Days.pdf Katharina Hogrebe Herne Digital Days.pdf
Katharina Hogrebe Herne Digital Days.pdf

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

fiwarefiware foundationfiware netzwerktreffen
Building your Fi-WARE IoT Apps 
5) IDAS NGSI API – Get last observations of a device 
52
Building your Fi-WARE IoT Apps 
6) WIRECLOUD API - Connect a Wirecloud widget 
53
ANNEX: where to find more docs 
54 
- IDAS APIs 
http://www.fi-ware.eu 
- z-way server: 
http://en.z-wave.me/docs/zway_manual_en.pdf 
- Aeon 4IN1 Manual 
http://www.smarthus.info/support/manuals/zw_sikkerhet/aeotec_multisensor_tech.pdf 
- Zwave.me KeyFob 
https://www.uk-automation.co.uk/pdf/zwavemekeyfob.pdf 
- Everspring Switch/Dimmer 
http://doc.eedomus.com/files/EVR_AN158%20MANUEL%20US.pdf 
- Fibaro RGB SWITCH 
http://www.fibaro.com/manuals/en/FGRGBWM-441-RGBW-Controller/FGRGBWM-441-RGBW-Controller- 
en-2.1-2.3.pdf
Object Storage 
Wirecloud (javascript runtime) 
• More info at “FI-WARE Cloud: bringing OpenStack to the next 
level” workshop (Wed 10-12am) 
55 
NGSI IoT 
Adapter 
IoT Backend Device 
Management 
Browser 
Ticket Management Context Broker 
CEP 
widgets 
Object Storage 
History 
Location 
Wirecloud (server) 
Cosmos 
• Contact Person: John Kennedy 
<john.m.kennedy at intel dot com >

Recommended for you

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

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

fiwareidsafiware foundation
Behm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptxBehm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptx

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

nemofiwarefiware foundation
Evangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptxEvangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptx

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

fiwarefiware foundationfiware netzwerktreffen
Cosmos 
Wirecloud (javascript runtime) 
56 
NGSI IoT Adapter 
IoT Backend Device 
Management 
Browser 
Ticket Management Context Broker 
CEP 
widgets 
Object Storage 
History 
Location 
Wirecloud (server) 
Cosmos 
• Have a look to http://tinyurl.com/c0sm0s 
• Contact Person: Francisco Romero 
<frb at tid dot es>
Extending Live Demo 
Wirecloud (javascript runtime) 
https://github.com/wirecloud-fiware/live-demo-macs 
https://github.com/wirecloud-fiware/historymod 
57 
NGSI IoT 
Adapter 
IoT Backend Device 
Management 
Browser 
Ticket Management Context Broker 
CEP 
widgets 
Object Storage 
History 
Location 
Wirecloud (server) 
Cosmos 
https://github.com/telefonicaid/fiware-livedemoapp
Useful additional references 
 
Workshop Homepage http://tinyurl.com/fiware-cp-ws1 
• Long URL: http://www.fi-ware.eu/campus-party-europedeveloping-your-first-application- 
workshop 
 
The FI-WARE Catalogue http://catalogue.fi-ware.eu 
• With information about FI-WARE GEis, e.g. Orion Context Broker, Wirecloud, 
etc. 
 
Dropbox for Workshop stuff: http://tinyurl.com/fiware-dropbox 
 
Dropbox for Raspberry Pi image: http://tinyurl.com/figway-img 
• Use the following as backup in case of problems: http://130.206.82.17 
58
Thanks ! 
 
http://fi-ppp.eu 
 
http://fi-ware.eu 
 
Follow @Fiware on Twitter ! 
59

Recommended for you

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

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

fiware netzwerktreffenfiwarefiware foundation
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

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

fiwarefiware foundationfiware netzwerktreffen
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

Das D-A-CH Meeting bringt deutschsprachige FIWARE-Enthusiasten zu hochkarätigen Vorträgen und wertvollen Networking-Möglichkeiten zusammen. Ein besonderer Fokus liegt auf dem FIWARE iHubs Programm, das Beratung und Peers-Diskussionen für diejenigen bietet, die an der Gründung eines FIWARE iHubs interessiert sind. Aber das ist noch nicht alles! Wir haben noch weitere Highlights auf Lager, darunter die faszinierende Ausstellung "SMART WORLD by FIWARE", die komplett aus Legosteinen gebaut ist. Außerdem lassen wir viel Zeit zum Netzwerken und Business Talks bei Snacks und Getränken mit der Stadt Herne, NRW und ihren Spielern und mit Vertretern aus Österreich und der Stadt Wien im Speziellen. Aus DACH und darüber hinaus werden einige iHubs vertreten sein, auch das in Kürze entstehende iHub in Wien.

i4trustfiwarefiware foundation

More Related Content

What's hot

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
 
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
Federico Michele Facca
 
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
Fernando Lopez Aguilar
 
FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community
FIWARE
 
Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8
FIWARE
 
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
 FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M... FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
FIWARE
 
IoT-Broker Developers Week
IoT-Broker Developers WeekIoT-Broker Developers Week
IoT-Broker Developers Week
Flavio Cirillo
 
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
FIWARE
 
FI-WARE Basic Guide
FI-WARE Basic GuideFI-WARE Basic Guide
FI-WARE Basic Guide
FIWARE
 
FIWARE Developers Week_IoT basic exercises
FIWARE Developers Week_IoT basic exercisesFIWARE Developers Week_IoT basic exercises
FIWARE Developers Week_IoT basic exercises
FIWARE
 
Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)
dmoranj
 
FIWARE Developers Week_BootcampWeBUI_presentation2
FIWARE Developers Week_BootcampWeBUI_presentation2FIWARE Developers Week_BootcampWeBUI_presentation2
FIWARE Developers Week_BootcampWeBUI_presentation2
FIWARE
 
IoT Agents (Introduction)
IoT Agents (Introduction)IoT Agents (Introduction)
IoT Agents (Introduction)
dmoranj
 
FIWARE IoT Introduction 1
FIWARE IoT Introduction 1FIWARE IoT Introduction 1
FIWARE IoT Introduction 1
Fernando Lopez Aguilar
 
Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet
Fernando Lopez Aguilar
 
Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet
Fernando Lopez Aguilar
 
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
FIWARE
 
Fiware IoT Proposal & Community
Fiware IoT Proposal & Community Fiware IoT Proposal & Community
Fiware IoT Proposal & Community
TIDChile
 
FIWARE at LeWeb - Agenda
FIWARE at LeWeb - AgendaFIWARE at LeWeb - Agenda
FIWARE at LeWeb - Agenda
FIWARE
 
Io t basic-exercises
Io t basic-exercisesIo t basic-exercises
Io t basic-exercises
Fermin Galan
 

What's hot (20)

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
 
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
 
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 IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community
 
Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8
 
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
 FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M... FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
 
IoT-Broker Developers Week
IoT-Broker Developers WeekIoT-Broker Developers Week
IoT-Broker Developers Week
 
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
 
FI-WARE Basic Guide
FI-WARE Basic GuideFI-WARE Basic Guide
FI-WARE Basic Guide
 
FIWARE Developers Week_IoT basic exercises
FIWARE Developers Week_IoT basic exercisesFIWARE Developers Week_IoT basic exercises
FIWARE Developers Week_IoT basic exercises
 
Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)Fiware Developers Week IoT Agents (Advanced)
Fiware Developers Week IoT Agents (Advanced)
 
FIWARE Developers Week_BootcampWeBUI_presentation2
FIWARE Developers Week_BootcampWeBUI_presentation2FIWARE Developers Week_BootcampWeBUI_presentation2
FIWARE Developers Week_BootcampWeBUI_presentation2
 
IoT Agents (Introduction)
IoT Agents (Introduction)IoT Agents (Introduction)
IoT Agents (Introduction)
 
FIWARE IoT Introduction 1
FIWARE IoT Introduction 1FIWARE IoT Introduction 1
FIWARE IoT Introduction 1
 
Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet
 
Fiware, the future internet
Fiware, the future internetFiware, the future internet
Fiware, the future internet
 
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
 
Fiware IoT Proposal & Community
Fiware IoT Proposal & Community Fiware IoT Proposal & Community
Fiware IoT Proposal & Community
 
FIWARE at LeWeb - Agenda
FIWARE at LeWeb - AgendaFIWARE at LeWeb - Agenda
FIWARE at LeWeb - Agenda
 
Io t basic-exercises
Io t basic-exercisesIo t basic-exercises
Io t basic-exercises
 

Similar to Developing your first application using FIWARE

Nuxeo - OpenSocial
Nuxeo - OpenSocialNuxeo - OpenSocial
Nuxeo - OpenSocial
Thomas Roger
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
Patrick Lauke
 
RESTful Web Applications with Apache Sling
RESTful Web Applications with Apache SlingRESTful Web Applications with Apache Sling
RESTful Web Applications with Apache Sling
Bertrand Delacretaz
 
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
Dan Wahlin
 
Solving anything in VCL
Solving anything in VCLSolving anything in VCL
Solving anything in VCL
Fastly
 
Html5 For Jjugccc2009fall
Html5 For Jjugccc2009fallHtml5 For Jjugccc2009fall
Html5 For Jjugccc2009fall
Shumpei Shiraishi
 
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
Amazon Web Services
 
Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with Git
Danilo Poccia
 
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentationGroovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
Stuart (Pid) Williams
 
AtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
AtlasCamp 2014: 10 Things a Front End Developer Should Know About ConnectAtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
AtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
Atlassian
 
Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with Git
Danilo Poccia
 
Vert.x devoxx london 2013
Vert.x devoxx london 2013Vert.x devoxx london 2013
Vert.x devoxx london 2013
Stuart (Pid) Williams
 
Vaadin 7 CN
Vaadin 7 CNVaadin 7 CN
Vaadin 7 CN
jojule
 
Dojo - from web page to web apps
Dojo - from web page to web appsDojo - from web page to web apps
Dojo - from web page to web apps
yoavrubin
 
WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...
Fabio Franzini
 
Practical AngularJS
Practical AngularJSPractical AngularJS
Practical AngularJS
Wei Ru
 
HTML5 on Mobile
HTML5 on MobileHTML5 on Mobile
HTML5 on Mobile
Adam Lu
 
Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDE
Benjamin Cabé
 
Event-driven IO server-side JavaScript environment based on V8 Engine
Event-driven IO server-side JavaScript environment based on V8 EngineEvent-driven IO server-side JavaScript environment based on V8 Engine
Event-driven IO server-side JavaScript environment based on V8 Engine
Ricardo Silva
 
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at NetflixOSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
Manish Pandit
 

Similar to Developing your first application using FIWARE (20)

Nuxeo - OpenSocial
Nuxeo - OpenSocialNuxeo - OpenSocial
Nuxeo - OpenSocial
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
 
RESTful Web Applications with Apache Sling
RESTful Web Applications with Apache SlingRESTful Web Applications with Apache Sling
RESTful Web Applications with Apache Sling
 
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
Building the an End-to-End ASP.NET MVC 4, Entity Framework, HTML5, jQuery app...
 
Solving anything in VCL
Solving anything in VCLSolving anything in VCL
Solving anything in VCL
 
Html5 For Jjugccc2009fall
Html5 For Jjugccc2009fallHtml5 For Jjugccc2009fall
Html5 For Jjugccc2009fall
 
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
(MBL303) Build Mobile Apps for IoT Devices and IoT Apps for Devices
 
Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with Git
 
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentationGroovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
 
AtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
AtlasCamp 2014: 10 Things a Front End Developer Should Know About ConnectAtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
AtlasCamp 2014: 10 Things a Front End Developer Should Know About Connect
 
Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with Git
 
Vert.x devoxx london 2013
Vert.x devoxx london 2013Vert.x devoxx london 2013
Vert.x devoxx london 2013
 
Vaadin 7 CN
Vaadin 7 CNVaadin 7 CN
Vaadin 7 CN
 
Dojo - from web page to web apps
Dojo - from web page to web appsDojo - from web page to web apps
Dojo - from web page to web apps
 
WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...
 
Practical AngularJS
Practical AngularJSPractical AngularJS
Practical AngularJS
 
HTML5 on Mobile
HTML5 on MobileHTML5 on Mobile
HTML5 on Mobile
 
Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDE
 
Event-driven IO server-side JavaScript environment based on V8 Engine
Event-driven IO server-side JavaScript environment based on V8 EngineEvent-driven IO server-side JavaScript environment based on V8 Engine
Event-driven IO server-side JavaScript environment based on V8 Engine
 
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at NetflixOSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
OSCON 2014 - API Ecosystem with Scala, Scalatra, and Swagger at Netflix
 

More from FIWARE

Behm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptxBehm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptx
FIWARE
 
Katharina Hogrebe Herne Digital Days.pdf
 Katharina Hogrebe Herne Digital Days.pdf Katharina Hogrebe Herne Digital Days.pdf
Katharina Hogrebe Herne Digital Days.pdf
FIWARE
 
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
FIWARE
 
Behm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptxBehm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptx
FIWARE
 
Evangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptxEvangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptx
FIWARE
 
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
FIWARE
 
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
FIWARE
 
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
FIWARE
 
Ulrich Ahle_FIWARE.pptx
Ulrich Ahle_FIWARE.pptxUlrich Ahle_FIWARE.pptx
Ulrich Ahle_FIWARE.pptx
FIWARE
 
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptxAleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
FIWARE
 
Water Quality - Lukas Kuenzel.pdf
Water Quality - Lukas Kuenzel.pdfWater Quality - Lukas Kuenzel.pdf
Water Quality - Lukas Kuenzel.pdf
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
 
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
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
 
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
FIWARE
 
WE_LoRaWAN _ IoT.pptx
WE_LoRaWAN  _ IoT.pptxWE_LoRaWAN  _ IoT.pptx
WE_LoRaWAN _ IoT.pptx
FIWARE
 
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
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

Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
ishalveerrandhawa1
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
ScyllaDB
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Chris Swan
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
Adam Dunkels
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
BookNet Canada
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
Toru Tamaki
 

Recently uploaded (20)

Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
 

Developing your first application using FIWARE

  • 1. Developing your first application using FI-WARE Fermín Galán Márquez (fermin@tid.es), Miguel Jimenez (mjimenez@fi.upm.es), Carlos Ralli (ralli@tid.es), Juanjo Hierro (jhierro@tid.es) Telefónica I+D, Universidad Politécnica de Madrid Open APIs for Open Minds
  • 2. Let’s go into detail… 1
  • 3. Architecture Wirecloud (javascript runtime) 2 NGSI IoT Adapter IoT Backend Device Management Browser Ticket Management Context Broker CEP widgets Object Storage History Location Wirecloud (server) Cosmos
  • 4. Wirecloud (javascript runtime) 3 NGSI IoT Adapter IoT Backend Device Management Browser Ticket Management Context Broker CEP widgets Object Storage History Location Wirecloud (server) Cosmos Context Broker
  • 5. Taking a closer look 4 Context Broker Context Producers Context Consumers subscriptions update query notify notify update update 1026 Ticket Management History 1026 Ticket Management DB Wirecloud Wirecloud
  • 6. The NGSI information model “has” “has” Issues location TimeInstant 5 Meta-data • Name • Type • Value Context Element attributes • Name • Type • Value Context Element • EntityId • EntityType 1 n 1 n (We are not fully supporting metadata right now) Electrical Regulator Node Lamps Vans Technicians severity batteryCharge illuminance presence electricPotential …and many more (look to app code)
  • 7. Typical Orion broker utilization steps registerContext updateContext queryContext subscribeContext Creating new context elements “Write” context elements information To different ways of “reading” context elements information subscribeContext Availability Getting aware of new context elements discoverContext Availability Look for existing context elements NGSI9 operation (context availability) NGSI10 operation (context information)
  • 8. Context platform available at Campus Party notify Context Broker Echo 7 server 1026 1028 notify (Only for demonstration purposes during the workshop) Global instance at orion.lab.fi-ware.eu (at FI-LAB cloud) Context Broker LiveDemo testbed Backend Device Management Context Broker Context Broker Context … Broker notify notify updateContext Dedicated instances at http://yourvm:1026 “FI-WARE Cloud: bringing OpenStack to the next level” workshop (Wed 10-12am) Nodes AMMS Regulator Vans Shared!!! NGSI enabled NSGeSnIs oernsabled NSGeSnIs oernsabled Sensors
  • 9. Wirecloud Wirecloud (javascript runtime) 8 NGSI IoT Adapter IoT Backend Device Management Browser Ticket Management Context Broker CEP widgets Object Storage History Location Wirecloud (server) Cosmos
  • 10. What is Wirecloud? 9 Backend service Backend service Backend service NGSI API Object Storage API Context Broker
  • 11. Catalogue of widgets and mashups  Widget  .wgt Application Mashup API Local catalogue Store API widget .wgt
  • 12. What can I do with Wirecloud? 11
  • 13. To create my own application mashup…  Widgets and operators: • Widgets can be developed with any Web technology (HTML, Flash, SVG…) that supports JavaScript. • Operators are coded in JavaScript  Both widgets and operators can be easily adapted from existing ones, or created from scratch  Open Widget API • JavaScript API • Core Widgets Functionality: › gain access to external resources (cross-domain problem) › wiring › preferences › … 12
  • 14. How to develop a widget?  Setting up the development environment • Eclipse, VIM, etc... • Creating the directory structure (WGT)  Creating the widget: • Create the template of the widget (config.xml) • Widget view: an HTML file + CSS • Widget app logic: JavaScript (using Widget API)  Testing your widget • Uploading the widget to Local Catalogue › The WGT file is a ZIP file renamed to .wgt • Add widget to a mashup › Wiring, preferences, layout… 13
  • 15. Widget structure  config.xml • definition of the widget (based on WDL)  index.html • main view file • references JS and CSS resources  /js • directory for JavaScript files  /css • directory for CSS files  /images • directory for images  /doc • documentation 14
  • 16. Config.xml  The mandatory config.xml file contains the WDL XML template needed to tell Wirecloud what the widget looks like. This includes: • Widget metadata (non-functional properties) • User preferences • Widget inputs and outputs (wiring) • Link to the actual widget source code • Default rendering information 15
  • 17. Config.xml example (I) <?xml version="1.0" encoding="UTF-8"?> <Template xmlns="http://wirecloud.conwet.fi.upm.es/ns/template#"> <Catalog.ResourceDescription> <Vendor>Company distributing the widget</Vendor> <Name>Widget name</Name> <Version>0.0.1</Version> <DisplayName>Widget Example</DisplayName> <Author>mjimenez</Author> <Mail>mjimenez@fi.upm.es</Mail> <Description>Full widget description to be shown in catalogue</Description> <ImageURI>Absolute or relative path to display image</ImageURI> <iPhoneImageURI>Path to imate to display on mobile devices</iPhoneImageURI> <WikiURI>Path to widget doc</WikiURI> </Catalog.ResourceDescription> 16
  • 18. Config.xml example (II) <Platform.Preferences> <Preference name=”pref_name" type="text" description="…" /> </Platform.Preferences> <Platform.Wiring> <OutputEndpoint name="identifier" type="text" label="Label to show on wiring" description="description" friendcode="same as compatible input endpoint friendcode"/> <InputEndpoint name="identifier" type="text" label="Label to show on wiring" description="description" friendcode="same as compatible output endpoint friendcode"/> </Platform.Wiring> <Platform.Link> <XHTML href="index.html"/> </Platform.Link> <Platform.Rendering width="6" height="24"/> </Template> 17
  • 19. index.html example <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="js/main.js"></script> <link rel="stylesheet" type="text/css" href="css/style.css" /> </head> <body> <!– Create here or create by JavaScript -> </body> </html> 18
  • 20. Using the Open Widget API  Accessing widget preferences MashupPlatform.prefs.get("google_key") MashupPlatform.prefs.set("color", "red") MashupPlatform.prefs.registerCallback(callbackFunction)  Getting user login name MashupPlatform.context.get("username"); 19
  • 21. Wiring endpoints  Declaration on config.xml <Platform.Wiring> <InputEndpoint name="my_input_name" type="text" label="my_label" description="my_description" friendcode="some_code" /> <OutputEndpoint name="my_output_name" type="text" label="label" description="description" friendcode="url"/> </Platform.Wiring>  Input endpoints MashupPlatform.wiring.registerCallback("my_input_name", inputListener);  Output endpoints MashupPlatform.wiring.pushEvent("my_output_name", data); 20
  • 22. Making a cross-domain HTTP request  Perform the invocation and register asynchronous call-backs: MashupPlatform.http.makeRequest(url, { method: 'GET', onSuccess: function (transport) { var response; response = JSON.parse(transport.responseText); ... }, onFailure: function (transport) { onError(); } }); 21
  • 23. Connecting a widget to NGSI  Register NGSI usage on config.xml <Requirements> <Feature name="NGSI"/> </Requirements>  Send a notification through NGSI var connection = new NGSI.Connection('http://orion.lab.fi-ware.eu'); connection.updateAttributes([{ entity: { id: 'iss8', type: 'Issue' }, attributes:[{ name: 'technician', contextValue: 'tech1' }] }], { onSuccess: function () { //… }, onFailure: function () { //… } }); 22
  • 24. Connecting a widget to NGSI  Subscribe for notifications on certain entities var entityIdList = [ {type: 'Van', id: '.*', isPattern: true}, {type: 'Technician', id: '.*', isPattern: true} ]; var attributeList = null; var duration = 'PT3H'; var throttling = null; var notifyConditions = [{ type: 'ONCHANGE', condValues: ['name', 'current_position'] }]; var options = { flat: true, onNotify: process_entities, onSuccess: function (data) { subscriptionId = data.subscriptionId; refresh_interval = setInterval(refreshNGSISubscript, 1000*60*60*2);//2 hours } }; connection.createSubscription(entityIdList, attributeList, duration, throttling, notifyConditions, options); 23
  • 25. Using Object Storage from a widget  Register Object Storage usage on config.xml <Requirements> <Feature name="ObjectStorage"/> </Requirements>  Upload a file var object_storage = new ObjectStorageAPI(’<Object Storage instance url>'); var fileParts = ["<a id="a"><b id="b">hey!</b></a>"]; var myBlob = new Blob(fileParts, { "type" : "text/xml" }); object_storage.uploadFile('folder_name', myBlob, token, { file_name: 'myFile.xml', onSuccess: function () { alert('File uploaded successfully'); }, onFailure: function () { alert('Something went wrong while uploading the file'); } }); 24
  • 26. Uploading your widget  Compress (zip) the widget contents • Rename it as a .wgt file  Upload the WGT file to Local Catalogue through WireCloud web interface 25
  • 28. Resources  https://mashup.lab.fi-ware.eu You can always find the most updated documentation of Wirecloud in: • http://conwet.fi.upm.es/wirecloud  User and Programmer Guide: • https://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Composition_Editor_- _Wirecloud_Mashup_Platform_-_User_and_Programmer_Guide  Installation and Administration Guide: • https://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Composition_Editor_- _Wirecloud_Mashup_Platform_-_Installation_and_Administration_Guide  Download from Github: • Wirecloud source code: https://github.com/Wirecloud/wirecloud • Widget's source code of FIWARE's Live Demo mashable application component): https://github.com/wirecloud-fiware/live-demo-macs  Stuff for this workshop • http://tinyurl.com/fiware-dropbox 27
  • 29. Online videos  FIWARE Live Demo: http://www.youtube.com/watch?v=Wh_zPsLUg-8  ENVIROFI Demo: https://www.youtube.com/watch?v=yEXlLQYq7s4  Other videos: • http://www.youtube.com/embed/d7_EG42AHJw - Building a mashup from Geowidgets linked to geospatial services. • http://www.youtube.com/embed/urDGWSnrbtE - Using operators in a mashup to allow widgets to send tweets • http://www.youtube.com/embed/kW0sXMxgMLI - An example of integration with the marketplace and the catalogue GEs 28
  • 30. Sensors Wirecloud (javascript runtime) 29 NGSI IoT Adapter IoT Backend Device Management Browser Ticket Management Context Broker CEP widgets Object Storage History Location Wirecloud (server) Cosmos
  • 31. FI-WARE IoT Extended Platform Vision Plug IoT world to FI-WARE via NGSI notifications.
  • 32. FI-WARE IoT Functional Architecture (Target)
  • 33. FI-WARE IoT Challenge Architecture CONTEXT NGSI9 (Register) IDAS BROKER sendobservation NGSI10 (Observations) addobservation fizway SensorML registerdevice fizway_switchd fizway_register z-way server (Razberry HW) FIGWAY FIZWAY Devices SensorML
  • 34. Connecting a basic z-wave pack Obs. Query http://m2m.telefonica.com IDAS CONTEXT BROKER Register Observations NGSI (B) (A) SensorML Download the PI image with FIGWAY software at: http://tinyurl.com/figway-img
  • 35. HOW-TO Get Started - Z-wave basic pack 0) You need: a RaspberryPI + Razbian card plugged in its GPIO 1) Include your z-wave devices into your z-wave network Complete your sensor details in our “IoT Challenge HUB doc” https://docs.google.com/spreadsheet/ccc?key=0ArcymbqnpOfkdGNYUkpaTF9qRVhkOTFIYW14SkxaZ1E#gid=0 34 2) Edit "fizway_resgister” & "fizway" scripts Update the Device_ID number of your sensors. 3) Edit the file SensorML/Register_SWITCH Update the line containing the callback URL: "<swe:value>http://1.0.0.1:9999</swe:value>” -> Instead of 1.0.0.1 put the RaspberryPI public IP address -> Instead of 9999 set the port the switch daemon will be listening (normally, 7777) 4) Check & Edit -if necessary- the figway "Config" file. Normally, modifications aren't needed so you can skip (4). A Config.example file is provided and comments should make this task really easy. 5) Register all your working sensors by executing >./fizway_register 6) Launch the script to interconnect your sensors to FI-WARE IoT Backend: >./fizway &
  • 36. 0) Mount RaspberryPI + Razbian 35
  • 37. 0.2) Flash FIGWAY.img & Get IP address 36
  • 38. 1) Include devices into a z-wave Network 37 EXCLUDE - Razberry exclusion mode - Press 4IN1 inclusion button INCLUDE - Razberry inclusion mode - Press 4IN1 Inclusion button CONFIGURATION - Select profile Aeon multisensor 1.18 - Press 4IN1 inclusion button 3 times - Configure to send Group1 all obs (720s)
  • 39. 1) Include devices into a z-wave Network EXCLUDE - Razberry exclusion mode - Press KEYFOB 4 buttons 5sec (led slow blink) - Press button “1”, (try twice if it doesn’t work) INCLUDE - Razberry inclusion mode - Press KEYFOB 4 buttons 5sec (led slow blink) - Press button “1” CONFIGURATION - Configure remote KeyFob To apply config: WAKE-UP Device Press KEYFOB 4 buttons 5sec - Press button “2” (Try twice) Buttons in pair mode(1-3, 2-4): -> SEPARATELY Groups to send: -> SWITCH ON/OFF ONLY (SEND BASIC SET)
  • 40. 1) Include devices into a z-wave Network 39 EXCLUDE - Razberry exclude mode - Switch ON - Press ON/OFF 3 times between 1,5sec INCLUDE - Razberry inclusion mode - Switch ON - Press ON/OFF 3 times between 1,5sec NO CONFIG is needed. ALL DEVICES INCLUDED. DEVICES IDs SHOWN: 2 (4IN1), 3 (KEYFOB) , 4 (SWITCH)
  • 41. 1) Include devices into a z-wave Network 40 CONFIGURATION - Select Zwave Description Record: Wintop iLED EXCLUDE - Razberry exclude mode - Switch ON (use a screw-driver) - Press ON 3 times between 1,5sec INCLUDE - Razberry exclude mode - Switch ON (use a screw-driver) - Press ON 3 times between 1,5sec
  • 42. 1) Include devices into a z-wave Network Provide your sensors to all: “IoT Challenge HUB doc” https://docs.google.com/spreadsheet/ccc?key=0ArcymbqnpOfkdGNYUkpaTF9qRVhkOTFIYW14SkxaZ1E#gid=0 41 SHARE SENSORs IS A MUST SHARE SWITCHES IS OPTIONAL
  • 43. 2) Edit "fizway_resgister” & "fizway" scripts Update correct IDs of your z-wave network (only for Devices you have) Actuators ports should be: 7777, 7778, etc. -> Update scripts “fizway_resgister” and “fizway”. 42
  • 44. 3) Configure the SWITCH to receive commands Set the IPv4 Address of your Raspberry PI. Port is SWITCH one (7777). 43
  • 45. 4) Check & Edit the figway "Config" file Pre-configured for IoT Challenge. No modifications are needed. 44
  • 46. 5) Register all working devices in the Backend Launch de script “./fizway_resgister” For every device you’ll see a similar output as shown above. If it works, your devices are correctly register in the IDAS Backend. If it fails, increasing DEBUG level in the “Config” file helps a lot. 45
  • 47. 6) Launch fizway script Launch de script “./fizway &” You may redirect the output to a log file if you’ close the window: “./fizway >> ./fizway_log &” You’ll see: - Devices you are listening to and their Device Number (z-wave network ID). - Daemons listening for Actuators commands coming from the Backend. 46
  • 48. Building your Fi-WARE IoT Apps 1) IDAS ADMIN API – Check Services, Subscriptions & Details 47 2) IDAS ADMIN API – Check Devices & Details 3) IDAS ADMIN API – Send a command to a z-wave Switch 4) IDAS ADMIN API - Subscribe your App to Devices Notifications 5) IDAS (or Global Context Broker) NGSI API – Get last observations of a device 6) WIRECLOUD API - Connect a Wirecloud widget
  • 49. Building your Fi-WARE IoT Apps 1) IDAS ADMIN API – Check Services, Subscriptions to Service & Service Details 48
  • 50. Building your Fi-WARE IoT Apps 2) IDAS ADMIN API – Check Devices & Device Details 49
  • 51. Building your Fi-WARE IoT Apps 3) IDAS ADMIN API – Send a command to a z-wave Switch 50 COMMANDs TO SWITCHES/DIMMERS Follow “sendcommand” example. Send: “FIZCOMMAND N” N: 0-255. 0 = off, 255 = on
  • 52. Building your Fi-WARE IoT Apps 4) IDAS ADMIN API – Send a command to a z-wave Switch 51
  • 53. Building your Fi-WARE IoT Apps 5) IDAS NGSI API – Get last observations of a device 52
  • 54. Building your Fi-WARE IoT Apps 6) WIRECLOUD API - Connect a Wirecloud widget 53
  • 55. ANNEX: where to find more docs 54 - IDAS APIs http://www.fi-ware.eu - z-way server: http://en.z-wave.me/docs/zway_manual_en.pdf - Aeon 4IN1 Manual http://www.smarthus.info/support/manuals/zw_sikkerhet/aeotec_multisensor_tech.pdf - Zwave.me KeyFob https://www.uk-automation.co.uk/pdf/zwavemekeyfob.pdf - Everspring Switch/Dimmer http://doc.eedomus.com/files/EVR_AN158%20MANUEL%20US.pdf - Fibaro RGB SWITCH http://www.fibaro.com/manuals/en/FGRGBWM-441-RGBW-Controller/FGRGBWM-441-RGBW-Controller- en-2.1-2.3.pdf
  • 56. Object Storage Wirecloud (javascript runtime) • More info at “FI-WARE Cloud: bringing OpenStack to the next level” workshop (Wed 10-12am) 55 NGSI IoT Adapter IoT Backend Device Management Browser Ticket Management Context Broker CEP widgets Object Storage History Location Wirecloud (server) Cosmos • Contact Person: John Kennedy <john.m.kennedy at intel dot com >
  • 57. Cosmos Wirecloud (javascript runtime) 56 NGSI IoT Adapter IoT Backend Device Management Browser Ticket Management Context Broker CEP widgets Object Storage History Location Wirecloud (server) Cosmos • Have a look to http://tinyurl.com/c0sm0s • Contact Person: Francisco Romero <frb at tid dot es>
  • 58. Extending Live Demo Wirecloud (javascript runtime) https://github.com/wirecloud-fiware/live-demo-macs https://github.com/wirecloud-fiware/historymod 57 NGSI IoT Adapter IoT Backend Device Management Browser Ticket Management Context Broker CEP widgets Object Storage History Location Wirecloud (server) Cosmos https://github.com/telefonicaid/fiware-livedemoapp
  • 59. Useful additional references  Workshop Homepage http://tinyurl.com/fiware-cp-ws1 • Long URL: http://www.fi-ware.eu/campus-party-europedeveloping-your-first-application- workshop  The FI-WARE Catalogue http://catalogue.fi-ware.eu • With information about FI-WARE GEis, e.g. Orion Context Broker, Wirecloud, etc.  Dropbox for Workshop stuff: http://tinyurl.com/fiware-dropbox  Dropbox for Raspberry Pi image: http://tinyurl.com/figway-img • Use the following as backup in case of problems: http://130.206.82.17 58
  • 60. Thanks !  http://fi-ppp.eu  http://fi-ware.eu  Follow @Fiware on Twitter ! 59

Editor's Notes

  1. Ticket Management = event2issue and location2cb
  2. Ticket Management = event2issue and location2cb
  3. Orion Context Broker is an implementation of a context information broker with persistent storage It implements OMA NGSI9/10 specification NGSI9 is about context information availability (i.e. sources of context information) management NGSI10 is about context information itself
  4. Ticket Management = event2issue and location2cb
  5. Ticket Management = event2issue and location2cb
  6. Ticket Management = event2issue and location2cb
  7. URL long names: http://wiki.fi-ware.eu/Cosmos_information_for_the_Campus_Party_Europe_in_London_2013
  8. Ticket Management = event2issue y location2cb
  9. Long URLs: https://gist.github.com/fgalan/6422169 https://www.dropbox.com/sh/iszgi1507jqimok/3ij6bOLD7U http://www.fi-ware.eu/campus-party-europedeveloping-your-first-application-workshop/