SlideShare a Scribd company logo
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

More Related Content

PDF
Easy IoT with JavaScript
PDF
webthing-iotjs-20181027rzr
PDF
Toward "OCF Automotive" profile
PDF
IoTivity on Tizen: How to
PDF
IoTivity Connects RVI from GENIVI's Develoment Platform to Tizen devices
PDF
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
PDF
OIC AGL Collaboration
PDF
IoTivity for Automotive: meta-ocf-automotive tutorial
Easy IoT with JavaScript
webthing-iotjs-20181027rzr
Toward "OCF Automotive" profile
IoTivity on Tizen: How to
IoTivity Connects RVI from GENIVI's Develoment Platform to Tizen devices
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
OIC AGL Collaboration
IoTivity for Automotive: meta-ocf-automotive tutorial

What's hot (17)

PDF
OCF/IoTivity for Healthcare/Fitness/Wearable
PDF
Iotivity atmel-20150328rzr
PDF
osvehicle-connected-20160429
PDF
Tizen Connected with IoTivity
PDF
Janus conf'19: janus client side
PPTX
Utilisation de la plateforme virtuelle QEMU/SystemC pour l'IoT
ODP
Introduction To The Eclipse Platform
ODP
Tizen architecture-solutionslinux-20130529
PDF
Iotivity tizen-fosdem-2015
ODP
Internet of Smaller Things
PDF
WP8 - Pilot – Testbed
PDF
Tizen store-z1-20150228rzr
PDF
Cloud native java are we there yet go tech world 2019
PPTX
Why IoT needs Open Source Communities
PDF
WP5 - Gateway Security, Data Provenance & Access Control
PDF
tizen-maintain-20150413rzr
PDF
Adopt OpenJDK presentation (slide deck)
OCF/IoTivity for Healthcare/Fitness/Wearable
Iotivity atmel-20150328rzr
osvehicle-connected-20160429
Tizen Connected with IoTivity
Janus conf'19: janus client side
Utilisation de la plateforme virtuelle QEMU/SystemC pour l'IoT
Introduction To The Eclipse Platform
Tizen architecture-solutionslinux-20130529
Iotivity tizen-fosdem-2015
Internet of Smaller Things
WP8 - Pilot – Testbed
Tizen store-z1-20150228rzr
Cloud native java are we there yet go tech world 2019
Why IoT needs Open Source Communities
WP5 - Gateway Security, Data Provenance & Access Control
tizen-maintain-20150413rzr
Adopt OpenJDK presentation (slide deck)
Ad

Similar to The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris (20)

PDF
webthing-iotjs-tizenrt-cdl2018-20181117rzr
PDF
web-of-twins-20190604rzr
PDF
PDF
IoTivity: From Devices to the Cloud
PDF
digital-twins-webthings-iotjs-20190512rzr
PDF
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
PDF
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
PDF
IoTivity for Automotive IoT Interoperability
PDF
tizen-rt-javascript-20181011
PDF
Framework for IoT Interoperability
PDF
Open Source Internet of Things 101 – EclipseCon 2016
PDF
The Considerations for Internet of Things @ 2017
PPTX
Creating the open source building blocks for IoT
PDF
Building the Internet of Things with open source and Eclipse IoT projects (Be...
PDF
mozilla-things-fosdem-2019
PDF
aframe-webthing-20190710
PDF
OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile
PDF
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
PPTX
PPT
Introduction to OpenDaylight and Hydrogen, Learnings from the Year, What's Ne...
webthing-iotjs-tizenrt-cdl2018-20181117rzr
web-of-twins-20190604rzr
IoTivity: From Devices to the Cloud
digital-twins-webthings-iotjs-20190512rzr
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity for Automotive IoT Interoperability
tizen-rt-javascript-20181011
Framework for IoT Interoperability
Open Source Internet of Things 101 – EclipseCon 2016
The Considerations for Internet of Things @ 2017
Creating the open source building blocks for IoT
Building the Internet of Things with open source and Eclipse IoT projects (Be...
mozilla-things-fosdem-2019
aframe-webthing-20190710
OCCIware presentation at EclipseDay in Lyon, November 2017, by Marc Dutoo, Smile
Model and pilot all cloud layers with OCCIware - Eclipse Day Lyon 2017
Introduction to OpenDaylight and Hydrogen, Learnings from the Year, What's Ne...
Ad

More from OW2 (20)

PDF
OW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in Roma
 
PDF
The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...
 
PDF
GLPi v.10, les fonctionnalités principales et l'offre cloud
 
PDF
Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...
 
PDF
FusionIAM : la gestion des identités et des accés open source
 
PDF
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
 
PDF
SFScon'20 Bringing the User into the Equation
 
PDF
Towards a sustainable solution to open source sustainability, OW2online20, Ju...
 
PDF
Advanced proactive and polymorphing cloud application adaptation with MORPHEM...
 
PDF
Open Source governance and the Eclipse Foundation, OW2online, June 2020
 
PDF
Open source contribution policies, OW2online, June 2020
 
PDF
Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...
 
PDF
Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020
 
PDF
Open Source Compliance at Orange, OW2online, June 2020
 
PDF
Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020
 
PDF
Intelligent package management with FASTEN, OW2online, June 2020
 
PDF
DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020
 
PDF
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
 
PDF
Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...
 
PDF
Cacti and Big Data at Orange France, OW2online, June 2020
 
OW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in Roma
 
The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...
 
GLPi v.10, les fonctionnalités principales et l'offre cloud
 
Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...
 
FusionIAM : la gestion des identités et des accés open source
 
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
 
SFScon'20 Bringing the User into the Equation
 
Towards a sustainable solution to open source sustainability, OW2online20, Ju...
 
Advanced proactive and polymorphing cloud application adaptation with MORPHEM...
 
Open Source governance and the Eclipse Foundation, OW2online, June 2020
 
Open source contribution policies, OW2online, June 2020
 
Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...
 
Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020
 
Open Source Compliance at Orange, OW2online, June 2020
 
Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020
 
Intelligent package management with FASTEN, OW2online, June 2020
 
DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020
 
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
 
Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...
 
Cacti and Big Data at Orange France, OW2online, June 2020
 

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Modernizing your data center with Dell and AMD
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
KodekX | Application Modernization Development
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Big Data Technologies - Introduction.pptx
Encapsulation_ Review paper, used for researhc scholars
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Network Security Unit 5.pdf for BCA BBA.
Modernizing your data center with Dell and AMD
Per capita expenditure prediction using model stacking based on satellite ima...
Spectral efficient network and resource selection model in 5G networks
KodekX | Application Modernization Development
Digital-Transformation-Roadmap-for-Companies.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf

The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris

  • 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