SlideShare a Scribd company logo
1 of 27
Download to read offline
WSO2 IOTS
D E V I C E M A N U FA C T U R E R G U I D E
W S O 2 I OT S E RV E R 3 . 0 . 0
PLANETBUCKS
• The customers are in a hurry to grab a coffee and rush back to
work/home.
• Planetbucks can get a competitive advantage in the market if they are
able to take the coffee to the customer's work place/home, without
them having to come to the store.
CONNECTED CUP
• Display the level of coffee and temperature on the cup.
• Allow customers to order coffee by clicking a button on the cup.
• Allow customers to remotely monitor the cup and see the status of
the coffee.
• Allow Planetbucks to study the customer drinking patterns and the
coffee consumption.
DEVICE AGENT
• Goal: Display the level of coffee and temperature on the cup.
• It is necessary to install/burn a software program into the hardware
device.The software program is known as the device agent.The agent
can be written in any programming language that is supported by the
device,such as Java,C,Arduino-C, Python, Lua and more.
Device
Agent
DEVICE API
• Goal:Allow customers to order coffee by clicking a button on the cup.
• The Connected Cup needs to communicate with the user's mobile
application that monitors the cup, and send details on the consumer
buying patterns and the coffee consumption data to Planetbucks.
Therefore,we create APIs for the Connected Cup device to
communicate with external devices,the server and the device
management console.
Device
Type
Device
APIs
UI EXTENSIONS
• Goal:Allow customers to remotely monitor the cup and see the
status of the coffee.
• InWSO2 IoTS each device type has it's own UI that lists the device
specific details.Therefore,when writing your own device type you
need to write the UI units for the device specific details to be listed in
theWSO2 IoTS Jaggery application pages.
Device
Type
UI
UI Ext
ANALYTICS
• Goal:Allow Planetbucks to study the customer drinking patterns and
the coffee consumption.
• Connected Cup has one or more sensors to gather data,e.g. the level
of coffee in the cup and its temperature. WSO2 IoT Server uses
WSO2 Data Analytics Server (DAS) to write batch analytics and
process historical sensor data.
Device
Type
DAS
Analytics
DEVICE PLUGINS
• A device plugin is an OSGI bundle that gets wired with theWSO2
CDMF (Connected Device Management Framework). Each device
requires a specific device plugin.A specific device plugin is required
due to the following reasons:
– Enables its creator to have control over the device.
– A device can have its own unique set of attributes. Device
Type
CDMF
Plugins
Carbon
THE WHOLE PICTURE
Device
Type
DAS
CDMF
Device
UI
UI Ext
Analytics
Plugins
APIs
Agent
SENSOR DATA PROCESSING
DEVICE ACCESS VIA APPS
SAMPLE CODE
CONNECTED CUP
$ git clone https://github.com/wso2/product-iots.git
WRITE DEVICE AGENTS
https://docs.wso2.com/display/IoTS300/Writing+Device+Agents
# web controller of Connected Cup simulator
# Connected Cup simulator
WRITE DEVICE APIS
# create a JAXRS web application for controller and manager APIs
https://docs.wso2.com/display/IoTS300/Writing+Device+APIs
WRITE UI EXTENSIONS
https://docs.wso2.com/display/IoTS300/Writing+UI+Extensions
# show the historical data
# show the device type
# show the device details
# show the real time data
# jaggery web framework
WRITE BATCH ANALYTICS
# includes the content to bind the stream to the receiver
# includes the analytics script used to summarize data streams
# includes the schema to persist and format the streaming data
# includes the content to define the data format of streaming data
# create an archive of all the artifacts created below
# includes the content to define the data format of streaming data
# includes the content to bind the stream to the receiver
# includes the content to bind the stream to the publisher
# includes the siddhi script used to process read time data
# create an archive of all the artifacts created below
https://docs.wso2.com/display/IoTS300/Writing+Analytics
WRITE DEVICE PLUGIN
# implement DeviceManagementService interface
# implement DeviceManager interface
# register the service as an OSGI service
https://docs.wso2.com/display/IoTS300/Writing+Device+Plugins
WRITE CARBON FEATURE
• Users ofWSO2 products can extend the features by developing new
components and deploying them in the server.
# create the database scripts
# define the database scripts
# includes the device type configurations
# create and configure the agent
# copy the files from the P2 repository to the WSO2 IoTS pack
# create the device type as a feature with maven
https://docs.wso2.com/display/IoTS300/Writing+the+Device+Feature
https://docs.wso2.com/display/Carbon4411/Developing+a+Carbon+Feature
START CONNECTED CUP
• Build the Connected Cup device type
• Run the samples-deployer.xml file
• Run the device-deployer.xml file
• Start or restartWSO2 IoTS
• Access the device management console and see the connected cup
device in the device page
https://docs.wso2.com/display/IoTS300/Device+Manufacturer+Guide#DeviceManufacturerGuide-StartingConnectedCup
$ cd <IoT_HOME>/samples/connectedcup
$ mvn clean install
$ cd <IoT_HOME>/samples
$ mvn clean install -f samples-deployer.xml
$ cd <IoT_HOME>/plugins
$ mvn clean install -f plugins-deployer.xml
TROUBLESHOOTING
• <M2_HOME>/conf/settings.xml
<proxies><proxy>...</proxy></proxies>
• <IoT_HOME>/samples/connectedcup/component/plugin/pom.xml
<Import-Package>org.wso2.carbon.base.*</Import-Package>
• Configuring WSO2 IoT Server with the IP instead of localhost
– https://docs.wso2.com/display/IoTS310/Configuring+WSO2+IoT+Server
+with+the+IP
CARBON DEVICE
MGT PLUGINS
DEVICE MGT PLUGINS
$ git clone https://github.com/wso2/carbon-device-mgt-plugins.git
DEVICE TYPES
MOBILE PLUGINS
FEATURES
Q & A

