SlideShare uma empresa Scribd logo
1 de 24
Baixar para ler offline
Creating a Java Internet of Things Gateway 
David Woodard, Eurotech
Internet / 
TCP/IP 
Sometimes IoT Solutions look simple … 
Business 
Application 
Sensors, 
Actuators, 
Displays, … 
Service 
Gateway 
Single or no special 
application on gateway 
A single application 
to communicate with 
Only one type of 
Gateway HW & SW 
Only one type of 
device / sensor 
No connectivity 
options required
Internet / 
TCP/IP 
Ethernet 
WiFi 
3G / 
LTE 
Satellite 
WiMAX 
Other 
... But it gets complex 
Business 
Application 
Sensors, 
Actuators, 
Displays, … 
•Multiple services on the gateway / edge node 
•Different connectivity options 
•More than one kind of vertical market value proposition 
•Customer specific business logic 
2G / 
2.5G 
xDSL 
Cable
... More complexity with multiple consumers 
@ 
Business 
Applications 
Sensors, 
Actuators, 
Displays, … 
?
IoT Architectures 
Business 
Applications 
Sensors, 
Actuators, 
Displays, … 
@ 
Application Framework 
+ 
Multi-Service 
Gateway 
M2M/IoT Integration Platform on Cloud 
M2M 
Integration 
Platform
IoT Gateway Stack 
Increase productivity and lower time to market 
OSGi 
on 
Linux 
Hardware 
Java SE Embedded 
Code 
Code 
Code
Birth of 
•June 16, 2013 
•December 16, 2013 
v0.7.0 
•August14, 2014 
•September 25, 2014
Linux OS 
Embedded App 
Simplify the design, deployment and remote management of embedded applications. 
•Modular software components 
•Manage cloud connectivity 
•Configure the network, such as Wi-Fi and cellular bearers, firewalling and routing, etc. 
•Support different protocols to connect to different servers or devices (ex. MQTT, Serial, Modbus, CANBus). 
•Allow for remote application and device management and configuration. 
•Cohesive and integrated ensuring application portability 
Java / OSGi 
Open HW 
Industrial 
HW 
Eclipse 
www.eclipse.org/kura
Services 
Java SE 7 (Oracle Java SE Embedded, OpenJDK) 
OSGi Application Container (Eclipse Equinox, Concierge) 
Device Abstraction 
javax.comm 
Basic Gateway Services 
DB Service 
Clock Service 
Device Profile 
Watchdog 
Network Configuration 
Network Configuration 
Field Protocols 
Connectivity and Delivery 
Data Services 
MQTT Paho 
Administration GUI 
Applications 
Your Application 
Remote Management 
Configuration Management 
javax.usb / udev 
Cloud Services 
Your Application 
Firewall, Port Forwarding 
Link Monitors 
Cellular, Wi-Fi, Ethernet 
GPS Position 
GPIO / SPI / PWM / I2C 
Modbus 
CANBus 
Custom Protocols 
Updates 
Management 
Remote Access (VPN)
Developer’s Experience 
Emulate on PC 
Deploy on Target 
Cloud Managed 
Start developing your IoT /M2M application in the comfort of your PC. 
•Full Eclipse Integration 
•Target Platform Definition 
•Emulated Services 
•Run/Debug from Eclipse 
•Support Mac/Linux Hosts 
When you are ready, deploy your application on the gateway. 
•One-click Deployment 
•Eclipse Plugin 
•Remote Debugging 
Provision and manage your applications in field devices from the Cloud. 
•Remote OSGi Management via MQTT 
•Web-based Console
Kura Data Transport Optioins 
•DataTransportService 
–Available for standard MQTT messaging. Allows consumers of the service to connect to brokers, publish messages, and receive messages on subscribed topics 
•DataService 
–Delegates data transport to the DataTransportService 
–Provides extended features for managing broker connections, buffering of published messages, and priority based delivery of messages 
•CloudService 
–Further extends the functionality of DataService. 
–Provides means for more complex flows (i.e. request/response) 
–Manages single broker connection across multiple applications 
–Provides payload data model with encoding/decoding serializers 
–Publishes life cycle manages for devices and applications
Kura Configurable Component <?xml version="1.0" encoding="UTF-8"?> <MetaData xmlns=http://www.osgi.org/xmlns/metatype/v1.2.0 localization="en_us"> <OCD id="org.eclipse.iot.greenhouse.publisher.GreenhousePublisher" name="Greenhouse Publisher" description="Settings for the greenhouse application."> <AD id="warning.level" name="warning.level" type="Integer" cardinality="0" reguired="true" default="20" description="Triggers alarm if temperature falls below this limit." /> </OCD> </MeataData>
Kura Configurable Component 
Applications implementing Configurable Component will be available in Kura UI 
Attributes configured in XML appear in form panel
Network Services
Greenhouse Demo Architecture 
Temperature Sensor 
Humidity Sensor 
Light Sensor 
I2C 
GPIO
OSGi Services 
•CloudClientListener (From Kura) 
–Provided service for handling messaging events (connection established, message arrived, message sent, etc.) 
•CloudService (From Kura) 
–Consumed service to manage connection to cloud across multiple applications, publish life cycle messages, serialize/deserialize compressed data payload, and more. 
•SensorChangedListener (From Application) 
–Provided service to send MQTT message once a sensor has detected a change 
•GreenhouseSensorService (From Application) 
–Provided service for getting values from sensors and setting actuator values (i.e. – LED)
Greenhouse Application 
public class GreenhousePublisher implements ConfigurableComponent, CloudClientListener, SensorChangedListener { private static final String APP_ID = "greenhouse-demo"; _cloudClient = _cloudService.newCloudClient(APP_ID); _cloudClient.addCloudClientListener(this); @Override public void onConnectionEstablished() { _cloudClient.subscribe("#", 0); } @Override public void sensorChanged(String sensorName,Object newValue) { KuraPayload payload = new KuraPayload; payload.setTimestamp(new Date()); payload.addMetric("value", newValue); int messageId = cloudClient.publish(topic, payload, qos, retain, 2); } }
GreenhouseSensorService public class Pi4JGreenhouseSensorService implements GreenhouseSensorService { _gpioController = GpioFactory.getInstance; 
_i2cbus = I2CFactory.getInstance(I2CBus.BUS_1; 
_temperatureSensor = _i2cbus.getDevice(0x40); 
_lightActuator =_gpioController.provisionDigitalMultipurposePin( 
RaspiPin.GPIO_00, "led”, PinMode.DIGITAL_OUTPUT); 
@Override 
public void setActuatorValue(String actuatorName, Object value){ 
_lightActuator.setState("on".equals(value)); notifyListeners("light", value); } }
Eurotech Everyware Cloud
Business Logic
MQTT Topics and Payloads 
javaonedemo 
sensors 
actuator 
•Timestamp 
•Metrics: 
•value 
•warn 
•Timestamp 
•Metrics: 
•value 
Kura Payload 
Kura Payload 
temperature 
humidity 
lux 
light
on 
Everyware Software Framework (ESF) 
Kura & ESF 
Linux OS 
Java/OSGi 
on 
Elements outside 
the scope of Kura 
Linux OS 
Java/OSGi 
on 
on 
ESF now builds on Kura, with the addition of commercial support and extra features: 
•Everyware Cloud remote management and logging 
•Diagnostic 
•Everyware VPN 
•Field Protocols 
•Bundles for specific vertical applications 
•Device provisioning 
Core Elements of ESF, a proven application framework for embedded devices form the basis for Kura
You are important! 
•Learn More - come visit us on the Exhibition Floor: 
–Eurotech Booth 
–Eclipse Booth 
•Contribute! www.eclipse.org/kura
www.eurotech.com 
Thank You!

Mais conteúdo relacionado

Mais procurados

Real World IoT Architectures and Projects with Eclipse IoT
Real World IoT Architectures and Projects with Eclipse IoTReal World IoT Architectures and Projects with Eclipse IoT
Real World IoT Architectures and Projects with Eclipse IoTEurotech
 
Kura M2M IoT Gateway
Kura M2M IoT GatewayKura M2M IoT Gateway
Kura M2M IoT GatewayEurotech
 
An IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m servicesAn IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m servicesSoumya Kanti Datta
 
L’IoT industriale e i vantaggi competitivi della trasformazione digitale
L’IoT  industriale e i vantaggi competitivi della trasformazione digitale L’IoT  industriale e i vantaggi competitivi della trasformazione digitale
L’IoT industriale e i vantaggi competitivi della trasformazione digitale Eurotech
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresEclipse Kura
 
OSGi and Java in Industrial IoT
OSGi and Java in Industrial IoTOSGi and Java in Industrial IoT
OSGi and Java in Industrial IoTEurotech
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresEurotech
 
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre BottaroAn end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaromfrancis
 
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the RescueIndustrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the RescueEurotech
 
Automatic People and Passenger Counters
Automatic People and Passenger CountersAutomatic People and Passenger Counters
Automatic People and Passenger CountersEurotech
 
Iot gateways march 2015
Iot gateways march 2015Iot gateways march 2015
Iot gateways march 2015sgadgil2002
 
M2M in Transportation, Mining and Agriculture
M2M in Transportation, Mining and AgricultureM2M in Transportation, Mining and Agriculture
M2M in Transportation, Mining and AgricultureEurotech
 
Is your OT/IT offering IoT-ready?
Is your OT/IT offering IoT-ready?Is your OT/IT offering IoT-ready?
Is your OT/IT offering IoT-ready?Eurotech
 
How to bootstrap your IoT project
How to bootstrap  your IoT projectHow to bootstrap  your IoT project
How to bootstrap your IoT projectEurotech
 
Internet of Things (IoT) Costs, Connectivity, Resources and Software
Internet of Things (IoT) Costs, Connectivity, Resources and SoftwareInternet of Things (IoT) Costs, Connectivity, Resources and Software
Internet of Things (IoT) Costs, Connectivity, Resources and SoftwareReal-Time Innovations (RTI)
 
[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT Platform
[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT Platform[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT Platform
[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT PlatformWSO2
 
Simplify Internet of Things with an Intelligent Gateway
Simplify Internet of Things with an Intelligent GatewaySimplify Internet of Things with an Intelligent Gateway
Simplify Internet of Things with an Intelligent GatewayEurotech
 
Architectural Patterns in IoT Cloud Platforms
Architectural Patterns in IoT Cloud PlatformsArchitectural Patterns in IoT Cloud Platforms
Architectural Patterns in IoT Cloud PlatformsRoshan Kulkarni
 

Mais procurados (20)

Real World IoT Architectures and Projects with Eclipse IoT
Real World IoT Architectures and Projects with Eclipse IoTReal World IoT Architectures and Projects with Eclipse IoT
Real World IoT Architectures and Projects with Eclipse IoT
 
Kura M2M IoT Gateway
Kura M2M IoT GatewayKura M2M IoT Gateway
Kura M2M IoT Gateway
 
An IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m servicesAn IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m services
 
L’IoT industriale e i vantaggi competitivi della trasformazione digitale
L’IoT  industriale e i vantaggi competitivi della trasformazione digitale L’IoT  industriale e i vantaggi competitivi della trasformazione digitale
L’IoT industriale e i vantaggi competitivi della trasformazione digitale
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
 
OSGi and Java in Industrial IoT
OSGi and Java in Industrial IoTOSGi and Java in Industrial IoT
OSGi and Java in Industrial IoT
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
 
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre BottaroAn end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
 
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the RescueIndustrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
 
Automatic People and Passenger Counters
Automatic People and Passenger CountersAutomatic People and Passenger Counters
Automatic People and Passenger Counters
 
Iot gateways march 2015
Iot gateways march 2015Iot gateways march 2015
Iot gateways march 2015
 
M2M in Transportation, Mining and Agriculture
M2M in Transportation, Mining and AgricultureM2M in Transportation, Mining and Agriculture
M2M in Transportation, Mining and Agriculture
 
Is your OT/IT offering IoT-ready?
Is your OT/IT offering IoT-ready?Is your OT/IT offering IoT-ready?
Is your OT/IT offering IoT-ready?
 
How to bootstrap your IoT project
How to bootstrap  your IoT projectHow to bootstrap  your IoT project
How to bootstrap your IoT project
 
Internet of Things (IoT) Costs, Connectivity, Resources and Software
Internet of Things (IoT) Costs, Connectivity, Resources and SoftwareInternet of Things (IoT) Costs, Connectivity, Resources and Software
Internet of Things (IoT) Costs, Connectivity, Resources and Software
 
[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT Platform
[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT Platform[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT Platform
[WSO2Con EU 2017] Building Smart, Connected Products with WSO2 IoT Platform
 
Internet of Things - Advantech IoT Gateway Starter Kit
Internet of Things - Advantech IoT Gateway Starter KitInternet of Things - Advantech IoT Gateway Starter Kit
Internet of Things - Advantech IoT Gateway Starter Kit
 
Simplify Internet of Things with an Intelligent Gateway
Simplify Internet of Things with an Intelligent GatewaySimplify Internet of Things with an Intelligent Gateway
Simplify Internet of Things with an Intelligent Gateway
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
Architectural Patterns in IoT Cloud Platforms
Architectural Patterns in IoT Cloud PlatformsArchitectural Patterns in IoT Cloud Platforms
Architectural Patterns in IoT Cloud Platforms
 

Destaque

Internet of Things: a reality check
Internet of Things: a reality check Internet of Things: a reality check
Internet of Things: a reality check Eurotech
 
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014Eurotech
 
Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0
Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0
Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0Eurotech
 
IoT Acceleration Secrets
IoT Acceleration SecretsIoT Acceleration Secrets
IoT Acceleration SecretsEurotech
 
ReliaSens. air quality monitoring station for smart cities
ReliaSens. air quality monitoring station for smart cities ReliaSens. air quality monitoring station for smart cities
ReliaSens. air quality monitoring station for smart cities Eurotech
 
IoT / M2M Solutions with Informix in the IoT Gateway
IoT / M2M Solutions with Informix in the IoT GatewayIoT / M2M Solutions with Informix in the IoT Gateway
IoT / M2M Solutions with Informix in the IoT GatewayEurotech
 
Real World IoT Architecture Use Cases
Real World IoT Architecture Use CasesReal World IoT Architecture Use Cases
Real World IoT Architecture Use CasesEurotech
 
IoT Solutions for Smart Energy Smart Grid and Smart Utility Applications
IoT Solutions for Smart Energy Smart Grid and Smart Utility ApplicationsIoT Solutions for Smart Energy Smart Grid and Smart Utility Applications
IoT Solutions for Smart Energy Smart Grid and Smart Utility ApplicationsEurotech
 
Raspberry pi based project abstracts
Raspberry pi based project abstractsRaspberry pi based project abstracts
Raspberry pi based project abstractsSoftroniics india
 
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...Kai Wähner
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry PiYash Gajera
 
Raspberry pi : an introduction
Raspberry pi : an introductionRaspberry pi : an introduction
Raspberry pi : an introductionLTG Oxford
 
Shareslide presentation
Shareslide presentationShareslide presentation
Shareslide presentationksross
 
IoT Cloud architecture
IoT Cloud architectureIoT Cloud architecture
IoT Cloud architectureMachinePulse
 
Internet of Things
Internet of ThingsInternet of Things
Internet of ThingsVala Afshar
 

Destaque (18)

Internet of Things: a reality check
Internet of Things: a reality check Internet of Things: a reality check
Internet of Things: a reality check
 
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
 
Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0
Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0
Vivere del Cambiamento: tracciare la rotta verso l'industria 4.0
 
IoT Acceleration Secrets
IoT Acceleration SecretsIoT Acceleration Secrets
IoT Acceleration Secrets
 
ReliaSens. air quality monitoring station for smart cities
ReliaSens. air quality monitoring station for smart cities ReliaSens. air quality monitoring station for smart cities
ReliaSens. air quality monitoring station for smart cities
 
IoT / M2M Solutions with Informix in the IoT Gateway
IoT / M2M Solutions with Informix in the IoT GatewayIoT / M2M Solutions with Informix in the IoT Gateway
IoT / M2M Solutions with Informix in the IoT Gateway
 
Real World IoT Architecture Use Cases
Real World IoT Architecture Use CasesReal World IoT Architecture Use Cases
Real World IoT Architecture Use Cases
 
IoT Solutions for Smart Energy Smart Grid and Smart Utility Applications
IoT Solutions for Smart Energy Smart Grid and Smart Utility ApplicationsIoT Solutions for Smart Energy Smart Grid and Smart Utility Applications
IoT Solutions for Smart Energy Smart Grid and Smart Utility Applications
 
Raspberry pi based project abstracts
Raspberry pi based project abstractsRaspberry pi based project abstracts
Raspberry pi based project abstracts
 
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
 
Iot presentation
Iot presentationIot presentation
Iot presentation
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry Pi
 
Raspberry pi : an introduction
Raspberry pi : an introductionRaspberry pi : an introduction
Raspberry pi : an introduction
 
Shareslide presentation
Shareslide presentationShareslide presentation
Shareslide presentation
 
IoT Cloud architecture
IoT Cloud architectureIoT Cloud architecture
IoT Cloud architecture
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Internet of Things presentation
Internet of Things presentationInternet of Things presentation
Internet of Things presentation
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 

Semelhante a Creating a Java Internet of Things Gateway

Data Capture in IBM WebSphere Premises Server - Aldo Eisma, IBM
Data Capture in IBM WebSphere Premises Server - Aldo Eisma, IBMData Capture in IBM WebSphere Premises Server - Aldo Eisma, IBM
Data Capture in IBM WebSphere Premises Server - Aldo Eisma, IBMmfrancis
 
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...mfrancis
 
Creator IoT Framework
Creator IoT FrameworkCreator IoT Framework
Creator IoT FrameworkPaul Evans
 
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Amazon Web Services
 
FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE
 
Workshop AWS IoT @ IoT World Paris
Workshop AWS IoT @ IoT World ParisWorkshop AWS IoT @ IoT World Paris
Workshop AWS IoT @ IoT World ParisJulien SIMON
 
Workshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOWorkshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOJulien SIMON
 
A serverless IoT story from design to production and monitoring
A serverless IoT story from design to production and monitoringA serverless IoT story from design to production and monitoring
A serverless IoT story from design to production and monitoringCodeValue
 
A serverless IoT Story From Design to Production and Monitoring
A serverless IoT Story From Design to Production and MonitoringA serverless IoT Story From Design to Production and Monitoring
A serverless IoT Story From Design to Production and MonitoringMoaid Hathot
 
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015Amazon Web Services Korea
 
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsEurotech
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksAmazon Web Services
 
Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009guest829442
 
Internet of things at the Edge with Azure IoT Edge by sonujose
Internet of things at the Edge with Azure IoT Edge by sonujoseInternet of things at the Edge with Azure IoT Edge by sonujose
Internet of things at the Edge with Azure IoT Edge by sonujoseSonu Jose
 
DDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin MeetingDDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin MeetingJaime Martin Losa
 
OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??Guy Vinograd ☁
 
OSGi -Simplifying the IoT Gateway - Walt Bowers
OSGi -Simplifying the IoT Gateway - Walt BowersOSGi -Simplifying the IoT Gateway - Walt Bowers
OSGi -Simplifying the IoT Gateway - Walt Bowersmfrancis
 

Semelhante a Creating a Java Internet of Things Gateway (20)

Data Capture in IBM WebSphere Premises Server - Aldo Eisma, IBM
Data Capture in IBM WebSphere Premises Server - Aldo Eisma, IBMData Capture in IBM WebSphere Premises Server - Aldo Eisma, IBM
Data Capture in IBM WebSphere Premises Server - Aldo Eisma, IBM
 
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
 
Creator IoT Framework
Creator IoT FrameworkCreator IoT Framework
Creator IoT Framework
 
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
 
FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community
 
Workshop AWS IoT @ IoT World Paris
Workshop AWS IoT @ IoT World ParisWorkshop AWS IoT @ IoT World Paris
Workshop AWS IoT @ IoT World Paris
 
Workshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOWorkshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDO
 
A serverless IoT story from design to production and monitoring
A serverless IoT story from design to production and monitoringA serverless IoT story from design to production and monitoring
A serverless IoT story from design to production and monitoring
 
A serverless IoT Story From Design to Production and Monitoring
A serverless IoT Story From Design to Production and MonitoringA serverless IoT Story From Design to Production and Monitoring
A serverless IoT Story From Design to Production and Monitoring
 
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
 
citus™ iot ecosystem
citus™ iot ecosystemcitus™ iot ecosystem
citus™ iot ecosystem
 
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
 
Vortex Cloud Beyond Cloud Messaging
Vortex Cloud Beyond Cloud MessagingVortex Cloud Beyond Cloud Messaging
Vortex Cloud Beyond Cloud Messaging
 
Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009
 
AWS IoT Deep Dive
AWS IoT Deep DiveAWS IoT Deep Dive
AWS IoT Deep Dive
 
Internet of things at the Edge with Azure IoT Edge by sonujose
Internet of things at the Edge with Azure IoT Edge by sonujoseInternet of things at the Edge with Azure IoT Edge by sonujose
Internet of things at the Edge with Azure IoT Edge by sonujose
 
DDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin MeetingDDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin Meeting
 
OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??
 
OSGi -Simplifying the IoT Gateway - Walt Bowers
OSGi -Simplifying the IoT Gateway - Walt BowersOSGi -Simplifying the IoT Gateway - Walt Bowers
OSGi -Simplifying the IoT Gateway - Walt Bowers
 

Mais de Eurotech

Integrating electrical systems easily – accelerating the path towards sustain...
Integrating electrical systems easily – accelerating the path towards sustain...Integrating electrical systems easily – accelerating the path towards sustain...
Integrating electrical systems easily – accelerating the path towards sustain...Eurotech
 
Enabling supply chain flexibility and IoT scale with zero touch provisioning
Enabling supply chain flexibility and IoT scale with zero touch provisioningEnabling supply chain flexibility and IoT scale with zero touch provisioning
Enabling supply chain flexibility and IoT scale with zero touch provisioningEurotech
 
IoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoTIoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoTEurotech
 
Intelligent IoT gateway: pushing analytics at the edge
Intelligent IoT gateway: pushing analytics at the edgeIntelligent IoT gateway: pushing analytics at the edge
Intelligent IoT gateway: pushing analytics at the edgeEurotech
 
Reshaping Business Through IoT: Key Technology Factors to Consider
Reshaping Business Through IoT: Key Technology Factors to ConsiderReshaping Business Through IoT: Key Technology Factors to Consider
Reshaping Business Through IoT: Key Technology Factors to ConsiderEurotech
 
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...Eurotech
 
IoT the driver of Business Innovation: better products, new services and...
IoT the driver of  Business Innovation: better products, new  services  and...IoT the driver of  Business Innovation: better products, new  services  and...
IoT the driver of Business Innovation: better products, new services and...Eurotech
 
HPC the new normal
HPC the new normalHPC the new normal
HPC the new normalEurotech
 
IoT Business Perspectives
IoT Business Perspectives IoT Business Perspectives
IoT Business Perspectives Eurotech
 
Industrial Internet of Things in a Box
Industrial Internet of Things in a BoxIndustrial Internet of Things in a Box
Industrial Internet of Things in a BoxEurotech
 
IoT Security in Action - Boston Sept 2015
IoT Security in Action - Boston Sept 2015IoT Security in Action - Boston Sept 2015
IoT Security in Action - Boston Sept 2015Eurotech
 
IoT Security Elements
IoT Security ElementsIoT Security Elements
IoT Security ElementsEurotech
 
Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Eurotech
 
Medical & Healthcare IoT M2M Solutions
Medical & Healthcare IoT M2M SolutionsMedical & Healthcare IoT M2M Solutions
Medical & Healthcare IoT M2M SolutionsEurotech
 

Mais de Eurotech (14)

Integrating electrical systems easily – accelerating the path towards sustain...
Integrating electrical systems easily – accelerating the path towards sustain...Integrating electrical systems easily – accelerating the path towards sustain...
Integrating electrical systems easily – accelerating the path towards sustain...
 
Enabling supply chain flexibility and IoT scale with zero touch provisioning
Enabling supply chain flexibility and IoT scale with zero touch provisioningEnabling supply chain flexibility and IoT scale with zero touch provisioning
Enabling supply chain flexibility and IoT scale with zero touch provisioning
 
IoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoTIoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoT
 
Intelligent IoT gateway: pushing analytics at the edge
Intelligent IoT gateway: pushing analytics at the edgeIntelligent IoT gateway: pushing analytics at the edge
Intelligent IoT gateway: pushing analytics at the edge
 
Reshaping Business Through IoT: Key Technology Factors to Consider
Reshaping Business Through IoT: Key Technology Factors to ConsiderReshaping Business Through IoT: Key Technology Factors to Consider
Reshaping Business Through IoT: Key Technology Factors to Consider
 
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
 
IoT the driver of Business Innovation: better products, new services and...
IoT the driver of  Business Innovation: better products, new  services  and...IoT the driver of  Business Innovation: better products, new  services  and...
IoT the driver of Business Innovation: better products, new services and...
 
HPC the new normal
HPC the new normalHPC the new normal
HPC the new normal
 
IoT Business Perspectives
IoT Business Perspectives IoT Business Perspectives
IoT Business Perspectives
 
Industrial Internet of Things in a Box
Industrial Internet of Things in a BoxIndustrial Internet of Things in a Box
Industrial Internet of Things in a Box
 
IoT Security in Action - Boston Sept 2015
IoT Security in Action - Boston Sept 2015IoT Security in Action - Boston Sept 2015
IoT Security in Action - Boston Sept 2015
 
IoT Security Elements
IoT Security ElementsIoT Security Elements
IoT Security Elements
 
Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?
 
Medical & Healthcare IoT M2M Solutions
Medical & Healthcare IoT M2M SolutionsMedical & Healthcare IoT M2M Solutions
Medical & Healthcare IoT M2M Solutions
 

Creating a Java Internet of Things Gateway

  • 1. Creating a Java Internet of Things Gateway David Woodard, Eurotech
  • 2. Internet / TCP/IP Sometimes IoT Solutions look simple … Business Application Sensors, Actuators, Displays, … Service Gateway Single or no special application on gateway A single application to communicate with Only one type of Gateway HW & SW Only one type of device / sensor No connectivity options required
  • 3. Internet / TCP/IP Ethernet WiFi 3G / LTE Satellite WiMAX Other ... But it gets complex Business Application Sensors, Actuators, Displays, … •Multiple services on the gateway / edge node •Different connectivity options •More than one kind of vertical market value proposition •Customer specific business logic 2G / 2.5G xDSL Cable
  • 4. ... More complexity with multiple consumers @ Business Applications Sensors, Actuators, Displays, … ?
  • 5. IoT Architectures Business Applications Sensors, Actuators, Displays, … @ Application Framework + Multi-Service Gateway M2M/IoT Integration Platform on Cloud M2M Integration Platform
  • 6. IoT Gateway Stack Increase productivity and lower time to market OSGi on Linux Hardware Java SE Embedded Code Code Code
  • 7. Birth of •June 16, 2013 •December 16, 2013 v0.7.0 •August14, 2014 •September 25, 2014
  • 8. Linux OS Embedded App Simplify the design, deployment and remote management of embedded applications. •Modular software components •Manage cloud connectivity •Configure the network, such as Wi-Fi and cellular bearers, firewalling and routing, etc. •Support different protocols to connect to different servers or devices (ex. MQTT, Serial, Modbus, CANBus). •Allow for remote application and device management and configuration. •Cohesive and integrated ensuring application portability Java / OSGi Open HW Industrial HW Eclipse www.eclipse.org/kura
  • 9. Services Java SE 7 (Oracle Java SE Embedded, OpenJDK) OSGi Application Container (Eclipse Equinox, Concierge) Device Abstraction javax.comm Basic Gateway Services DB Service Clock Service Device Profile Watchdog Network Configuration Network Configuration Field Protocols Connectivity and Delivery Data Services MQTT Paho Administration GUI Applications Your Application Remote Management Configuration Management javax.usb / udev Cloud Services Your Application Firewall, Port Forwarding Link Monitors Cellular, Wi-Fi, Ethernet GPS Position GPIO / SPI / PWM / I2C Modbus CANBus Custom Protocols Updates Management Remote Access (VPN)
  • 10. Developer’s Experience Emulate on PC Deploy on Target Cloud Managed Start developing your IoT /M2M application in the comfort of your PC. •Full Eclipse Integration •Target Platform Definition •Emulated Services •Run/Debug from Eclipse •Support Mac/Linux Hosts When you are ready, deploy your application on the gateway. •One-click Deployment •Eclipse Plugin •Remote Debugging Provision and manage your applications in field devices from the Cloud. •Remote OSGi Management via MQTT •Web-based Console
  • 11. Kura Data Transport Optioins •DataTransportService –Available for standard MQTT messaging. Allows consumers of the service to connect to brokers, publish messages, and receive messages on subscribed topics •DataService –Delegates data transport to the DataTransportService –Provides extended features for managing broker connections, buffering of published messages, and priority based delivery of messages •CloudService –Further extends the functionality of DataService. –Provides means for more complex flows (i.e. request/response) –Manages single broker connection across multiple applications –Provides payload data model with encoding/decoding serializers –Publishes life cycle manages for devices and applications
  • 12. Kura Configurable Component <?xml version="1.0" encoding="UTF-8"?> <MetaData xmlns=http://www.osgi.org/xmlns/metatype/v1.2.0 localization="en_us"> <OCD id="org.eclipse.iot.greenhouse.publisher.GreenhousePublisher" name="Greenhouse Publisher" description="Settings for the greenhouse application."> <AD id="warning.level" name="warning.level" type="Integer" cardinality="0" reguired="true" default="20" description="Triggers alarm if temperature falls below this limit." /> </OCD> </MeataData>
  • 13. Kura Configurable Component Applications implementing Configurable Component will be available in Kura UI Attributes configured in XML appear in form panel
  • 15. Greenhouse Demo Architecture Temperature Sensor Humidity Sensor Light Sensor I2C GPIO
  • 16. OSGi Services •CloudClientListener (From Kura) –Provided service for handling messaging events (connection established, message arrived, message sent, etc.) •CloudService (From Kura) –Consumed service to manage connection to cloud across multiple applications, publish life cycle messages, serialize/deserialize compressed data payload, and more. •SensorChangedListener (From Application) –Provided service to send MQTT message once a sensor has detected a change •GreenhouseSensorService (From Application) –Provided service for getting values from sensors and setting actuator values (i.e. – LED)
  • 17. Greenhouse Application public class GreenhousePublisher implements ConfigurableComponent, CloudClientListener, SensorChangedListener { private static final String APP_ID = "greenhouse-demo"; _cloudClient = _cloudService.newCloudClient(APP_ID); _cloudClient.addCloudClientListener(this); @Override public void onConnectionEstablished() { _cloudClient.subscribe("#", 0); } @Override public void sensorChanged(String sensorName,Object newValue) { KuraPayload payload = new KuraPayload; payload.setTimestamp(new Date()); payload.addMetric("value", newValue); int messageId = cloudClient.publish(topic, payload, qos, retain, 2); } }
  • 18. GreenhouseSensorService public class Pi4JGreenhouseSensorService implements GreenhouseSensorService { _gpioController = GpioFactory.getInstance; _i2cbus = I2CFactory.getInstance(I2CBus.BUS_1; _temperatureSensor = _i2cbus.getDevice(0x40); _lightActuator =_gpioController.provisionDigitalMultipurposePin( RaspiPin.GPIO_00, "led”, PinMode.DIGITAL_OUTPUT); @Override public void setActuatorValue(String actuatorName, Object value){ _lightActuator.setState("on".equals(value)); notifyListeners("light", value); } }
  • 21. MQTT Topics and Payloads javaonedemo sensors actuator •Timestamp •Metrics: •value •warn •Timestamp •Metrics: •value Kura Payload Kura Payload temperature humidity lux light
  • 22. on Everyware Software Framework (ESF) Kura & ESF Linux OS Java/OSGi on Elements outside the scope of Kura Linux OS Java/OSGi on on ESF now builds on Kura, with the addition of commercial support and extra features: •Everyware Cloud remote management and logging •Diagnostic •Everyware VPN •Field Protocols •Bundles for specific vertical applications •Device provisioning Core Elements of ESF, a proven application framework for embedded devices form the basis for Kura
  • 23. You are important! •Learn More - come visit us on the Exhibition Floor: –Eurotech Booth –Eclipse Booth •Contribute! www.eclipse.org/kura