open-source iot cookbook

33
OPEN SOURCE IOT COOKBOOK Benjamin Cabé @kartben h"ps://www.flickr.com/photos/quasimondo/5203908319

Upload: benjamin-cabe

Post on 10-May-2015

2.718 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Open-source IoT cookbook

OPEN SOURCE IOT COOKBOOK

Benjamin Cabé @kartben

h"ps://www.flickr.com/photos/quasimondo/5203908319

Page 2: Open-source IoT cookbook

50 billion devices by 2020

Page 3: Open-source IoT cookbook

50 billion devices by 2020

Page 4: Open-source IoT cookbook

fragmentation

Page 5: Open-source IoT cookbook

fragmentation

complexity

Page 6: Open-source IoT cookbook

h"p://www.flickr.com/photos/chiperoni/239435850/

fragmentation

lock-in h"p://www.flickr.com/photos/photosigh<aces/8152791780/

complexity h"p://www.flickr.com/photos/cyberslayer/952953634

Page 7: Open-source IoT cookbook

protocols tools frameworks services

Page 8: Open-source IoT cookbook

 Hand  by  Castor  &  Pollux  from  The  Noun  Project  

From 0 to 13+ open-source projects We call them building blocks for IoT

In less than 3 years…

Wakaama Krikkit Concierge

Mosquitto

Page 9: Open-source IoT cookbook

Paho provides client implementations of the MQTT protocol.

Mihini is an embedded Lua runtime providing HW abstraction and other services.

Koneki provides tools for embedded Lua developers.

Page 10: Open-source IoT cookbook

Eclipse SCADA is a complete Java/OSGi-based SCADA system (communication, monitoring, GUI, …)

Kura is a Java/OSGi-based M2M container for gateways. Has support for Modbus, CANbus, MQTT, …

Mosquitto is a lightweight server implementation of the MQTT and MQTT-SN protocols, written in C.

Page 11: Open-source IoT cookbook

Ponte bridges M2M/IoT (MQTT, CoAP) protocols to the Web.

SmartHome provides a complete set of services for home automation gateways.

OM2M implements the ETSI M2M standard.

Page 12: Open-source IoT cookbook

Californium is an implementation of the CoAP protocol written in Java. Includes DTLS for security.

Wakaama is an implementation of LWM2M written in C.

Krikkit is a rules system for programming edge devices just like you’d configure a router

Wakaama

Krikkit

(code  pending)

(code  pending)

Page 13: Open-source IoT cookbook

Concierge is a lightweight implementation of OSGi Core R5.

Your  project?  J

Concierge

We need to talk! ;-)

Page 14: Open-source IoT cookbook

 Hand  by  Castor  &  Pollux  from  The  Noun  Project  

From 0 to one million lines of code

In less than 3 years…

Page 15: Open-source IoT cookbook

 Hand  by  Castor  &  Pollux  from  The  Noun  Project  

•  From 0 to 11 member companies*

* and many participating companies and individual IoT enthusiasts

In less than 3 years…

Page 16: Open-source IoT cookbook

Building blocks for IoT

Page 17: Open-source IoT cookbook

… for building what?

Building blocks for IoT

Page 18: Open-source IoT cookbook

 Cloud  by  Andrew  Lynne  from  The  Noun  Project    Thermometer  by  Lemon  Liu  from  The  Noun  Project  

 Fluorescent  Light  Bulb  by  Dmitriy  Lagunov  from  The  Noun  Project    Water  by  Gilad  Fried  from  The  Noun  Project  

MQTT  Network

Mosqui9o  broker

Building… SENSOR NETWORKS

Page 19: Open-source IoT cookbook

Building… SENSOR NETWORKS

1. Get a Paho client from: http://eclipse.org/paho

2. Use Eclipse MQTT sandbox* to test your app

* http://iot.eclipse.org/sandbox.html

Page 20: Open-source IoT cookbook

 Cloud  by  Andrew  Lynne  from  The  Noun  Project    Thermometer  by  Lemon  Liu  from  The  Noun  Project  

 Fluorescent  Light  Bulb  by  Dmitriy  Lagunov  from  The  Noun  Project    Water  by  Gilad  Fried  from  The  Noun  Project  

MQTT  Network

Ponte  broker

CoAP  Network

Building… SENSOR NETWORKS

Page 21: Open-source IoT cookbook

Building… SENSOR NETWORKS

$ npm install ponte

Page 22: Open-source IoT cookbook

Building… M2M/IOT GATEWAYS

Page 23: Open-source IoT cookbook

Building… M2M/IOT GATEWAYS

1/ Download Kura code: https://github.com/eclipse/kura

2/ Follow compilation instructions in the README

3/ Install on your favorite gateway (e.g. Raspberry Pi thanks to .deb package)

Page 24: Open-source IoT cookbook

 Cloud  by  Andrew  Lynne  from  The  Noun  Project    Thermometer  by  Lemon  Liu  from  The  Noun  Project  

 Fluorescent  Light  Bulb  by  Dmitriy  Lagunov  from  The  Noun  Project    Water  by  Gilad  Fried  from  The  Noun  Project  

CoAP  Network

LWM2M  server  (e.g.  Leshan)

wakaama wakaama

wakaama

ba6ery  level  avail.  memory  …

firmware  reboot  …

Building… DEVICE MGMT.

Page 25: Open-source IoT cookbook

Building… DEVICE MGMT.

1/ Port Wakaama’s LWM2M callbacks to your device e.g. “reboot()”

2/ Use Eclipse LWM2M sandbox* or deploy Leshan on your own server infrastructure

* http://iot.eclipse.org/sandbox.html

Page 26: Open-source IoT cookbook

Android  UI

X10

Serial …

Bluetooth

Building… HOME AUTOMATION

Page 27: Open-source IoT cookbook

Future of (Eclipse) IoT

Page 28: Open-source IoT cookbook

Future of (Eclipse) IoT

IoT devices ARE the Cloud (or Fog?)

Page 29: Open-source IoT cookbook

Future of (Eclipse) IoT

IoT devices ARE the Cloud (or Fog?)

Technologies like Krikkit will help make the network smarter

Page 30: Open-source IoT cookbook

Future of (Eclipse) IoT

IoT devices ARE the Cloud (or Fog?)

Technologies like Krikkit will help make the network smarter

Orion will enable IoT development in the cloud

Page 31: Open-source IoT cookbook

Future of (Eclipse) IoT

IoT devices ARE the Cloud (or Fog?)

Technologies like Krikkit will help make the network smarter

Orion will enable IoT development in the cloud

More open protocols implementations will ensure interoperability

Page 32: Open-source IoT cookbook

http://iot.eclipse.org

Page 33: Open-source IoT cookbook

http://iot.eclipse.org

<[email protected]> @kartben

Thanks! Questions?