The Complex IoT Equation (and FLOSS solutions)

Samsung Open Source Group
Samsung Open Source GroupOpen Source & Community Strategist
Samsung Open Source Group 1 #OW2Con @ http://sched.co/Ecdl
The Complex IoT Equation
Philippe Coval
Samsung Open Source Group / SRUK
p.coval@samsung.com
(and FLOSS Solutions)
#OW2Con, IoT Track
Paris, France <2018-06-07>
Samsung Open Source Group 2 #OW2Con @ http://sched.co/Ecdl
Bonjour tout le monde, $who am I ?
● Philippe Coval
– Samsung Software engineer
● belongs to OpenSource Group
● member of SRUK team
– based in Rennes, France
● Interests:
– Libre Soft/Hard/ware communities
– IoT, DIY, Embedded, Automotive…
● Need help? Find me online:
– https://wiki.tizen.org/wiki/User:Pcoval
Samsung Open Source Group 3 #OW2Con @ http://sched.co/Ecdl
Agenda
● State of the art
– Learn lessons from success of WWW
● Some IoT challenges
– Privacy & Interoperability
● From IoT to Web of Things
● More...
Samsung Open Source Group 4 #OW2Con @ http://sched.co/Ecdl
“Out of clutter, find simplicity.”
~Albert Einstein
Samsung Open Source Group 5 #OW2Con @ http://sched.co/Ecdl
IoT status
● The Internet of Things is a system of physical objects
– that can be discovered, monitored, controlled,
– or interacted with by electronic devices
– that communicate over various networking interfaces
● and eventually can be connected to the wider Internet.
● Addresses many domains:
– Health, Agriculture, Transport, Cities, Industry
● Lot of Technical skills needed:
– Hardware: Electronic design & Power management, Security
– Software: Interoperability, OS, update, frameworks, Privacy
– Networking / Connectivity: Wired or Wireless protocols
Samsung Open Source Group 6 #OW2Con @ http://sched.co/Ecdl
How IoT and Web differ for developers?
Web IoT
Goal: Publish contents, link, Social... Control/monitor devices
Origin, History: IP, 1989: URL+HTML+HTTP 1982: “Coke” M2M, 1999: IoT
2015 (>mobiles), 2017+30%
Architecture Client/Server mostly C/S, Mesh, D2D, Wireless
Open Standards RFCs,IETF, IRTF, ISOC, IAB,
W3C, ECMA, JSON
RFCs, IETF, W3C, OCF
JSON, CBOR
Networks & Protocols IP/TCP based: HTTP(s)
WebServices, REST, WS, RTC
Web+= UDP: CoAP, MQTT
+ LPWAN, W/N/H/AN, NFC...
Hardware: CPUs: Desk/lap/top, mobile...
(GNU/Linux, Tizen, Android)
Web+= Microcontrollers
CPU, MPU, MCU
…. partially connected
Market penetration Massive: or Ubiquitous? 8.4B of devices (but low interop)
Developers adoption: +10M (Front/back, Javascript) Only ~3M (~1M Embedded)
Samsung Open Source Group 7 #OW2Con @ http://sched.co/Ecdl
Every project has challenges,
and every project has its rewards.
~Stephen Schwartz
Samsung Open Source Group 8 #OW2Con @ http://sched.co/Ecdl
Privacy is about Trust and Control
● Ownership of personal data
– Shared, Transferred, Revoked, Logged, Retrieved and DELETED
●
depend on time and context
● Services operators should comply regulations:
– EU: General Data Protection Regulation (GDPR 2018)
● Provider to inform, ensure security, share on consent
● User to acknowledge changes, revoke access
● Or FLOSS “Privacy by design” opportunities ?
– Prevent data collection in first place→Keep data local if possible
●
Limit usage of cloud, apps or “captive models”
● FLOSS: OpenId, Oauth2.0, JWT, PWA, WebBT, ACE, JOSE
Samsung Open Source Group 9 #OW2Con @ http://sched.co/Ecdl
Challenge: Rental property scenario
● House owner owns data (& metadata)
● Until a consumer rent it (contract)
– User should take ownership
● lights, door activities, or camera.
– Then user could aggregate data for owner
● Power consumption (on weekly base or on departure).
● Smooth integration with:
– Services: rental portal, social web
– Devices: Shared or personal devices
Samsung Open Source Group 10 #OW2Con @ http://sched.co/Ecdl
Demo: IoT gateway, ESP MCU, WebApp
https://youtu.be/vzoUJ-v5h38
●
● https://vimeo.com/273037442
● webthing-esp8266-webapp-20180602rzr
● https://youtu.be/vzoUJ-v5h38
● https://vimeo.com/user12599872/
● webthing-esp8266-webapp-20180602rzr
Samsung Open Source Group 11 #OW2Con @ http://sched.co/Ecdl
RESTful architecture
● From HTTP GET/POST to RESTful architecture:
– Verb (Create, Update, Read, Delete) on Subject
● Example: FLOSS: Mozilla IoT gateway
– Things models, described in JSON:
gateway="https://sosg.mozilla-iot.org" or "gateway.local"
thing="things/http---esp8266.local-things-dimmable-color-lamp"
property="properties/color"
curl "$gateway/$thing/$property" 
-H "$auth" -H 'Accept: application/json'
{"color":"#ffff6f"}
Samsung Open Source Group 12 #OW2Con @ http://sched.co/Ecdl
Application layer adapted for low end devices
● CoRE: Constrained RESTful Environments
– CoAP: RFC 7252 Constrained Application Protocol
– HTTP/CoAP mapping, CBOR Serialisation.
● Base of framework implementing OCF spec
– for seamless connectivity between devices
– + IoTivity lite: low foot print for microcontrollers
– + IoTivity-node: for wrapping to JS using:
– Secured using DTLS (mbedtls)
– OpenConnectivity’s OneIoTA.org for common semantics
Samsung Open Source Group 13 #OW2Con @ http://sched.co/Ecdl
JavaScript: Language of the Web for IoT ?
● "Any application that can be written in JavaScript,
– will eventually be written in JavaScript." ~Jeff Atwood
● JS community is huge (Web, Node, NPM...)
● JS is portable: Browsers, Servers, Embedded
– Standardized Generic API and data models (JSON, JSON-LD):
● Ie: W3C generic sensors (that use I2C, analog drivers)
– Can run on even low end devices using JerryScript
● (RAM:64K+ROM:200K) Integrated in IoT.js, Zephyr.js, Tizen:RT
– Try: sudo apt install iotjs
Samsung Open Source Group 14 #OW2Con @ http://sched.co/Ecdl
IoT.js on TizenRT: Sensor+LoRaWAN demo
https://youtu.be/S7zpBpnpflU#tizen-rt-lpwan-20180204rzr
● https://vimeo.com/273037442#
Samsung Open Source Group 15 #OW2Con @ http://sched.co/Ecdl
From IoT to Web of Things
● WoT is Application Layer (OSI 7) rely on IoT Tech (1-6)
– Programmable: JavaScript, REST, WebSockets
– Shared Semantic: Data models to be exchanged (JSON-LD)
● W3C “Web of thing” introduces servient concept (server+client)
– App scripting
– FLOSS: ThingWeb: node-wot, Eclipse ThingWeb
● Mozilla “WebThings”: API and Gateway
– Network, Access, Find, Share Compose
● Challenges: Align semantics for Interoperability
– IETF, W3C, OCF and OGC
Samsung Open Source Group 16 #OW2Con @ http://sched.co/Ecdl
Summary
● Open Web ecosystem: massive adoption
● + Open Internet of Things: chaotic very heterogeneous
● = Open Web of Things: to link WWW to physical world
– aims to reduce integration complexity to developers
● open for applications or services
– desirable features: privacy by design (fix social web)
● Join FLOSS projects with open standards/specifications!
– JerryScript/IoT.js, IoTivity, W3C, MozillaIoT, Tizen...
Samsung Open Source Group 17 #OW2Con @ http://sched.co/Ecdl
Resources
●
Entry points:
– https://www.w3.org/WoT/
– https://iot.mozilla.org/
– https://wiki.iotivity.org/
●
More:
– https://datatracker.ietf.org/wg/core/charter/
– https://datatracker.ietf.org/wg/ace/about/
– https://www.mozilla.org/en-US/about/manifesto/
– https://youtu.be/0AAhghY2fpM?t=2448
– https://www.owasp.org/index.php/OWASP_Internet_of_Things_Project
– https://webofthings.org/
●
Keep in touch online:
– https://wiki.tizen.org/User:Pcoval
– https://s-opensource.org/author/philcovalsamsungcom/
– https://wiki.tizen.org/wiki/Meeting
Resources: flaticons CC
Samsung Open Source Group 18 #OW2Con @ http://sched.co/Ecdl
Questions or Extras ?
(Ask me now or later online)
https://wiki.tizen.org/User:Pcoval
Samsung Open Source Group 19 #OW2Con @ http://sched.co/Ecdl
Generic Sensors addon adapter (I2C)
https://youtu.be/4haKrPetGmg
●
● mozilla-iot-gateway-sensors-
20180406rzr
● https://youtu.be/4haKrPetGmg
●
Samsung Open Source Group 20 #OW2Con @ http://sched.co/Ecdl
End 2 End Web+IoT Demo using Mozilla GW
https://youtu.be/C13iPxfQAdA
● https://vimeo.com/271272094
● End2End_WebIoTDemo_Mozilla-
GW
● https://youtu.be/C13iPxfQAdA
#End2End_WebIoTDemo_Mozilla-
GW
●
Samsung Open Source Group 21 #OW2Con @ http://sched.co/Ecdl
IoTivity-node: From devices to ARTIK cloud
https://youtu.be/3L6_DbMLJ1k
● https://s-opensource.org/author/PhilCovalSamsungCom/
●
● https://vimeo.com/202478132#iotivity-artik-20170204rzr
●
● https://youtu.be/3L6_DbMLJ1k#iotivity-artik-20170204rzr
Samsung Open Source Group 22 #OW2Con @ http://sched.co/Ecdl
OCF-W3C Translator
https://youtu.be/jKt_fPnqggo
● https://youtu.be/jKt_fPnqggo
https://youtu.be/jKt_fPnqggo
● openconnectivity-lfals2017
● https://youtu.be/jKt_fPnqggo
Samsung Open Source Group 23 #OW2Con @ http://sched.co/Ecdl
Thanks / Merci
Contact:
https://wiki.tizen.org/wiki/User:Pcoval
Resources: flaticons CC
1 of 23

