Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Integrating Consumer IoT 
Devices Into Business 
Workflow 
by Yakov Fain, Farata Systems
Farata Systems and SuranceBay 
http://easy.insure 
http://surancebay.com
Things are Sensors, 
IoT - Connected Sensors
Yesterday’s Sensors 
• 18 years ago. Telephony. 
• I’ve been programming IoT! 
• Do I want to program sensors again?
Today’s Sensors 
SCIO: a molecular sensor that scans physical objects and 
receives instant information to your smartphone...
Today’s sensors: Navdy 
integrates a sensor with smartphone 
https://www.navdy.com
Tomorrow: Streachable Wearables 
epidermal electronics 
Source: http://bit.ly/1uu0srr
Typical Consumer Device Setup 
Smartphone 
Device 
Manufacturer’s 
Server 
Device
How to get involved with IoT? 
Going after thousands of vendors of things? 
Which protocols: MQTP, XMPP, CoAP? 
Buy Raspbe...
How to get involved with IoT? 
Creating an exensive cloud-based IoT 
platform
How to get involved with IoT? 
Create custom-made solutions 
integrating things into an existing 
business workflow.
Why?
Why? 
Manual Data Entry
Enterprise IoT is about 
automation of collecting and 
processing data required in 
the business workflow.
What we’re working on 
• integrating consumer devices into insurance business 
workflow 
• leveraging existing software te...
Things Oriented Middleware (TOM) 
• Build a layer in the middle of things. 
• Use consumer things in enterprise applicatio...
Medical Examiner’s Report
Medical Examiner’s Report 
Removing Manual Entry
Fitbit: Typical Workflow 
fitbit.com 
XYZ protocol 
XYZ protocol
Fitbit: Typical Workflow 
fitbit.com 
XYZ protocol 
XYZ protocol 
What’s XYZ?
Fitbit: Typical Workflow 
fitbit.com 
XYZ protocol 
XYZ protocol 
What’s XYZ? 
Do we need to know?
What do we use for Integration 
• RESTful Web services 
• OAuth authentication 
• WebSocket protocol 
• JSON data format 
...
What do we use for integration 
• RESTful Web services 
• OAuth authentication 
• WebSocket protocol 
• JSON data format 
...
Use case: Integrating Scale and Blood Pressure Monitor 
into insurance workflow 
IHealth Blood 
Pressure Monitor 
Fitbit S...
Integrating With Fitbit Scale: Take 1. 
fitbit.com 
My Front-End App 
HTTP/Rest API 
Weight:
Integrating With Fitbit Scale: Take 2. 
fitbit.com 
HTTP/Rest API 
My Front-End App 
Weight: 
My Server 
Data push Polling...
Integrating With Fitbit and iHealthLabs. 
fitbit.com 
Weight: 
iHealthLabs.com 
HTTP/ 
Rest API 
Blood Pressure: 
HTTP/Res...
Adding OAuth Authentication 
fitbit.com 
My Front-End App 
Weight: 
iHealthLabs.com 
HTTP/ 
Rest API 
Blood Pressure: 
HTT...
OAuth: Authorization Check Delegation
The OAuth Workflow 
• My company builds an app to use the thing’s API (e.g. with REST )
The OAuth Workflow 
• My company builds an app to use the thing’s API (e.g. with REST ) 
• My company registers the app wi...
The OAuth Workflow 
• My company builds an app to use the thing’s API (e.g. with REST ) 
• My company registers the app wi...
The OAuth Workflow 
• My company builds an app to use the thing’s API (e.g. with REST ) 
• My company registers the app wi...
The OAuth Workflow 
• My company builds an app to use the thing’s API (e.g. with REST ) 
• My company registers the app wi...
The OAuth Workflow 
• My company builds an app to use the thing’s API (e.g. with REST ) 
• My company registers the app wi...
© 2014 Farata Systems 
What’s WebSocket 
• Standardized full-duplex low overhead protocol. 
• Client-side API: Web browser...
What about security? 
• We don’t deal with security between the thing and its 
vendor. 
• Our apps are as as secure as any...
Demo: removingmanual entry of blood 
pressure and weight measurements.
Contact Info and Links 
• email: yfain@faratasystems.com" 
• Farata Systems: faratasystems.com" 
• SuranceBay: surancebay....
Integrating consumers IoT devices into Business Workflow
Upcoming SlideShare
Loading in …5
×

Integrating consumers IoT devices into Business Workflow

1,815 views

Published on

From the software development perspective IoT is about programming "things", connecting them with each other and integrating them with existing applications. This presentation will demonstrate how IoT-enabled devices from multiple manufacturers can be integrated into a workflow of a business application. You'll see a live demo of using commercial consumer devices as a part of an application that utilizes such technologies such as REST API, OAuth, Websockets, and Java. This presentation will give you an idea of how to go about integration of new devices as they become available on the market.

Published in: Internet
  • Be the first to comment

