osgi iot demo - osgi community event 2014
DESCRIPTION
OSGi Community Event 2014 Abstract: At the OSGi Community Event 2014 the OSGi Alliance invited you to visit our OSGi IoT stand in the Eclipse IoT playground where we showed a demo of a wind farm using Raspberry Pi’s and an OSGi Cloud plus OSGi based SaaS. People who brought along their Raspberry Pi (B or B+) to the stand had the opportunity to join the demo and turn their Raspberry Pi's into a ‘virtual’ windmill. We hosted a OSGi Extended Session to explore this demo and launch a hackathon competition. Attendees participated in the OSGi IoT demo, using a Raspberry Pi. Each of them received a microSD card and adapter, kindly contributed by the SD Association (along with SanDisk and Cardwave). The microSD card included the bootstrap software for each attendee to participate in the demo. After becoming an OSGi-enabled device the Raspberry Pi discovered the OSGi based cloud platform, Paremus Service Fabric, where ProSyst mPRM and a MQTT server were running. A Bitreactive wind farm application was dynamically installed on the OSGi enabled Raspberry Pi from the mPRM in the Cloud. Once installed the Raspberry Pi automatically joined our ‘virtual’ wind farm demo using MQTT. Having seen the wind farm demo the attendees were given the opportunity to take part in a hackathon to develop new applications to be submitted by close of play the next day. There was a great competition between attendees to develop the best application and win a brand new devolo Home Control starter kit. The winner of the hackathon was Tobiasz Dworak, System and Software Architect at the Research & Engineering Center Sp.z o.o. The OSGi IoT demo will be reused and extended for future events to include other products and additional applications. Please send us an email if you would like to get involved.TRANSCRIPT
OSGi IoT Demo
OSGi Community Event 2014Ludwigsburg, 28-30.10.2014
http://tinyurl.com/iot-demo-2014
Evolution of the OSGi specification• Starting point: an open
Service Gateway for (non-broadband) home.
• Further developed for theautomotive industry.
• Further developed for the mobile world.
• Further developed for theenterprise world.
• New Residential Expert Group.
• Device abstraction and Cloud- M2M / IoT
- Strategic partnerships and workshops
- Extendable OSGi IoT Demo
Service Gateway
in the Home
Automotive
Service
Gateway
Mobile Service
PlatformEnterprise Service
Platform
Residential
Broadband
Gateway
M2M / IoT
2OSGi Community Event 2014
Wind Farm Use Case
Legacy and 3rd-party IT Systems
Development, Management & Configuration
Wind Farm
IaaS
Resource Mgmt& Load Balance
DB
CMS
Device Mgmt
…
OSGi Community Event 2014
• An OSGi Cloud
• Built with OSGi
• Supports OSGi bundles along with non-OSGi and non-Java artifacts
• Dynamic – self scaling, up and down
• Self-Healing – for the apps and itself
• Model-Driven – simplifies deployment and management
• Middleware agnostic – no fixed ‘stack’
• Use with VM’s or Docker
Paremus Service Fabric
OSGi Community Event 2014
• The Cloud
– providing the Services
– ProSyst mPRM and MQTT server
• Automated Discovery for End Points
– (Raspberry Pi’s) to the Cloud Services using Paremus OSGi Remote Service Admin implementation.
The Fabric in the Demo
OSGi Community Event 2014
Reactive Blocks to Build IoT Applications
mqttServer
data from all the windmill simulators
Reactive Blocks Reactive BlocksReactive Blocks
OSGi Community Event 2014
Combine Java Code and Graphics.Block by Block
WindmillSimulator
Reactive Blocks
OSGi Community Event 2014
IoT Backend
3rd Party
TR-069
Cloud Services
ProSyst mBS
OSGi Framework
Device
Abstraction
Layer
Management
Agent
Notification
Database
User and Role
Management
Modules
(e.g. Applications)
(Service)
Applications
Software Repository
Device and Software
Management
Modules
(e.g. Applications)
etc.
etc.SMS
Misc.
Modules
IoT Gateway
De
vic
e P
roto
co
ls
ProSyst mPRMUser Interface / Interaction
End-User Devices
End-to-End Solutions with
OMA-DM
OSGi Community Event 2014
SD Association + SanDisk
• Sponsors of the Demo
• Merging Storage and Connectivity
OSGi Community Event 2014
• Raspbian OS
• Java 8
• OSGi Framework
IoT Demo Overview - Components
Windmill Simulator
OS + Network
OSGi
OSGi Framework
Provisioning
Discovery
WindmillSimulator
Service Fabric Cloud
Publisher
Device Mgmt & SW Repository
WindmillSimulator
mqttServer
OSGi Community Event 2014
mPRM Admin Console
WindmillDashboard
Service FabricDashboard
Web Browser
IoT Demo Overview - Steps
Windmill Simulator
OS + Network
OSGi
OSGi Framework
Provisioning
Discovery
WindmillSimulator
Service Fabric Cloud
Publisher
Device Mgmt & SW Repository
WindmillSimulator
mqttServer
OSGi Community Event 2014
1. Discovery
2. Endpoints
3. Registration & Provisioning
6. Data Exchange
5. Endpoints
IoTHackathon
OSGi Community Event 2014
http://tinyurl.com/iot-demo-2014
Hackathon the Prize
OSGi Community Event 2014
OSGi Alliance –Digital Home 2014 2008-2014 ©OSGi Alliance. All Rights Reserved
My Service Application
IoT Demo Hands On - Hackathon
IoT Device
OS + Network
OSGi
OSGi Framework
Provisioning
Discovery
Service Fabric Cloud
Publisher
Device Mgmt & SW Repository
My Service Application
mqttServer
Development Platform
OSGi Admin Console
Telnet / SSH
Eclipse PDE
ProSyst SDK
Reactive Blocks Plugins & Libraries
WindmillDashboard
Service FabricDashboard
Web Browser
OSGi Community Event 2014
MyBundle(s)
Publishing
My Service Application
apps shell
Repository Lookup
Deployment& Start
Bitreactive and Reactive Blocks