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.
2. Evolution of the OSGi specification
• Starting point: an open
Service Gateway for
(non-broadband) home.
• Further developed for the
automotive industry.
• Further developed for the
mobile world.
• Further developed for the
enterprise 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
Platform
Residential
Broadband
Gateway
Enterprise Service
Platform
M2M / IoT
2 OSGi Community Event 2014
3. 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
4. Paremus Service Fabric
• 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
OSGi Community Event 2014
5. • The Cloud
The Fabric in the Demo
– 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.
OSGi Community Event 2014
6. Reactive Blocks to Build
IoT Applications
RReeaactcitvivee B Blolocckkss Reactive Blocks
mqtt
Server
data from all the
windmill simulators
OSGi Community Event 2014
7. Combine Java Code and Graphics.
Block by Block
Windmill
Simulator
Reactive Blocks
OSGi Community Event 2014
8. 3rd Party
Modules
(e.g. Applications)
Device and Software
Management
IoT Backend
End-to-End Solutions with
TR-069
Cloud Services
End-User Devices
ProSyst mBS
OSGi Framework
SMS etc.
User and Role
Management
Device
Abstraction
Layer
Management
Agent
Notification
Database
Modules
(e.g. Applications)
(Service)
Applications
Software Repository
etc.
Misc.
Modules
IoT Gateway
Device Protocols
ProSyst mPRM
User Interface / Interaction
OMA-DM
OSGi Community Event 2014
9. SD Association + SanDisk
• Sponsors of the Demo
• Merging Storage and Connectivity
OSGi Community Event 2014
• Raspbian OS
• Java 8
• OSGi Framework
10. IoT Demo Overview - Components
Publisher
Discovery
Provisioning
Service Fabric Cloud
Device Mgmt &
SW Repository
Windmill
Simulator
Windmill
Simulator
OSGi Framework
OS + Network
OSGi
Windmill Simulator
mqtt
Server
Windmill
Dashboard
Service Fabric
Dashboard
mPRM Admin
Console
Web Browser
OSGi Community Event 2014
11. IoT Demo Overview - Steps
Publisher
Discovery
Provisioning
Service Fabric Cloud
Device Mgmt &
SW Repository
Windmill
Simulator
Windmill
Simulator
OSGi Framework
OS + Network
OSGi
Windmill Simulator
mqtt
Server
OSGi Community Event 2014
1. Discovery
2. Endpoints
3. Registration
& Provisioning
6. Data Exchange
5. Endpoints
12. IoT
Hackathon
OSGi Community Event 2014
http://tinyurl.com/iot-demo-2014
14. IoT Demo Hands On - Hackathon
Publishing
My Service
Application
Discovery
Provisioning
OS + Network
IoT Device
Repository
Lookup
OSGi
OSGi Framework
Service Fabric Cloud
Publisher
Device Mgmt &
SW Repository
My Service
Application
mqtt
Server
Windmill
Dashboard
Service Fabric
Dashboard
OSGi Admin
Console
Eclipse PDE
ProSyst SDK
Reactive Blocks
Plugins &
Libraries
Telnet / SSH
Web Browser
Development Platform
OSGi Community Event 2014
My
Bundle(s)
My Service
Application
apps shell
Deployment
& Start