Fast Track Your IoT Development
-
Upload
salesforce-developers -
Category
Technology
-
view
407 -
download
0
Transcript of Fast Track Your IoT Development
© 2015 Wind River. All Rights Reserved.
Fast Track Your IoT Development Kamal Desai, Wind River Dreamforce 2015
2 © 2015 Wind River. All Rights Reserved.
Agenda
§ Generating Device Data § Sending Device Data to the Cloud
§ Extracting Data from the Cloud
3 © 2015 Wind River. All Rights Reserved.
DEVICES NETWORKS CLOUDS
© 2015 Wind River. All Rights Reserved. 3
ERP
CRM
SERVICE CLOUD
MARKETING CLOUD
GATEWAYS
CUSTOMER PREMISES
BUSINESS INTELLIGENCE
IoT: Secure Edge-to-Enterprise and Back Again
ON-PREMISES CLOUD
CONNECTED ASSETS
4 © 2015 Wind River. All Rights Reserved.
IoT End-to-End Architecture
Gateway Device
(Sensor)
Cloud (Data Hosting)
Custom HTML
5 © 2015 Wind River. All Rights Reserved.
IoT: Device Data to Cloud
§ Wind River Helix Device Cloud – Wind River Linux + Wind River Intelligent Device Platform + Device Cloud agent
§ Wind River Linux – Open source, Yocto Project Compatible
§ Intelligent Device Platform – Middleware for security, connectivity, manageability
§ Device Cloud – Edge management service – Agent enabling cloud connectivity to facilitate data capture, rules-based data analysis and
response, configuration, file transfer, etc.
Cloud
6 © 2015 Wind River. All Rights Reserved.
Helix Lab Cloud Overview Access, Automation, and Collaboration for teams developing IoT systems
§ Provision, manage, and run all of your team’s development assets in the cloud: § Virtual Boards § Trace § Scripts § Configurations for System of Systems
§ Automate debugging and testing. Inject faults to stress end-to-end IoT systems.
§ Checkpoints: Share system state between sites, teams, customers, and ecosystems.
Lab Cloud App Cloud
© 2015 Wind River. All Rights Reserved. 6
Device Cloud
APP
7 © 2015 Wind River. All Rights Reserved.
Helix App Cloud Overview Customize deployed devices and manage the entire IoT Lifecycle
§ Customize deployed devices over time to adapt or extract more value based on data insights
§ Move applications across various devices and deploy them easily
§ Complex platform requirements are abstracted in the form of an SDK
§ App Cloud also eliminates the need for proximity to physical devices
© 2015 Wind River. All Rights Reserved. 7
Lab Cloud App Cloud Device Cloud
APP
8 © 2015 Wind River. All Rights Reserved.
Helix Device Cloud Overview Closed-loop device manageability from provisioning to EOL
§ Dynamically manage device capabilities throughout the product lifecycle from secure provisioning to post deployment updates, recovery, and device decommissioning
§ Monitor device health to accurately predict maintenance schedules to in order to prevent downtime
§ Close the “last inch” - facilitate data collection from the device, analyze the data and send commands back to the device based on analysis
§ Yield actionable insights to drive business decisions
© 2015 Wind River. All Rights Reserved. 8
Lab Cloud App Cloud Device Cloud
APP
9 © 2015 Wind River. All Rights Reserved.
Salesforce Integration
§ Polling model from Salesforce § Models defined in Salesforce
§ Run on Heroku – Code in Scala
§ Heroku – Reads JSON from Axeda – Transforms data and sends to Salesforce
Cloud (Data Hosting)
10 © 2015 Wind River. All Rights Reserved.
Salesforce Objects
11 © 2015 Wind River. All Rights Reserved.
Heroku App
§ Generic bridge Heroku app (written in Scala) – Polls cloud service for new data, then sends to Salesforce
§ User sets up a connection to both cloud and Salesforce § Application’s configuration defined by a user-friendly dashboard
12 © 2015 Wind River. All Rights Reserved.
Summary
§ Think end-to-end – Device configuration – Device to cloud – Cloud to Salesforce integration
developer.salesforce.com/trailhead
14 © 2015 Wind River. All Rights Reserved.
Appendix
15 © 2015 Wind River. All Rights Reserved.
Heroku Internals
§ Install the Heroku toolbelt.
§ Log in to Heroku account. $ heroku login
§ Clone the repository. $ heroku git:clone -a wrpoc1-axeda $ cd wrpoc1-axeda
§ Deploy your changes. $ git add . $ git commit -am “added temperature” $ git push heroku master