More Related Content

What's hot

Continuous Integration as a Way of Life
Continuous Integration as a Way of LifeContinuous Integration as a Way of Life
Continuous Integration as a Way of LifeMelissa Benua
 
Continuous integration
Continuous integrationContinuous integration
Continuous integrationamscanne
 
Simple Continous Integration
Simple Continous IntegrationSimple Continous Integration
Simple Continous IntegrationRicky Martaputra
 
Keeping Your CI/CD Pipeline as Fast as It Needs to Be
Keeping Your CI/CD Pipeline as Fast as It Needs to BeKeeping Your CI/CD Pipeline as Fast as It Needs to Be
Keeping Your CI/CD Pipeline as Fast as It Needs to BeAbraham Marin-Perez
 
Continuous Integration (CI) - An effective development practice
Continuous Integration (CI) - An effective development practiceContinuous Integration (CI) - An effective development practice
Continuous Integration (CI) - An effective development practiceDao Ngoc Kien
 
Continuous delivery applied
Continuous delivery appliedContinuous delivery applied
Continuous delivery appliedMike McGarr
 
Continuous deployment steve povilaitis
Continuous deployment   steve povilaitisContinuous deployment   steve povilaitis
Continuous deployment steve povilaitisSteve Povilaitis
 
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...CloudBees
 
Continuous Integration for Beginners
Continuous Integration for BeginnersContinuous Integration for Beginners
Continuous Integration for BeginnersYüce Çelikel
 
Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration Amazon Web Services
 
Integration Testing as Validation and Monitoring
 Integration Testing as Validation and Monitoring Integration Testing as Validation and Monitoring
Integration Testing as Validation and MonitoringMelissa Benua
 
Improving software quality using Continuous Integration
Improving software quality using Continuous IntegrationImproving software quality using Continuous Integration
Improving software quality using Continuous IntegrationWouter Konecny
 
Introduction to CICD
Introduction to CICDIntroduction to CICD
Introduction to CICDKnoldus Inc.
 
Workshop Guide: RESTful Java Web Application with Spring Boot
Workshop Guide: RESTful Java Web Application with Spring BootWorkshop Guide: RESTful Java Web Application with Spring Boot
Workshop Guide: RESTful Java Web Application with Spring BootFabricio Epaminondas
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integrationdrluckyspin
 
Jenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous DeliveryJenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous DeliveryVirendra Bhalothia
 

What's hot (20)

Continuous Integration as a Way of Life
Continuous Integration as a Way of LifeContinuous Integration as a Way of Life
Continuous Integration as a Way of Life
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
Simple Continous Integration
Simple Continous IntegrationSimple Continous Integration
Simple Continous Integration
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
 
