SlideShare a Scribd company logo
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Smart IoT on OSGi with Apache OpenWhisk
David Bosschaert and Carsten Ziegeler
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
I am doing IoT !
2
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
I am doing IoT !
3
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Carsten Ziegeler
§ Principal Scientist @ Adobe Research Switzerland
§ Member of the Apache Software Foundation
§ VP of Apache Felix and Sling
§ OSGi Expert Groups and Board member
4
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
David Bosschaert
• R&D Adobe Ireland
• Co-chair OSGi Enterprise Expert Group
• Apache Felix, Aries PMC member and committer
• … other opensource projects
• Cloud and embedded computing enthusiast
5
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
IoT
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
💡
IoT and OSGi
7
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
I am doing IoT ?
8
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
?
IoT devices
9
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Gateway
zwave
zigbee
IoT and OSGi
10
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi for Gateway and Cloud
§ Unified platform
§ Service Registry integration point
§ IoT APIs
§ Share & Reuse
§ Provisioning, tooling...
§ Dynamically updatable
11
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi Framework
OSGi Device Abstraction Layer
§ Device and Function Services
§ Protocol independent
§ Event Admin support
12
Function
Temperature
MultiLevelControl
Device
ID / State / Misc info
Function
Low Battery
BooleanSensor
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi Device Abstraction Layer (DAL)
DataTypes
Alarm
BooleanControl
BooleanSensor
Keypad
Meter
MultiLevelControl
MultiLevelSensor
WakeUp
… custom types ...
13
Function Types
COLD
CONTACT
DOOR
FIRE
FLOW
GAS
HEAT
HUMIDITY
LIGHT
LIQUID
MOTION
NOISINESS
OCCUPANCY
POWER
PRESSURE
RAIN
SMOKE
TEMPERATURE
WATER
WINDOW
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi DAL demo
14
Gateway
D
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi DAL code
DAL allows for purely functional code
@Component(
property = {
"event.topics=org/osgi/service/dal/FunctionEvent/PROPERTY_CHANGED",
"event.filter=(dal.function.UID=pir1:motion)"})
public class RadiatorLogic implements EventHandler {
@Reference(target = "(dal.function.UID=rad1:setpoint)")
Function radiator;
@Override
public void handleEvent(Event event) {
MultiLevelControl radCtrl = getControl(radiator);
// Get the updated PIR sensor data
BooleanData data = (BooleanData) event.getProperty(FunctionEvent.PROPERTY_VALUE);
// Set the radiator temperature
radCtrl.setData(data.getValue() ? 21 : 7, "degrees");
}
}
15
D
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Demo
16
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Gateway
zwave
zigbee
D
A
L
Let‘s make it smarter!
17
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Less Server?
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
A Short History of Infrastructure/Deployment
19
2000
Physical Hardware
2006
Virtual Servers
Hardware disappeared
2013
Containers
Operating systems disappeared
2016
Serverless
Language runtime disappeared
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Serverless
§ Function as a Service (FaaS)
§ Event triggering
§ Scale as needed
20
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Apache OpenWhisk
21
Source: https://github.com/apache/incubator-openwhisk/blob/master/docs/about.md C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Smart Home Logic
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
D
A
L
Machine Learning @ Work
23
Motion
Sensor
Time
OpenWhisk
DB
Store ML
Prediction
Gateway
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Machine Learning @ Work
24
OpenWhisk
Prediction
Heating
D
A
L
Gateway
Motion
Sensor
Time
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Seamless Integration
25
D
A
L
Gateway
OSGi
Prediction
Service
DB
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Seamless Integration
26
D
A
L
Gateway
OSGi
Prediction
Service Proxy
Remote OSGi Framework
DB
OSGi
Prediction
Service
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Cloud
Seamless Integration
27
D
A
L
Gateway
OSGi
Prediction
Service Proxy
Remote OSGi Framework
OSGi
Prediction
Service
DB
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Cloud
OpenWhisk
Seamless Integration
28
D
A
L
Gateway
OSGi
Prediction
Service Proxy
Remote OSGi Framework
DB
OSGi
Prediction
Service
C
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Demo
29
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi + OpenWhisk: the ideal base for IoT
Endless possibilities with IoT
30
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
THANK YOU.
31
© 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 32

More Related Content

PDF
Bndtools and Maven: A Brave New World - N Bartlett & T Ward
PDF
Leveraging the Latest OSGi R7 Specifications - C Ziegeler & D Bosschaert
PDF
OSGi R7 - Microservices never looked simpler
PDF
Jigsaw what the Heck Happens Now - N Bartlett
PDF
Reactive OSGi meets Reactive Java - Don’t cross the streams - T Ward
PDF
Aspecio - aspect-oriented programming meets the OSGi service model - Simon Ch...
PPTX
New and cool in OSGi R7 - David Bosschaert & Carsten Ziegeler
PDF
OSGi Enterprise R6 specs are out! - David Bosschaert & Carsten Ziegeler
Bndtools and Maven: A Brave New World - N Bartlett & T Ward
Leveraging the Latest OSGi R7 Specifications - C Ziegeler & D Bosschaert
OSGi R7 - Microservices never looked simpler
Jigsaw what the Heck Happens Now - N Bartlett
Reactive OSGi meets Reactive Java - Don’t cross the streams - T Ward
Aspecio - aspect-oriented programming meets the OSGi service model - Simon Ch...
New and cool in OSGi R7 - David Bosschaert & Carsten Ziegeler
OSGi Enterprise R6 specs are out! - David Bosschaert & Carsten Ziegeler

