WSO2Con EU 2016: WSO2 IoT Server: Your Foundation for the Internet of Things

48
WSO2 IoT Server: Your Founda3on for the Internet of Things Sumedha Rubasinghe Director - API Architecture WSO2

Transcript of WSO2Con EU 2016: WSO2 IoT Server: Your Foundation for the Internet of Things

WSO2IoTServer:YourFounda3onfortheInternetofThings

SumedhaRubasingheDirector-APIArchitectureWSO2

Refer:h;p://wso2.com/library/conference/2015/06/wso2con-eu-2015-ibeacons-events-processing/

60beaconsgoingfromthecentralsta*onofAmsterdamtotheScheepvaartMuseum(Nau>calMuseum)andformermarinebase(MarineTerrein),slightlymorethan3.4kilometersindistance

WSO2PlaGormcapabili>esusedinIoTprojects

•  Integra>onproducts(ESB,MessageBroker)areusedtocaptureIoTtraffic,applytransforma3onstodataandevents,andintegratewithback-endservices/businessprocesses.

• UsingEventsstreamsto:– Batchanalysis– Streaminganalysis

• Real->mealertsareusedtotriggerbusinessprocesses.

• APIManagementisusedtosecurelyexposedevicesto3rdpartydevelopers.

•  ProductshavebeenextendedtosupportIoTspecifictransports,securityrequirements

Whatarewedoingnext?

•  Centralizeddevicemanagement– Thirdpar3estoaddtheirowndevicetoourdevicemanagementplaXorm.

• Buildsontopofourdevicemanagementframeworkinheritedfrommobiledevicemanagement(EMMproduct)

–  Devicetypeencompassesallartefactsrelatedtoadevice(actuatorsAPIs,sensorsdataforexample)

– Devicespecificanaly3cs•  SupportforspecificIoTprotocols

– Deviceintegra3on– Security

•  Integratedpackaging/download•  SaaSdeployment

WSO2IoTServer

Adistribu3onofprovensetofintegratedWSO2componentstogetherwithMobile+IoTfocusedDeviceManagement,Analy*csandcommunica*onprotocols.

WSO2IoTServer

WSO2IoTServer

WSO2ReferenceArchitectureforIoT

Downloadthewhitepaper:h;p://wso2.com/whitepapers/a-reference-architecture-for-the-internet-of-things/

WSO2IoTServer

WSO2 Carbon

Device Management Device Group Mgt Policy Management Certificate Mgt

Identity Management API Management User Management Analytics

Analytics Dashboard Device Mgt API API Store API Publisher

Console

WSO2IoTServervsIoTPlaGorm

IoTPlaXormIoTServer

InIoTworld,youwillbeoneof...

DeviceManufacturer Developshardware,basicso\wareshowcasingdevicecapabili3es

Applica3onDeveloper BuildIoTapplica3onsontopofexis3nghardware

SystemIntegrator IntegratesIoTapplica3onstogethertobringgreatervaluetoanindustry

DeviceUser Endusers/enterprisesusingdevicesandapplica3onsforbusiness/personaltasks

IoTServerisfor...

• DeviceManufacturers(OEM)

– Lookingforso\wareprocessingplaXormfornewdevices

– Registeringnewdevicetypes– Deviceenrolmentfordeviceowners

– Personalizeddashboardfordevices(deviceowners)– Appbuildingfordevicecontrol

• Architects(Applica>onDevelopers/SystemIntegrators)

– DeviceIntegra3ontoexis3ngsolu3onarchitectures• WSO2Cloud(App,API,Integra3on,Device-cloud)

– h;p://cloud.wso2.com

Demo-Integra3ngWSO2IoTServerwithESP8266-201

Source:h;ps://espressif.com/en/products/hardware/esp8266ex/overview

Setup

WSO2IoTServer

ESP8266-201DevelopmentKit

WifiRouter

Setup

SetupDevice WiFi IoTServer

SetupDevice WiFi IoTServer

Agent ESP8266DeviceAPI Graphs

SetupDevice WiFi IoTServer

Agent ESP8266DeviceAPI Graphs