Integrating consumers IoT devices into Business Workflow

  1. 1. Integrating Consumer IoT Devices Into Business Workflow by Yakov Fain, Farata Systems
  2. 2. Farata Systems and SuranceBay http://easy.insure http://surancebay.com
  3. 3. Things are Sensors, IoT - Connected Sensors
  4. 4. Yesterday’s Sensors • 18 years ago. Telephony. • I’ve been programming IoT! • Do I want to program sensors again?
  5. 5. Today’s Sensors SCIO: a molecular sensor that scans physical objects and receives instant information to your smartphone. http://www.consumerphysics.com/
  6. 6. Today’s sensors: Navdy integrates a sensor with smartphone https://www.navdy.com
  7. 7. Tomorrow: Streachable Wearables epidermal electronics Source: http://bit.ly/1uu0srr
  8. 8. Typical Consumer Device Setup Smartphone Device Manufacturer’s Server Device
  9. 9. How to get involved with IoT? Going after thousands of vendors of things? Which protocols: MQTP, XMPP, CoAP? Buy Raspberry Pi or Arduino? Learn HomeKit and HealthKit from Apple?
  10. 10. How to get involved with IoT? Creating an exensive cloud-based IoT platform
  11. 11. How to get involved with IoT? Create custom-made solutions integrating things into an existing business workflow.
  12. 12. Why?
  13. 13. Why? Manual Data Entry
  14. 14. Enterprise IoT is about automation of collecting and processing data required in the business workflow.
  15. 15. What we’re working on • integrating consumer devices into insurance business workflow • leveraging existing software technologies • creating a standard-based application layer that connects things
  16. 16. Things Oriented Middleware (TOM) • Build a layer in the middle of things. • Use consumer things in enterprise applications. " • Side benefit: being in the middle allows having valuable data for analisys.
  17. 17. Medical Examiner’s Report
  18. 18. Medical Examiner’s Report Removing Manual Entry
  19. 19. Fitbit: Typical Workflow fitbit.com XYZ protocol XYZ protocol
  20. 20. Fitbit: Typical Workflow fitbit.com XYZ protocol XYZ protocol What’s XYZ?
  21. 21. Fitbit: Typical Workflow fitbit.com XYZ protocol XYZ protocol What’s XYZ? Do we need to know?
  22. 22. What do we use for Integration • RESTful Web services • OAuth authentication • WebSocket protocol • JSON data format • Java servers • HTML5/JavaScript
  23. 23. What do we use for integration • RESTful Web services • OAuth authentication • WebSocket protocol • JSON data format • Java servers • HTML5/JavaScript Our recent book
  24. 24. Use case: Integrating Scale and Blood Pressure Monitor into insurance workflow IHealth Blood Pressure Monitor Fitbit Scale Aria
  25. 25. Integrating With Fitbit Scale: Take 1. fitbit.com My Front-End App HTTP/Rest API Weight:
  26. 26. Integrating With Fitbit Scale: Take 2. fitbit.com HTTP/Rest API My Front-End App Weight: My Server Data push Polling/Pub-Sub via WebSocket
  27. 27. Integrating With Fitbit and iHealthLabs. fitbit.com Weight: iHealthLabs.com HTTP/ Rest API Blood Pressure: HTTP/Rest API Data push via WebSocket My Front-End App My Server
  28. 28. Adding OAuth Authentication fitbit.com My Front-End App Weight: iHealthLabs.com HTTP/ Rest API Blood Pressure: HTTP/Rest API Secret+key from each device vendor My Server Data push via WebSocket
  29. 29. OAuth: Authorization Check Delegation
  30. 30. The OAuth Workflow • My company builds an app to use the thing’s API (e.g. with REST )
  31. 31. The OAuth Workflow • My company builds an app to use the thing’s API (e.g. with REST ) • My company registers the app with the thing’s vendor and receives an id and a secret.
  32. 32. The OAuth Workflow • My company builds an app to use the thing’s API (e.g. with REST ) • My company registers the app with the thing’s vendor and receives an id and a secret. • The thing’s owner opens my app and logs into thing’s vendor site.
  33. 33. The OAuth Workflow • My company builds an app to use the thing’s API (e.g. with REST ) • My company registers the app with the thing’s vendor and receives an id and a secret. • The thing’s owner opens the my app and logs into thing’s vendor site. • My app receives temp credentials from the thing’s vendor and the user has to authorize my app.
  34. 34. The OAuth Workflow • My company builds an app to use the thing’s API (e.g. with REST ) • My company registers the app with the thing’s vendor and receives an id and a secret. • The thing’s owner opens my app and logs into thing’s vendor site. • My app receives temp credentials from the thing’s vendor and the user has to authorize my app. • The vendor redirects the user to my app and provides the authorization token.
  35. 35. The OAuth Workflow • My company builds an app to use the thing’s API (e.g. with REST ) • My company registers the app with the thing’s vendor and receives an id and a secret. • The thing’s owner opens the my app and logs into thing’s vendor site. • My app receives temp credentials from the thing’s vendor and the user has to authorize my app. • The vendor redirects the user to my app and provides the authorization token. • My app uses the token for all requests to the thing’s vendor.
  36. 36. © 2014 Farata Systems What’s WebSocket • Standardized full-duplex low overhead protocol. • Client-side API: Web browsers come with window.WebSocket object. • Server-side API: we use Java EE 7 servers
  37. 37. What about security? • We don’t deal with security between the thing and its vendor. • Our apps are as as secure as any other app that uses OAuth/REST services.
  38. 38. Demo: removingmanual entry of blood pressure and weight measurements.
  39. 39. Contact Info and Links • email: yfain@faratasystems.com" • Farata Systems: faratasystems.com" • SuranceBay: surancebay.com" • Find and rate insurance agents: easy.insure " • Twitter: @yfain" • Personal blog: yakovfain.com

×