What's hot (9)

PDF
CDI Integration in OSGi - Emily Jiang
PDF
Community day _aws_ci_cd_v0.2
PPTX
Microservices and OSGi: Better together?
PDF
Asynchronous OSGi – Promises for the Masses - T Ward
PDF
OSGi DevCon 2009 Review
PDF
Maximise the Power of OSGi - Carsten Ziegeler & David Bosschaert
PPTX
Magic of web components
PPTX
Multi Stage Docker Build
PPTX
How Zalando integrates Kubernetes with AWS
CDI Integration in OSGi - Emily Jiang
Community day _aws_ci_cd_v0.2
Microservices and OSGi: Better together?
Asynchronous OSGi – Promises for the Masses - T Ward
OSGi DevCon 2009 Review
Maximise the Power of OSGi - Carsten Ziegeler & David Bosschaert
Magic of web components
Multi Stage Docker Build
How Zalando integrates Kubernetes with AWS
Ad

Similar to Smart IoTt on OSGi with Apache Openwhisk - C Ziegeler & D Bosschaert (20)

PDF
Business and IoT Economic Alchemy or Another Anticlimax - March 2016 - OSGi A...
PDF
Threat Intelligence for IoT Security.pdf
PPTX
Activity lot new.pptx for internet of things
DOCX
AF-2599-P.docx
PDF
Iot vupico-damien-contreras-2018-05-17-light-v3
PPTX
Big Data Application Architectures - IoT
PDF
OSGi IoT Demo @ CeBIT 2016
PDF
IoT Development from Prototype to Production
PDF
Build your First IoT Application with IBM Watson IoT
PDF
Iot development from prototype to production
PPTX
OSGi IoT Demo - OSGi Community Event 2014
PDF
IoT and Its Application
PDF
Internet of Things 101 - For software engineers
PDF
An Enterprise Developer's Joerney to the IoT
PDF
WSO2Con ASIA 2016: IoT Analytics
PDF
DIY Technology for the Internet of Things
PDF
What if Things Start to Think - Artificial Intelligence in IoT
PPTX
Fin fest 2014 - Internet of Things and APIs
PDF
IoT Domain Naming and Pain Points
PPTX
iot_ppt.pptx
Business and IoT Economic Alchemy or Another Anticlimax - March 2016 - OSGi A...
Threat Intelligence for IoT Security.pdf
Activity lot new.pptx for internet of things
AF-2599-P.docx
Iot vupico-damien-contreras-2018-05-17-light-v3
Big Data Application Architectures - IoT
OSGi IoT Demo @ CeBIT 2016
IoT Development from Prototype to Production
Build your First IoT Application with IBM Watson IoT
Iot development from prototype to production
OSGi IoT Demo - OSGi Community Event 2014
IoT and Its Application
Internet of Things 101 - For software engineers
An Enterprise Developer's Joerney to the IoT
WSO2Con ASIA 2016: IoT Analytics
DIY Technology for the Internet of Things
What if Things Start to Think - Artificial Intelligence in IoT
Fin fest 2014 - Internet of Things and APIs
IoT Domain Naming and Pain Points
iot_ppt.pptx
Ad

More from mfrancis (20)

PDF
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
PDF
OSGi and Java 9+ - BJ Hargrave (IBM)
PDF
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
PDF
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
PDF
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
PDF
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
PDF
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
PDF
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
PDF
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
PDF
OSGi CDI Integration Specification - Ray Augé (Liferay)
PDF
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
PDF
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
PDF
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
PDF
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
PDF
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
PDF
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
PDF
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
PDF
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
PDF
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
PDF
How to connect your OSGi application - Dirk Fauth (Bosch)
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
OSGi and Java 9+ - BJ Hargrave (IBM)
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
OSGi CDI Integration Specification - Ray Augé (Liferay)
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
How to connect your OSGi application - Dirk Fauth (Bosch)

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Hybrid model detection and classification of lung cancer
PDF
Approach and Philosophy of On baking technology
PPTX
A Presentation on Touch Screen Technology
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
1. Introduction to Computer Programming.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Unlocking AI with Model Context Protocol (MCP)
Programs and apps: productivity, graphics, security and other tools
Hybrid model detection and classification of lung cancer
Approach and Philosophy of On baking technology
A Presentation on Touch Screen Technology
Univ-Connecticut-ChatGPT-Presentaion.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
cloud_computing_Infrastucture_as_cloud_p
1. Introduction to Computer Programming.pptx
NewMind AI Weekly Chronicles - August'25-Week II
OMC Textile Division Presentation 2021.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Hindi spoken digit analysis for native and non-native speakers
Enhancing emotion recognition model for a student engagement use case through...
A novel scalable deep ensemble learning framework for big data classification...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
WOOl fibre morphology and structure.pdf for textiles
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Unlocking AI with Model Context Protocol (MCP)