SetupDevice WiFi IoTServer

Agent ESP8266DeviceAPI Graphs

DeviceTypePlugin

DeviceM

anagem

entP

lugin

InterfacedefinedbyWSO2DeviceManagementComponent

DeviceM

anagem

entP

lugin

InterfacedefinedbyWSO2DeviceManagementComponent

DeviceAPI

Swaggerannota3ons

JAX-RSServicedefiningdevice’scapabili3es

AccessPermissionModel

DeviceAPI

DeviceManagementAPIsavailableforownershipbasedaccesscontrol

DeviceM

anagem

entU

I

Analy>

csScripts

Streamdefini3onfortemperature

PayloadData

MetaData

Analy>

csScripts

Summarisingtemperaturedataintoatable

WhatisWSO2IoTServer?

WSO2 Carbon

Device Management Device Group Mgt Policy Management Certificate Mgt

Identity Management API Management User Management Analytics

Analytics Dashboard Device Mgt API API Store API Publisher

Console

Adistribu3onofprovensetofintegratedWSO2componentstogetherwithMobile+IoTfocusedDeviceManagement,Analy*csandcommunica*onprotocols.

ExtendingWSO2IoTServer

• Wri3ngnewdevicetypes• Transportextensions• Authen3ca3onextensions• AddingAnaly3cscapabili3es• Buildingdashboards• Crea3ngintegra3onscenarios

Wri>ngnewdevicetypes

•  Currentlysupportedtypesfordemopurposes– RaspberryPi– ArduinoUno– IRIS+Drone– LEDDisplay– AndroidSensors

• MavenArchetype-h;ps://docs.wso2.com/display/IoTS100/Crea3ng+a+New+Device+Type

• Wri3ngnewdevicetypesh;ps://docs.wso2.com/display/IoTS100/Device+Manufacturer+Guide

Wri>ngTransportExtensions

•  Currentlysupportedtransports– MQTT– XMPP– HTTP

• WIP– CoAP– OCP(forPLCs)

•  Docs-h;ps://docs.wso2.com/display/IoTS100/Wri3ng+Transport+Extensions

Authen>ca>onMechanismsforDevices

•  OAuth2– OAuth2tokenisissuedpereverydeviceinstanceconnected– Eachdeviceinstanceiscrea3nganOAuth2clientapplica3onusingDynamicClientRegistra3on(DCR)endpoints– TokenVerifica3onavailableforHTTP&MQTTprotocols

•  SCEP(SimpleCer3ficateEnrollmentProtocol)– Eachdeviceisiden3fiedtoIoTServer(andviceversa)usingaSSLcer3ficate– (capable)Deviceissendingacer3ficatesignrequest(CSR)withuniqueiden3fier(challengepassword)generatedbyIoTServer

IoTAnaly3csExtensions

IoTAnaly>cs

IoTAnaly>cs-Mul>pleLevels

IoTAnaly>cs-PerDeviceAnaly>cs

IoTAnaly>cs-GeoDashboards

Documenta3onh;ps://docs.wso2.com/display/IoTS100/WSO2+IoT+Server

WSO2EnterpriseMobilityManager(EMM)?

MobilePhone=Devicewithvoicecommunica3oncapabili3esMDM=MobileDeviceManagementMAM=MobileApplica3onManagementEMM=MDM+MAM

WSO2EnterpriseMobilityManager(EMM)

WSO2 Carbon

Device Management Device Group Mgt Policy Management Certificate Mgt

Identity Management API Management User Management Analytics

Analytics Dashboard Device Mgt API API Store API Publisher

Console

Android Plugin iOS Plugin Windows Plugin Blackberry Plugin Mobile Device Plugins Mobile

Plugins

+

Mobile App Management Mobile App Store Mobile App Publisher Native Identity

Proxies

MD

M

MA

M

IoT Server

WSO2IoTServer1.0.0GA

•  Betaprogramhappeningnowwithover150registrants•  1.0.0GA-MidJuly2016

ThankYou!

#WSO2ConEU

Shareyourfeedbackforthissessionwso2con.com/app