Keeping Your CI/CD Pipeline as Fast as It Needs to Be
Keeping Your CI/CD Pipeline as Fast as It Needs to BeKeeping Your CI/CD Pipeline as Fast as It Needs to Be
Keeping Your CI/CD Pipeline as Fast as It Needs to Be
 
Continuous Integration (CI) - An effective development practice
Continuous Integration (CI) - An effective development practiceContinuous Integration (CI) - An effective development practice
Continuous Integration (CI) - An effective development practice
 
Continuous delivery applied
Continuous delivery appliedContinuous delivery applied
Continuous delivery applied
 
Continuous deployment steve povilaitis
Continuous deployment   steve povilaitisContinuous deployment   steve povilaitis
Continuous deployment steve povilaitis
 
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
 
Continuous Integration for Beginners
Continuous Integration for BeginnersContinuous Integration for Beginners
Continuous Integration for Beginners
 
Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration
 
Integration Testing as Validation and Monitoring
 Integration Testing as Validation and Monitoring Integration Testing as Validation and Monitoring
Integration Testing as Validation and Monitoring
 
Improving software quality using Continuous Integration
Improving software quality using Continuous IntegrationImproving software quality using Continuous Integration
Improving software quality using Continuous Integration
 
Introduction to CICD
Introduction to CICDIntroduction to CICD
Introduction to CICD
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
 
Workshop Guide: RESTful Java Web Application with Spring Boot
Workshop Guide: RESTful Java Web Application with Spring BootWorkshop Guide: RESTful Java Web Application with Spring Boot
Workshop Guide: RESTful Java Web Application with Spring Boot
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
 
CICD by Teerapat
CICD by TeerapatCICD by Teerapat
CICD by Teerapat
 
Continuous integration with Jenkins
Continuous integration with JenkinsContinuous integration with Jenkins
Continuous integration with Jenkins
 
Jenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous DeliveryJenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous Delivery
 

Viewers also liked

關於測試,我說的其實是......
關於測試,我說的其實是......關於測試,我說的其實是......
關於測試,我說的其實是......hugo lu
 
Sql injection 幼幼班
Sql injection 幼幼班Sql injection 幼幼班
Sql injection 幼幼班hugo lu
 
Dev ops 簡介
Dev ops 簡介Dev ops 簡介
Dev ops 簡介hugo lu
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecturehugo lu
 
The TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelThe TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelDivye Kapoor
 
Upstream design and_implementation_in_nginx
Upstream design and_implementation_in_nginxUpstream design and_implementation_in_nginx
Upstream design and_implementation_in_nginxmonad bobo
 
Service Design Roundtable on 2/15/2014, Y. Sawatani
Service Design Roundtable on 2/15/2014, Y. SawataniService Design Roundtable on 2/15/2014, Y. Sawatani
Service Design Roundtable on 2/15/2014, Y. SawataniYuriko Sawatani
 
大山北月 莊凱詠
大山北月 莊凱詠大山北月 莊凱詠
大山北月 莊凱詠凱詠 莊
 
SF Service Jam Day 1 Deck
SF Service Jam Day 1 DeckSF Service Jam Day 1 Deck
SF Service Jam Day 1 DeckIzac Ross
 
那些在NTUST.CC背後。你所不知道的故事
那些在NTUST.CC背後。你所不知道的故事那些在NTUST.CC背後。你所不知道的故事
那些在NTUST.CC背後。你所不知道的故事Yi-Feng Xie
 
Introduction to Drupal (中文)
Introduction to Drupal (中文)Introduction to Drupal (中文)
Introduction to Drupal (中文)Hana Chang
 
Create docker image with bluemix dev ops
Create docker image with bluemix dev opsCreate docker image with bluemix dev ops
Create docker image with bluemix dev opsJoseph Chang
 
Service Design Latest Information
Service Design Latest InformationService Design Latest Information
Service Design Latest InformationYuriko Sawatani
 
電商網站開發 - 應用Weebly (Part 2 金流串接)
電商網站開發 - 應用Weebly (Part 2 金流串接)電商網站開發 - 應用Weebly (Part 2 金流串接)
電商網站開發 - 應用Weebly (Part 2 金流串接)Yu-Hsien Fang
 
熱傳播 四格教案第二節
熱傳播   四格教案第二節熱傳播   四格教案第二節
熱傳播 四格教案第二節bell5
 
