open-source iot cookbook
TRANSCRIPT
![Page 1: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/1.jpg)
OPEN SOURCE IOT COOKBOOK
Benjamin Cabé @kartben
h"ps://www.flickr.com/photos/quasimondo/5203908319
![Page 2: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/2.jpg)
50 billion devices by 2020
![Page 3: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/3.jpg)
50 billion devices by 2020
![Page 4: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/4.jpg)
fragmentation
![Page 5: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/5.jpg)
fragmentation
complexity
![Page 6: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/6.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/7.jpg)
protocols tools frameworks services
![Page 8: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/8.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/9.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/10.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/11.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/12.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/13.jpg)
Concierge is a lightweight implementation of OSGi Core R5.
Your project? J
Concierge
We need to talk! ;-)
![Page 14: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/14.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/15.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/16.jpg)
Building blocks for IoT
![Page 17: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/17.jpg)
… for building what?
Building blocks for IoT
![Page 18: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/18.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/19.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/20.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/21.jpg)
Building… SENSOR NETWORKS
$ npm install ponte
![Page 22: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/22.jpg)
Building… M2M/IOT GATEWAYS
![Page 23: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/23.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/24.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/25.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/26.jpg)
Android UI
X10
Serial …
Bluetooth
Building… HOME AUTOMATION
![Page 27: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/27.jpg)
Future of (Eclipse) IoT
![Page 28: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/28.jpg)
Future of (Eclipse) IoT
IoT devices ARE the Cloud (or Fog?)
![Page 29: Open-source IoT cookbook](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/29.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/30.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/31.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022052618/554f72b2b4c905c8088b56d8/html5/thumbnails/32.jpg)
http://iot.eclipse.org