Recommended

IoTivity for Automotive IoT Interoperability by
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilitySamsung Open Source Group
16.3K views20 slides
Framework for IoT Interoperability by
Framework for IoT InteroperabilityFramework for IoT Interoperability
Framework for IoT InteroperabilitySamsung Open Source Group
8.7K views33 slides
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux by
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxIoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxSamsung Open Source Group
28.5K views47 slides
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux by
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxSamsung Open Source Group
20.1K views39 slides
GENIVI + OCF Cooperation by
GENIVI + OCF CooperationGENIVI + OCF Cooperation
GENIVI + OCF CooperationSamsung Open Source Group
6.2K views36 slides
Easy IoT with JavaScript by
Easy IoT with JavaScriptEasy IoT with JavaScript
Easy IoT with JavaScriptSamsung Open Source Group
11.2K views20 slides

More Related Content

What's hot

Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices by
Tizen RT: A Lightweight RTOS Platform for Low-End IoT DevicesTizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
Tizen RT: A Lightweight RTOS Platform for Low-End IoT DevicesSamsung Open Source Group
10.6K views33 slides
IoT Meets Security by
IoT Meets SecurityIoT Meets Security
IoT Meets SecuritySamsung Open Source Group
3.7K views32 slides
Toward "OCF Automotive" profile by
Toward "OCF Automotive" profileToward "OCF Automotive" profile
Toward "OCF Automotive" profileSamsung Open Source Group
27.9K views19 slides
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device by
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceSamsung Open Source Group
31.9K views42 slides
Development Boards for Tizen IoT by
Development Boards for Tizen IoTDevelopment Boards for Tizen IoT
Development Boards for Tizen IoTSamsung Open Source Group
34.1K views30 slides
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin... by
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...Samsung Open Source Group
13.9K views17 slides