測試流程整體介紹
測試流程整體介紹測試流程整體介紹
測試流程整體介紹gaohonglian
 
《Google超級用人學》導讀與反思
《Google超級用人學》導讀與反思《Google超級用人學》導讀與反思
《Google超級用人學》導讀與反思Lee CHIU
 
求職練功巴士_01_台大不一樣思考社友會
求職練功巴士_01_台大不一樣思考社友會求職練功巴士_01_台大不一樣思考社友會
求職練功巴士_01_台大不一樣思考社友會Jennifer Ting Yi Lee
 

Viewers also liked (20)

關於測試,我說的其實是......
關於測試,我說的其實是......關於測試,我說的其實是......
關於測試,我說的其實是......
 
Sql injection 幼幼班
Sql injection 幼幼班Sql injection 幼幼班
Sql injection 幼幼班
 
Dev ops 簡介
Dev ops 簡介Dev ops 簡介
Dev ops 簡介
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
 
The TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelThe TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux Kernel
 
Upstream design and_implementation_in_nginx
Upstream design and_implementation_in_nginxUpstream design and_implementation_in_nginx
Upstream design and_implementation_in_nginx
 
Service Design Roundtable on 2/15/2014, Y. Sawatani
Service Design Roundtable on 2/15/2014, Y. SawataniService Design Roundtable on 2/15/2014, Y. Sawatani
Service Design Roundtable on 2/15/2014, Y. Sawatani
 
大山北月 莊凱詠
大山北月 莊凱詠大山北月 莊凱詠
大山北月 莊凱詠
 
SF Service Jam Day 1 Deck
SF Service Jam Day 1 DeckSF Service Jam Day 1 Deck
SF Service Jam Day 1 Deck
 
DTA Toolkit_Reference
DTA Toolkit_ReferenceDTA Toolkit_Reference
DTA Toolkit_Reference
 
那些在NTUST.CC背後。你所不知道的故事
那些在NTUST.CC背後。你所不知道的故事那些在NTUST.CC背後。你所不知道的故事
那些在NTUST.CC背後。你所不知道的故事
 
Introduction to Drupal (中文)
Introduction to Drupal (中文)Introduction to Drupal (中文)
Introduction to Drupal (中文)
 
Create docker image with bluemix dev ops
Create docker image with bluemix dev opsCreate docker image with bluemix dev ops
Create docker image with bluemix dev ops
 
Service Design Latest Information
Service Design Latest InformationService Design Latest Information
Service Design Latest Information
 
電商網站開發 - 應用Weebly (Part 2 金流串接)
電商網站開發 - 應用Weebly (Part 2 金流串接)電商網站開發 - 應用Weebly (Part 2 金流串接)
電商網站開發 - 應用Weebly (Part 2 金流串接)
 
熱傳播 四格教案第二節
熱傳播   四格教案第二節熱傳播   四格教案第二節
熱傳播 四格教案第二節
 
測試流程整體介紹
測試流程整體介紹測試流程整體介紹
測試流程整體介紹
 
《Google超級用人學》導讀與反思
《Google超級用人學》導讀與反思《Google超級用人學》導讀與反思
《Google超級用人學》導讀與反思
 
功夫微講堂第五卷
功夫微講堂第五卷功夫微講堂第五卷
功夫微講堂第五卷
 
求職練功巴士_01_台大不一樣思考社友會
求職練功巴士_01_台大不一樣思考社友會求職練功巴士_01_台大不一樣思考社友會
求職練功巴士_01_台大不一樣思考社友會
 

Similar to WSO2 IoTS Device Manufacturer Guide

In-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shoppingIn-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shoppingMike Taylor
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android ApplicationNandini Prabhu
 
WSO2 Product Release Webinar - WSO2 API Manager 1.9
WSO2 Product Release Webinar - WSO2 API Manager 1.9WSO2 Product Release Webinar - WSO2 API Manager 1.9
WSO2 Product Release Webinar - WSO2 API Manager 1.9WSO2
 
Online shopping Report
Online shopping ReportOnline shopping Report
Online shopping ReportPragnya Dash
 
From IoT Central to IoT Hub
From IoT Central to IoT HubFrom IoT Central to IoT Hub
From IoT Central to IoT HubMarco Parenzan
 
IoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the CloudIoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the CloudMichelle Devereux White
 
Syncfusion Dashboard Platform SDK
Syncfusion Dashboard  Platform SDKSyncfusion Dashboard  Platform SDK
Syncfusion Dashboard Platform SDKDavis Jebaraj
 
Aucoda - Automated Development
Aucoda - Automated Development Aucoda - Automated Development
Aucoda - Automated Development Aucoda
 
SquidFlow: Building a D3.js sankey app
SquidFlow: Building a D3.js sankey appSquidFlow: Building a D3.js sankey app
SquidFlow: Building a D3.js sankey appSquidSolutions
 
Creating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixCreating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixAndrew Ferrier
 
Development made easy with WSO2 App Factory
Development made easy with WSO2 App FactoryDevelopment made easy with WSO2 App Factory
Development made easy with WSO2 App FactoryWSO2
 
What’s New in WSO2 IoT Server 3.1.0
What’s New in WSO2 IoT Server 3.1.0What’s New in WSO2 IoT Server 3.1.0
What’s New in WSO2 IoT Server 3.1.0WSO2
 
WSO2 Product Release Webinar - WSO2 App Factory 2.1
WSO2 Product Release Webinar - WSO2 App Factory 2.1WSO2 Product Release Webinar - WSO2 App Factory 2.1
WSO2 Product Release Webinar - WSO2 App Factory 2.1WSO2
 
Ls catalog thiet bi dien xgt info u_e_110512_dienhathe.vn
Ls catalog thiet bi dien xgt info u_e_110512_dienhathe.vnLs catalog thiet bi dien xgt info u_e_110512_dienhathe.vn
Ls catalog thiet bi dien xgt info u_e_110512_dienhathe.vnDien Ha The
 
What's New In InduSoft Web Studio 8.1 + SP3
What's New In InduSoft Web Studio 8.1 + SP3What's New In InduSoft Web Studio 8.1 + SP3
What's New In InduSoft Web Studio 8.1 + SP3AVEVA
 
What's New In InduSoft Web Studio 8.1 + SP4
What's New In InduSoft Web Studio 8.1 + SP4What's New In InduSoft Web Studio 8.1 + SP4
What's New In InduSoft Web Studio 8.1 + SP4AVEVA
 

Similar to WSO2 IoTS Device Manufacturer Guide (20)

In-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shoppingIn-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shopping
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
IndusDAQ_Presentation 2014.ppsx
IndusDAQ_Presentation 2014.ppsxIndusDAQ_Presentation 2014.ppsx
IndusDAQ_Presentation 2014.ppsx
 
WSO2 Product Release Webinar - WSO2 API Manager 1.9
WSO2 Product Release Webinar - WSO2 API Manager 1.9WSO2 Product Release Webinar - WSO2 API Manager 1.9
WSO2 Product Release Webinar - WSO2 API Manager 1.9
 
Online shopping Report
Online shopping ReportOnline shopping Report
Online shopping Report
 
From IoT Central to IoT Hub
From IoT Central to IoT HubFrom IoT Central to IoT Hub
From IoT Central to IoT Hub
 
Ios
IosIos
Ios
 
IoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the CloudIoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the Cloud
 
Syncfusion Dashboard Platform SDK
Syncfusion Dashboard  Platform SDKSyncfusion Dashboard  Platform SDK
Syncfusion Dashboard Platform SDK
 
Sam segal resume
Sam segal resumeSam segal resume
Sam segal resume
 
Aucoda - Automated Development
Aucoda - Automated Development Aucoda - Automated Development
Aucoda - Automated Development
 
SquidFlow: Building a D3.js sankey app
SquidFlow: Building a D3.js sankey appSquidFlow: Building a D3.js sankey app
SquidFlow: Building a D3.js sankey app
 
Creating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixCreating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM Bluemix
 
Development made easy with WSO2 App Factory
Development made easy with WSO2 App FactoryDevelopment made easy with WSO2 App Factory
Development made easy with WSO2 App Factory
 
MoizChhatriwalaPotrfolio
MoizChhatriwalaPotrfolioMoizChhatriwalaPotrfolio
MoizChhatriwalaPotrfolio
 
What’s New in WSO2 IoT Server 3.1.0
What’s New in WSO2 IoT Server 3.1.0What’s New in WSO2 IoT Server 3.1.0
What’s New in WSO2 IoT Server 3.1.0
 
