osgi for iot: the good, the bad and the ugly - tim verbelen
TRANSCRIPT
8
2. MODULAR DEVICE ABSTRACTION
Gateway
CoAP
OSGi
OSGi
Device Abstraction Layer
EnOcean Hue Z-Wave ZigBee
9
CoAP
3. REMOTE SERVICES
GatewayOSGi
OSGi
Device Abstraction Layer
EnOcean Hue Z-Wave ZigBee
(Distributed)EventAdmin
RemoteServices
RFP 177 – IoT Protocols
11
OSGi enRoute“OSGi as it should be”
● Programming model using DS
● A repository of base APIs and implementation bundles
● Bndtools-based toolchain
● Latest OSGi R6 features
● New and useful extra services (i.e. configurer, scheduler, DTO conversion, REST, JSONRPC, Server Sent Events, …)
● Remote Launcher
http://enroute.osgi.org/
12
SMART HOME DEMO
GatewayDYAMAND
Dynamic, Adaptive Management of Networks and Devices
A framework for distributed OSGi
http://aiolos.intec.ugent.be
http://dyamand.intec.ugent.be
enRoute
14
DIANNE: MODULARIZED ANN
Sen
sor
Inpu
ts
Act
uato
r O
utp
uts
An OSGi-based framework for artifical neural networks
22
THE BAD
● No open source implementations available for all specifications (i.e. DAL, EnOcean, ...)
● No standard interfaces / data format for representing things
● A lot of wrong use of OSGi
23
THE GOOD
● enRoute
● IoT Expert Group● Async event streams● Device abstraction layer● IoT Protocols
● OSGi is perfectly suited for IoT● Runs both on embedded as server● Modular device abstraction● Transparent remote services
24
CHECK IT OUT● Firefly – IoT dashboard UI
https://github.com/ibcn-cloudlet/firefly
● AIOLOS – Framework for distributed OSGi http://aiolos.intec.ugent.be https://github.com/ibcn-cloudlet/aiolos
● DYAMAND – Device discovery and abstraction http://dyamand.intec.ugent.be
● OSGi enRoute – OSGi as it should be http://enroute.osgi.org
● Concierge – A lightweight OSGi framework http://eclipse.org/concierge