What's hot(20)

JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin... by Samsung Open Source Group
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
Open Source Internet of Things 101 – EclipseCon 2016 by Benjamin Cabé
Open Source Internet of Things 101 – EclipseCon 2016Open Source Internet of Things 101 – EclipseCon 2016
Open Source Internet of Things 101 – EclipseCon 2016
Benjamin Cabé549 views
Devoxx 2015 - Building the Internet of Things with Eclipse IoT by Benjamin Cabé
Devoxx 2015 - Building the Internet of Things with Eclipse IoTDevoxx 2015 - Building the Internet of Things with Eclipse IoT
Devoxx 2015 - Building the Internet of Things with Eclipse IoT
Benjamin Cabé3.3K views
Building the IoT - Coding Serbia 2015 by Benjamin Cabé
Building the IoT - Coding Serbia 2015Building the IoT - Coding Serbia 2015
Building the IoT - Coding Serbia 2015
Benjamin Cabé4.2K views
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity by Samsung Open Source Group
IoT: From Arduino Microcontrollers to Tizen Products using IoTivityIoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
ORTC Library - Introduction by Erik Lagerway
ORTC Library - IntroductionORTC Library - Introduction
ORTC Library - Introduction
Erik Lagerway24.9K views
BUD17-TR01: Philosophy of Open Source by Linaro
BUD17-TR01: Philosophy of Open SourceBUD17-TR01: Philosophy of Open Source
BUD17-TR01: Philosophy of Open Source
Linaro423 views