WSO2 Product Release Webinar - WSO2 App Factory 2.1
WSO2 Product Release Webinar - WSO2 App Factory 2.1WSO2 Product Release Webinar - WSO2 App Factory 2.1
WSO2 Product Release Webinar - WSO2 App Factory 2.1
 
Ls catalog thiet bi dien xgt info u_e_110512_dienhathe.vn
Ls catalog thiet bi dien xgt info u_e_110512_dienhathe.vnLs catalog thiet bi dien xgt info u_e_110512_dienhathe.vn
Ls catalog thiet bi dien xgt info u_e_110512_dienhathe.vn
 
What's New In InduSoft Web Studio 8.1 + SP3
What's New In InduSoft Web Studio 8.1 + SP3What's New In InduSoft Web Studio 8.1 + SP3
What's New In InduSoft Web Studio 8.1 + SP3
 
What's New In InduSoft Web Studio 8.1 + SP4
What's New In InduSoft Web Studio 8.1 + SP4What's New In InduSoft Web Studio 8.1 + SP4
What's New In InduSoft Web Studio 8.1 + SP4
 

More from hugo lu

Sql or no sql, that is the question
Sql or no sql, that is the questionSql or no sql, that is the question
Sql or no sql, that is the questionhugo lu
 
Swift 2.0 的新玩意
Swift 2.0 的新玩意Swift 2.0 的新玩意
Swift 2.0 的新玩意hugo lu
 
精實執行工作坊
精實執行工作坊精實執行工作坊
精實執行工作坊hugo lu
 
Testing in swift
Testing in swiftTesting in swift
Testing in swifthugo lu
 
畫出商業模式
畫出商業模式畫出商業模式
畫出商業模式hugo lu
 
精實軟體度量
精實軟體度量精實軟體度量
精實軟體度量hugo lu
 
看板實驗室
看板實驗室看板實驗室
看板實驗室hugo lu
 
嵌入式測試驅動開發
嵌入式測試驅動開發嵌入式測試驅動開發
嵌入式測試驅動開發hugo lu
 

More from hugo lu (8)

Sql or no sql, that is the question
Sql or no sql, that is the questionSql or no sql, that is the question
Sql or no sql, that is the question
 
Swift 2.0 的新玩意
Swift 2.0 的新玩意Swift 2.0 的新玩意
Swift 2.0 的新玩意
 
精實執行工作坊
精實執行工作坊精實執行工作坊
精實執行工作坊
 
Testing in swift
Testing in swiftTesting in swift
Testing in swift
 
畫出商業模式
畫出商業模式畫出商業模式
畫出商業模式
 
精實軟體度量
精實軟體度量精實軟體度量
精實軟體度量
 
看板實驗室
看板實驗室看板實驗室
看板實驗室
 
嵌入式測試驅動開發
嵌入式測試驅動開發嵌入式測試驅動開發
嵌入式測試驅動開發
 

Recently uploaded

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 

Recently uploaded (20)

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 