Smart IoTt on OSGi with Apache Openwhisk - C Ziegeler & D Bosschaert

  • 1. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Smart IoT on OSGi with Apache OpenWhisk David Bosschaert and Carsten Ziegeler
  • 2. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. I am doing IoT ! 2 C
  • 3. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. I am doing IoT ! 3 C
  • 4. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Carsten Ziegeler § Principal Scientist @ Adobe Research Switzerland § Member of the Apache Software Foundation § VP of Apache Felix and Sling § OSGi Expert Groups and Board member 4 C
  • 5. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. David Bosschaert • R&D Adobe Ireland • Co-chair OSGi Enterprise Expert Group • Apache Felix, Aries PMC member and committer • … other opensource projects • Cloud and embedded computing enthusiast 5 C
  • 6. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. IoT
  • 7. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 💡 IoT and OSGi 7 D
  • 8. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. I am doing IoT ? 8 D
  • 9. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. ? IoT devices 9 D
  • 10. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Gateway zwave zigbee IoT and OSGi 10 D
  • 11. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. OSGi for Gateway and Cloud § Unified platform § Service Registry integration point § IoT APIs § Share & Reuse § Provisioning, tooling... § Dynamically updatable 11 D
  • 12. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. OSGi Framework OSGi Device Abstraction Layer § Device and Function Services § Protocol independent § Event Admin support 12 Function Temperature MultiLevelControl Device ID / State / Misc info Function Low Battery BooleanSensor D
  • 13. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. OSGi Device Abstraction Layer (DAL) DataTypes Alarm BooleanControl BooleanSensor Keypad Meter MultiLevelControl MultiLevelSensor WakeUp … custom types ... 13 Function Types COLD CONTACT DOOR FIRE FLOW GAS HEAT HUMIDITY LIGHT LIQUID MOTION NOISINESS OCCUPANCY POWER PRESSURE RAIN SMOKE TEMPERATURE WATER WINDOW D
  • 14. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. OSGi DAL demo 14 Gateway D D
  • 15. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. OSGi DAL code DAL allows for purely functional code @Component( property = { "event.topics=org/osgi/service/dal/FunctionEvent/PROPERTY_CHANGED", "event.filter=(dal.function.UID=pir1:motion)"}) public class RadiatorLogic implements EventHandler { @Reference(target = "(dal.function.UID=rad1:setpoint)") Function radiator; @Override public void handleEvent(Event event) { MultiLevelControl radCtrl = getControl(radiator); // Get the updated PIR sensor data BooleanData data = (BooleanData) event.getProperty(FunctionEvent.PROPERTY_VALUE); // Set the radiator temperature radCtrl.setData(data.getValue() ? 21 : 7, "degrees"); } } 15 D
  • 16. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Demo 16
  • 17. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Gateway zwave zigbee D A L Let‘s make it smarter! 17 C
  • 18. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Less Server?
  • 19. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. A Short History of Infrastructure/Deployment 19 2000 Physical Hardware 2006 Virtual Servers Hardware disappeared 2013 Containers Operating systems disappeared 2016 Serverless Language runtime disappeared C
  • 20. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Serverless § Function as a Service (FaaS) § Event triggering § Scale as needed 20 C
  • 21. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Apache OpenWhisk 21 Source: https://github.com/apache/incubator-openwhisk/blob/master/docs/about.md C
  • 22. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Smart Home Logic
  • 23. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. D A L Machine Learning @ Work 23 Motion Sensor Time OpenWhisk DB Store ML Prediction Gateway C
  • 24. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Machine Learning @ Work 24 OpenWhisk Prediction Heating D A L Gateway Motion Sensor Time C
  • 25. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Seamless Integration 25 D A L Gateway OSGi Prediction Service DB C
  • 26. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Seamless Integration 26 D A L Gateway OSGi Prediction Service Proxy Remote OSGi Framework DB OSGi Prediction Service C
  • 27. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Cloud Seamless Integration 27 D A L Gateway OSGi Prediction Service Proxy Remote OSGi Framework OSGi Prediction Service DB C
  • 28. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Cloud OpenWhisk Seamless Integration 28 D A L Gateway OSGi Prediction Service Proxy Remote OSGi Framework DB OSGi Prediction Service C
  • 29. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Demo 29
  • 30. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. OSGi + OpenWhisk: the ideal base for IoT Endless possibilities with IoT 30
  • 31. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. THANK YOU. 31
  • 32. © 2016 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 32