Similar to The Complex IoT Equation (and FLOSS solutions)

webthing-iotjs-tizenrt-cdl2018-20181117rzr by
webthing-iotjs-tizenrt-cdl2018-20181117rzrwebthing-iotjs-tizenrt-cdl2018-20181117rzr
webthing-iotjs-tizenrt-cdl2018-20181117rzrPhil www.rzr.online.fr
8.7K views37 slides
webthing-iotjs-20181027rzr by
webthing-iotjs-20181027rzrwebthing-iotjs-20181027rzr
webthing-iotjs-20181027rzrPhil www.rzr.online.fr
5.9K views38 slides
web-of-twins-20190604rzr by
web-of-twins-20190604rzrweb-of-twins-20190604rzr
web-of-twins-20190604rzrPhil www.rzr.online.fr
1.8K views19 slides
Connected TIZEN by
Connected TIZENConnected TIZEN
Connected TIZENPôle Systematic Paris-Region
545 views20 slides
Tizen Connected with IoTivity by
Tizen Connected with IoTivityTizen Connected with IoTivity
Tizen Connected with IoTivitySamsung Open Source Group
18.2K views20 slides
digital-twins-webthings-iotjs-20190512rzr by
digital-twins-webthings-iotjs-20190512rzrdigital-twins-webthings-iotjs-20190512rzr
digital-twins-webthings-iotjs-20190512rzrPhil www.rzr.online.fr
1.6K views25 slides

Similar to The Complex IoT Equation (and FLOSS solutions)(20)

IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp... by WithTheBest
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
WithTheBest360 views
The Considerations for Internet of Things @ 2017 by Jian-Hong Pan
The Considerations for Internet of Things @ 2017The Considerations for Internet of Things @ 2017
The Considerations for Internet of Things @ 2017
Jian-Hong Pan1.5K views
Creating the open source building blocks for IoT by Ian Skerrett
Creating the open source building blocks for IoT Creating the open source building blocks for IoT
Creating the open source building blocks for IoT
Ian Skerrett2.8K views
Building the Internet of Things with open source and Eclipse IoT projects (Be... by AGILE IoT
Building the Internet of Things with open source and Eclipse IoT projects (Be...Building the Internet of Things with open source and Eclipse IoT projects (Be...
Building the Internet of Things with open source and Eclipse IoT projects (Be...
AGILE IoT1.9K views
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017 by Marc Dutoo
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
Marc Dutoo200 views
OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile by OCCIware
OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, SmileOCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile
OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile
OCCIware72 views
Introduction to OpenDaylight and Hydrogen, Learnings from the Year, What's Ne... by David Meyer
Introduction to OpenDaylight and Hydrogen, Learnings from the Year, What's Ne...Introduction to OpenDaylight and Hydrogen, Learnings from the Year, What's Ne...
Introduction to OpenDaylight and Hydrogen, Learnings from the Year, What's Ne...
David Meyer2.1K views
BKK16-500K2 CTO talk - The End to End Story by Linaro
BKK16-500K2 CTO talk - The End to End StoryBKK16-500K2 CTO talk - The End to End Story
BKK16-500K2 CTO talk - The End to End Story
Linaro397 views
Software Defined Networking: The OpenDaylight Project by Great Wide Open
Software Defined Networking: The OpenDaylight ProjectSoftware Defined Networking: The OpenDaylight Project
Software Defined Networking: The OpenDaylight Project
Great Wide Open1.6K views

More from Samsung Open Source Group

Spawny: A New Approach to Logins by
Spawny: A New Approach to LoginsSpawny: A New Approach to Logins
Spawny: A New Approach to LoginsSamsung Open Source Group
472 views10 slides
Rapid SPi Device Driver Development over USB by
Rapid SPi Device Driver Development over USBRapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USBSamsung Open Source Group
1K views18 slides
Open Source Metrics to Inform Corporate Strategy by
Open Source Metrics to Inform Corporate StrategyOpen Source Metrics to Inform Corporate Strategy
Open Source Metrics to Inform Corporate StrategySamsung Open Source Group
7.1K views47 slides
Run Your Own 6LoWPAN Based IoT Network by
Run Your Own 6LoWPAN Based IoT NetworkRun Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT NetworkSamsung Open Source Group
20.5K views45 slides
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things by
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of ThingsJerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of ThingsSamsung Open Source Group
19.7K views39 slides
Clang: More than just a C/C++ Compiler by
Clang: More than just a C/C++ CompilerClang: More than just a C/C++ Compiler
Clang: More than just a C/C++ CompilerSamsung Open Source Group
19.4K views45 slides

Recently uploaded

The Power of Heat Decarbonisation Plans in the Built Environment by
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built EnvironmentIES VE
84 views20 slides
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...The Digital Insurer
91 views52 slides
"Running students' code in isolation. The hard way", Yurii Holiuk by
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk Fwdays
36 views34 slides
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...ShapeBlue
178 views15 slides
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...ShapeBlue
162 views25 slides
NTGapps NTG LowCode Platform by
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform Mustafa Kuğu
437 views30 slides

Recently uploaded(20)

The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE84 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
"Running students' code in isolation. The hard way", Yurii Holiuk by Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays36 views
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue178 views
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue162 views
NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu437 views
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 by BookNet Canada
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
BookNet Canada44 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue207 views
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue by ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue265 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue183 views
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue247 views
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue199 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue208 views
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... by ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue164 views
Initiating and Advancing Your Strategic GIS Governance Strategy by Safe Software
Initiating and Advancing Your Strategic GIS Governance StrategyInitiating and Advancing Your Strategic GIS Governance Strategy
Initiating and Advancing Your Strategic GIS Governance Strategy
Safe Software184 views
LLMs in Production: Tooling, Process, and Team Structure by Aggregage
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team Structure
Aggregage57 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10146 views

The Complex IoT Equation (and FLOSS solutions)

  • 1. Samsung Open Source Group 1 #OW2Con @ http://sched.co/Ecdl The Complex IoT Equation Philippe Coval Samsung Open Source Group / SRUK p.coval@samsung.com (and FLOSS Solutions) #OW2Con, IoT Track Paris, France <2018-06-07>
  • 2. Samsung Open Source Group 2 #OW2Con @ http://sched.co/Ecdl Bonjour tout le monde, $who am I ? ● Philippe Coval – Samsung Software engineer ● belongs to OpenSource Group ● member of SRUK team – based in Rennes, France ● Interests: – Libre Soft/Hard/ware communities – IoT, DIY, Embedded, Automotive… ● Need help? Find me online: – https://wiki.tizen.org/wiki/User:Pcoval
  • 3. Samsung Open Source Group 3 #OW2Con @ http://sched.co/Ecdl Agenda ● State of the art – Learn lessons from success of WWW ● Some IoT challenges – Privacy & Interoperability ● From IoT to Web of Things ● More...
  • 4. Samsung Open Source Group 4 #OW2Con @ http://sched.co/Ecdl “Out of clutter, find simplicity.” ~Albert Einstein
  • 5. Samsung Open Source Group 5 #OW2Con @ http://sched.co/Ecdl IoT status ● The Internet of Things is a system of physical objects – that can be discovered, monitored, controlled, – or interacted with by electronic devices – that communicate over various networking interfaces ● and eventually can be connected to the wider Internet. ● Addresses many domains: – Health, Agriculture, Transport, Cities, Industry ● Lot of Technical skills needed: – Hardware: Electronic design & Power management, Security – Software: Interoperability, OS, update, frameworks, Privacy – Networking / Connectivity: Wired or Wireless protocols
  • 6. Samsung Open Source Group 6 #OW2Con @ http://sched.co/Ecdl How IoT and Web differ for developers? Web IoT Goal: Publish contents, link, Social... Control/monitor devices Origin, History: IP, 1989: URL+HTML+HTTP 1982: “Coke” M2M, 1999: IoT 2015 (>mobiles), 2017+30% Architecture Client/Server mostly C/S, Mesh, D2D, Wireless Open Standards RFCs,IETF, IRTF, ISOC, IAB, W3C, ECMA, JSON RFCs, IETF, W3C, OCF JSON, CBOR Networks & Protocols IP/TCP based: HTTP(s) WebServices, REST, WS, RTC Web+= UDP: CoAP, MQTT + LPWAN, W/N/H/AN, NFC... Hardware: CPUs: Desk/lap/top, mobile... (GNU/Linux, Tizen, Android) Web+= Microcontrollers CPU, MPU, MCU …. partially connected Market penetration Massive: or Ubiquitous? 8.4B of devices (but low interop) Developers adoption: +10M (Front/back, Javascript) Only ~3M (~1M Embedded)
  • 7. Samsung Open Source Group 7 #OW2Con @ http://sched.co/Ecdl Every project has challenges, and every project has its rewards. ~Stephen Schwartz
  • 8. Samsung Open Source Group 8 #OW2Con @ http://sched.co/Ecdl Privacy is about Trust and Control ● Ownership of personal data – Shared, Transferred, Revoked, Logged, Retrieved and DELETED ● depend on time and context ● Services operators should comply regulations: – EU: General Data Protection Regulation (GDPR 2018) ● Provider to inform, ensure security, share on consent ● User to acknowledge changes, revoke access ● Or FLOSS “Privacy by design” opportunities ? – Prevent data collection in first place→Keep data local if possible ● Limit usage of cloud, apps or “captive models” ● FLOSS: OpenId, Oauth2.0, JWT, PWA, WebBT, ACE, JOSE
  • 9. Samsung Open Source Group 9 #OW2Con @ http://sched.co/Ecdl Challenge: Rental property scenario ● House owner owns data (& metadata) ● Until a consumer rent it (contract) – User should take ownership ● lights, door activities, or camera. – Then user could aggregate data for owner ● Power consumption (on weekly base or on departure). ● Smooth integration with: – Services: rental portal, social web – Devices: Shared or personal devices
  • 10. Samsung Open Source Group 10 #OW2Con @ http://sched.co/Ecdl Demo: IoT gateway, ESP MCU, WebApp https://youtu.be/vzoUJ-v5h38 ● ● https://vimeo.com/273037442 ● webthing-esp8266-webapp-20180602rzr ● https://youtu.be/vzoUJ-v5h38 ● https://vimeo.com/user12599872/ ● webthing-esp8266-webapp-20180602rzr
  • 11. Samsung Open Source Group 11 #OW2Con @ http://sched.co/Ecdl RESTful architecture ● From HTTP GET/POST to RESTful architecture: – Verb (Create, Update, Read, Delete) on Subject ● Example: FLOSS: Mozilla IoT gateway – Things models, described in JSON: gateway="https://sosg.mozilla-iot.org" or "gateway.local" thing="things/http---esp8266.local-things-dimmable-color-lamp" property="properties/color" curl "$gateway/$thing/$property" -H "$auth" -H 'Accept: application/json' {"color":"#ffff6f"}
  • 12. Samsung Open Source Group 12 #OW2Con @ http://sched.co/Ecdl Application layer adapted for low end devices ● CoRE: Constrained RESTful Environments – CoAP: RFC 7252 Constrained Application Protocol – HTTP/CoAP mapping, CBOR Serialisation. ● Base of framework implementing OCF spec – for seamless connectivity between devices – + IoTivity lite: low foot print for microcontrollers – + IoTivity-node: for wrapping to JS using: – Secured using DTLS (mbedtls) – OpenConnectivity’s OneIoTA.org for common semantics
  • 13. Samsung Open Source Group 13 #OW2Con @ http://sched.co/Ecdl JavaScript: Language of the Web for IoT ? ● "Any application that can be written in JavaScript, – will eventually be written in JavaScript." ~Jeff Atwood ● JS community is huge (Web, Node, NPM...) ● JS is portable: Browsers, Servers, Embedded – Standardized Generic API and data models (JSON, JSON-LD): ● Ie: W3C generic sensors (that use I2C, analog drivers) – Can run on even low end devices using JerryScript ● (RAM:64K+ROM:200K) Integrated in IoT.js, Zephyr.js, Tizen:RT – Try: sudo apt install iotjs
  • 14. Samsung Open Source Group 14 #OW2Con @ http://sched.co/Ecdl IoT.js on TizenRT: Sensor+LoRaWAN demo https://youtu.be/S7zpBpnpflU#tizen-rt-lpwan-20180204rzr ● https://vimeo.com/273037442#
  • 15. Samsung Open Source Group 15 #OW2Con @ http://sched.co/Ecdl From IoT to Web of Things ● WoT is Application Layer (OSI 7) rely on IoT Tech (1-6) – Programmable: JavaScript, REST, WebSockets – Shared Semantic: Data models to be exchanged (JSON-LD) ● W3C “Web of thing” introduces servient concept (server+client) – App scripting – FLOSS: ThingWeb: node-wot, Eclipse ThingWeb ● Mozilla “WebThings”: API and Gateway – Network, Access, Find, Share Compose ● Challenges: Align semantics for Interoperability – IETF, W3C, OCF and OGC
  • 16. Samsung Open Source Group 16 #OW2Con @ http://sched.co/Ecdl Summary ● Open Web ecosystem: massive adoption ● + Open Internet of Things: chaotic very heterogeneous ● = Open Web of Things: to link WWW to physical world – aims to reduce integration complexity to developers ● open for applications or services – desirable features: privacy by design (fix social web) ● Join FLOSS projects with open standards/specifications! – JerryScript/IoT.js, IoTivity, W3C, MozillaIoT, Tizen...
  • 17. Samsung Open Source Group 17 #OW2Con @ http://sched.co/Ecdl Resources ● Entry points: – https://www.w3.org/WoT/ – https://iot.mozilla.org/ – https://wiki.iotivity.org/ ● More: – https://datatracker.ietf.org/wg/core/charter/ – https://datatracker.ietf.org/wg/ace/about/ – https://www.mozilla.org/en-US/about/manifesto/ – https://youtu.be/0AAhghY2fpM?t=2448 – https://www.owasp.org/index.php/OWASP_Internet_of_Things_Project – https://webofthings.org/ ● Keep in touch online: – https://wiki.tizen.org/User:Pcoval – https://s-opensource.org/author/philcovalsamsungcom/ – https://wiki.tizen.org/wiki/Meeting Resources: flaticons CC
  • 18. Samsung Open Source Group 18 #OW2Con @ http://sched.co/Ecdl Questions or Extras ? (Ask me now or later online) https://wiki.tizen.org/User:Pcoval
  • 19. Samsung Open Source Group 19 #OW2Con @ http://sched.co/Ecdl Generic Sensors addon adapter (I2C) https://youtu.be/4haKrPetGmg ● ● mozilla-iot-gateway-sensors- 20180406rzr ● https://youtu.be/4haKrPetGmg ●
  • 20. Samsung Open Source Group 20 #OW2Con @ http://sched.co/Ecdl End 2 End Web+IoT Demo using Mozilla GW https://youtu.be/C13iPxfQAdA ● https://vimeo.com/271272094 ● End2End_WebIoTDemo_Mozilla- GW ● https://youtu.be/C13iPxfQAdA #End2End_WebIoTDemo_Mozilla- GW ●
  • 21. Samsung Open Source Group 21 #OW2Con @ http://sched.co/Ecdl IoTivity-node: From devices to ARTIK cloud https://youtu.be/3L6_DbMLJ1k ● https://s-opensource.org/author/PhilCovalSamsungCom/ ● ● https://vimeo.com/202478132#iotivity-artik-20170204rzr ● ● https://youtu.be/3L6_DbMLJ1k#iotivity-artik-20170204rzr
  • 22. Samsung Open Source Group 22 #OW2Con @ http://sched.co/Ecdl OCF-W3C Translator https://youtu.be/jKt_fPnqggo ● https://youtu.be/jKt_fPnqggo https://youtu.be/jKt_fPnqggo ● openconnectivity-lfals2017 ● https://youtu.be/jKt_fPnqggo
  • 23. Samsung Open Source Group 23 #OW2Con @ http://sched.co/Ecdl Thanks / Merci Contact: https://wiki.tizen.org/wiki/User:Pcoval Resources: flaticons CC