WSO2 IoTS Device Manufacturer Guide

  • 1. WSO2 IOTS D E V I C E M A N U FA C T U R E R G U I D E W S O 2 I OT S E RV E R 3 . 0 . 0
  • 2. PLANETBUCKS • The customers are in a hurry to grab a coffee and rush back to work/home. • Planetbucks can get a competitive advantage in the market if they are able to take the coffee to the customer's work place/home, without them having to come to the store.
  • 3. CONNECTED CUP • Display the level of coffee and temperature on the cup. • Allow customers to order coffee by clicking a button on the cup. • Allow customers to remotely monitor the cup and see the status of the coffee. • Allow Planetbucks to study the customer drinking patterns and the coffee consumption.
  • 4. DEVICE AGENT • Goal: Display the level of coffee and temperature on the cup. • It is necessary to install/burn a software program into the hardware device.The software program is known as the device agent.The agent can be written in any programming language that is supported by the device,such as Java,C,Arduino-C, Python, Lua and more. Device Agent
  • 5. DEVICE API • Goal:Allow customers to order coffee by clicking a button on the cup. • The Connected Cup needs to communicate with the user's mobile application that monitors the cup, and send details on the consumer buying patterns and the coffee consumption data to Planetbucks. Therefore,we create APIs for the Connected Cup device to communicate with external devices,the server and the device management console. Device Type Device APIs
  • 6. UI EXTENSIONS • Goal:Allow customers to remotely monitor the cup and see the status of the coffee. • InWSO2 IoTS each device type has it's own UI that lists the device specific details.Therefore,when writing your own device type you need to write the UI units for the device specific details to be listed in theWSO2 IoTS Jaggery application pages. Device Type UI UI Ext
  • 7. ANALYTICS • Goal:Allow Planetbucks to study the customer drinking patterns and the coffee consumption. • Connected Cup has one or more sensors to gather data,e.g. the level of coffee in the cup and its temperature. WSO2 IoT Server uses WSO2 Data Analytics Server (DAS) to write batch analytics and process historical sensor data. Device Type DAS Analytics
  • 8. DEVICE PLUGINS • A device plugin is an OSGI bundle that gets wired with theWSO2 CDMF (Connected Device Management Framework). Each device requires a specific device plugin.A specific device plugin is required due to the following reasons: – Enables its creator to have control over the device. – A device can have its own unique set of attributes. Device Type CDMF Plugins Carbon
  • 9. THE WHOLE PICTURE Device Type DAS CDMF Device UI UI Ext Analytics Plugins APIs Agent
  • 13. CONNECTED CUP $ git clone https://github.com/wso2/product-iots.git
  • 14. WRITE DEVICE AGENTS https://docs.wso2.com/display/IoTS300/Writing+Device+Agents # web controller of Connected Cup simulator # Connected Cup simulator
  • 15. WRITE DEVICE APIS # create a JAXRS web application for controller and manager APIs https://docs.wso2.com/display/IoTS300/Writing+Device+APIs
  • 16. WRITE UI EXTENSIONS https://docs.wso2.com/display/IoTS300/Writing+UI+Extensions # show the historical data # show the device type # show the device details # show the real time data # jaggery web framework
  • 17. WRITE BATCH ANALYTICS # includes the content to bind the stream to the receiver # includes the analytics script used to summarize data streams # includes the schema to persist and format the streaming data # includes the content to define the data format of streaming data # create an archive of all the artifacts created below # includes the content to define the data format of streaming data # includes the content to bind the stream to the receiver # includes the content to bind the stream to the publisher # includes the siddhi script used to process read time data # create an archive of all the artifacts created below https://docs.wso2.com/display/IoTS300/Writing+Analytics
  • 18. WRITE DEVICE PLUGIN # implement DeviceManagementService interface # implement DeviceManager interface # register the service as an OSGI service https://docs.wso2.com/display/IoTS300/Writing+Device+Plugins
  • 19. WRITE CARBON FEATURE • Users ofWSO2 products can extend the features by developing new components and deploying them in the server. # create the database scripts # define the database scripts # includes the device type configurations # create and configure the agent # copy the files from the P2 repository to the WSO2 IoTS pack # create the device type as a feature with maven https://docs.wso2.com/display/IoTS300/Writing+the+Device+Feature https://docs.wso2.com/display/Carbon4411/Developing+a+Carbon+Feature
  • 20. START CONNECTED CUP • Build the Connected Cup device type • Run the samples-deployer.xml file • Run the device-deployer.xml file • Start or restartWSO2 IoTS • Access the device management console and see the connected cup device in the device page https://docs.wso2.com/display/IoTS300/Device+Manufacturer+Guide#DeviceManufacturerGuide-StartingConnectedCup $ cd <IoT_HOME>/samples/connectedcup $ mvn clean install $ cd <IoT_HOME>/samples $ mvn clean install -f samples-deployer.xml $ cd <IoT_HOME>/plugins $ mvn clean install -f plugins-deployer.xml
  • 21. TROUBLESHOOTING • <M2_HOME>/conf/settings.xml <proxies><proxy>...</proxy></proxies> • <IoT_HOME>/samples/connectedcup/component/plugin/pom.xml <Import-Package>org.wso2.carbon.base.*</Import-Package> • Configuring WSO2 IoT Server with the IP instead of localhost – https://docs.wso2.com/display/IoTS310/Configuring+WSO2+IoT+Server +with+the+IP
  • 23. DEVICE MGT PLUGINS $ git clone https://github.com/wso2/carbon-device-mgt-plugins.git
  • 27. Q & A