SlideShare une entreprise Scribd logo
1  sur  10
Télécharger pour lire hors ligne
Sending Android Wear Sensor data to
The Internet of Things
using MQTT
Markus van Kempen
E: mvk@ca.ibm.com
T: @markusvankempen
Goal – sending Android Wear Sensor Data like heart rate
or StepCounter in the IOT Cloud
Internet
MQTT Publish
Hosts messages
IoT Cloud / MQTT BrokerAndroid
Visualization
On Laptop
Sending Android Wear Sensor data to The Internet of Things
- My Heart rate on IOT
{"evt_type":
"status","timestamp":{},
"evt":{
"myName":"MOTO",
"Sensor":21,"Gx":0,"Gy":0,"Gz":0
,
"HEART_RATE":63,
"STEP_COUNTER":0}}
Google
DATA
Layer
Prerequisite (1)
Enable debugging over Bluetooth on Android and Wear
https://developer.android.com/training/wearables/apps/bt-debugging.html
Hit the build number 7 times
For code deployment and to display debugging message in Studio
Prerequisite (2)
Use the Android Wear App and enable debugging
Use adb to connect to Wear over Bluetooth
adb forward tcp:4444 localabstract:/adb-hub
adb connect localhost:4444
adb devices
List of devices attached
038bc79709477f0e device
localhost:4444 device
c:Android-adb>
Register on IBM IOT and/or Bluemix
https://console.ng.bluemix.net/
https://internetofthings.ibmcloud.com/
Register your Android Wear Device on IOT
Note Down the registration Information:
org=YourOrg
Type=MOTO
id=112233445566778
auth-method=token
auth-token=YourOrg
This we need to add in our App to send the data to IOT
Register a API keys for your clients
The information is your for your client like paho
Or the IOT visualization Tool
Key: a-org-xdrajazsgw
Auth Token: qTiclF-6nBjDt!rxRQ
Android Studio to deploy the Sample App for Phone and AndriodWear
Markus van Kempen – EA Architect
Innovating with People and Technology
email: mvk@ca.ibm.com
Twitter: @markusvankempen
Hashtag: #MVK
References
IOT Visualization
https://developer.ibm.com/iot/recipes/visualize-data/
Paho: client
https://eclipse.org/paho/
Code:
https://github.com/pocmo/SensorDashboard (example app base)
https://github.com/markusvankempen/SensorDashboard-mqtt (code with mqtt client)
YouTube:
http://youtu.be/6UYPD5uMZRE

Contenu connexe

Plus de Markus Van Kempen

SNP STEAM Academy 2017 Class #1
SNP STEAM Academy 2017 Class #1SNP STEAM Academy 2017 Class #1
SNP STEAM Academy 2017 Class #1Markus Van Kempen
 
Using Alexa, IFTTT and Watson IoT Platform to control ble devices
Using Alexa, IFTTT and Watson IoT Platform to control ble devicesUsing Alexa, IFTTT and Watson IoT Platform to control ble devices
Using Alexa, IFTTT and Watson IoT Platform to control ble devicesMarkus Van Kempen
 
Watson IoT @Ryerson University - IEEE Chapter
Watson IoT  @Ryerson University - IEEE Chapter  Watson IoT  @Ryerson University - IEEE Chapter
Watson IoT @Ryerson University - IEEE Chapter Markus Van Kempen
 
Playbulb Candle & Watson IoT Platform using Watson APIs and Twitter
Playbulb Candle & Watson IoT Platform using Watson APIs and TwitterPlaybulb Candle & Watson IoT Platform using Watson APIs and Twitter
Playbulb Candle & Watson IoT Platform using Watson APIs and TwitterMarkus Van Kempen
 
Drone Payloader using a Servo and a Raspberry Pi
Drone Payloader using a Servo and a Raspberry Pi Drone Payloader using a Servo and a Raspberry Pi
Drone Payloader using a Servo and a Raspberry Pi Markus Van Kempen
 
LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...
LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...
LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...Markus Van Kempen
 
How to use IoT data with Watson SpeechToText, TextToSpeech and NLC to query ...
How to use IoT data with  Watson SpeechToText, TextToSpeech and NLC to query ...How to use IoT data with  Watson SpeechToText, TextToSpeech and NLC to query ...
How to use IoT data with Watson SpeechToText, TextToSpeech and NLC to query ...Markus Van Kempen
 
Connecting everything to the Internet of Things - even a TPR
Connecting everything to the Internet of Things - even a TPRConnecting everything to the Internet of Things - even a TPR
Connecting everything to the Internet of Things - even a TPRMarkus Van Kempen
 
IoT Demo using Maps and Sensor Data
IoT Demo using Maps and Sensor DataIoT Demo using Maps and Sensor Data
IoT Demo using Maps and Sensor DataMarkus Van Kempen
 
Simple Internet of Things (IoT) game with Bluemix and Node-Red
Simple Internet of Things (IoT)  game with Bluemix and Node-RedSimple Internet of Things (IoT)  game with Bluemix and Node-Red
Simple Internet of Things (IoT) game with Bluemix and Node-RedMarkus Van Kempen
 
iBeacons / Beacons and Presence use cases and examples (part 1)
iBeacons / Beacons and Presence use cases and examples (part 1)iBeacons / Beacons and Presence use cases and examples (part 1)
iBeacons / Beacons and Presence use cases and examples (part 1)Markus Van Kempen
 
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015Markus Van Kempen
 
Tec118 Teched2015 IOT use case and examples
Tec118 Teched2015 IOT use case and examplesTec118 Teched2015 IOT use case and examples
Tec118 Teched2015 IOT use case and examplesMarkus Van Kempen
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDEMarkus Van Kempen
 
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...Markus Van Kempen
 
SAP Portal and Second Level Authentication Implementation for ESS Paystub
SAP Portal and Second Level Authentication Implementation for ESS PaystubSAP Portal and Second Level Authentication Implementation for ESS Paystub
SAP Portal and Second Level Authentication Implementation for ESS PaystubMarkus Van Kempen
 
SAP Portal Role-Based Navigation Models for Different Countries and Languages.
SAP Portal Role-Based Navigation Models for Different Countries and Languages.SAP Portal Role-Based Navigation Models for Different Countries and Languages.
SAP Portal Role-Based Navigation Models for Different Countries and Languages.Markus Van Kempen
 
Experience with Google Glass and Business Applications
Experience with Google Glass and Business ApplicationsExperience with Google Glass and Business Applications
Experience with Google Glass and Business ApplicationsMarkus Van Kempen
 

Plus de Markus Van Kempen (20)

World of Watson HandsOnLab
World of Watson HandsOnLabWorld of Watson HandsOnLab
World of Watson HandsOnLab
 
SNP STEAM Academy 2017 Class #1
SNP STEAM Academy 2017 Class #1SNP STEAM Academy 2017 Class #1
SNP STEAM Academy 2017 Class #1
 
Using Alexa, IFTTT and Watson IoT Platform to control ble devices
Using Alexa, IFTTT and Watson IoT Platform to control ble devicesUsing Alexa, IFTTT and Watson IoT Platform to control ble devices
Using Alexa, IFTTT and Watson IoT Platform to control ble devices
 
Watson IoT @Ryerson University - IEEE Chapter
Watson IoT  @Ryerson University - IEEE Chapter  Watson IoT  @Ryerson University - IEEE Chapter
Watson IoT @Ryerson University - IEEE Chapter
 
Playbulb Candle & Watson IoT Platform using Watson APIs and Twitter
Playbulb Candle & Watson IoT Platform using Watson APIs and TwitterPlaybulb Candle & Watson IoT Platform using Watson APIs and Twitter
Playbulb Candle & Watson IoT Platform using Watson APIs and Twitter
 
Drone Payloader using a Servo and a Raspberry Pi
Drone Payloader using a Servo and a Raspberry Pi Drone Payloader using a Servo and a Raspberry Pi
Drone Payloader using a Servo and a Raspberry Pi
 
LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...
LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...
LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not ye...
 
How to use IoT data with Watson SpeechToText, TextToSpeech and NLC to query ...
How to use IoT data with  Watson SpeechToText, TextToSpeech and NLC to query ...How to use IoT data with  Watson SpeechToText, TextToSpeech and NLC to query ...
How to use IoT data with Watson SpeechToText, TextToSpeech and NLC to query ...
 
Connecting everything to the Internet of Things - even a TPR
Connecting everything to the Internet of Things - even a TPRConnecting everything to the Internet of Things - even a TPR
Connecting everything to the Internet of Things - even a TPR
 
IoT Demo using Maps and Sensor Data
IoT Demo using Maps and Sensor DataIoT Demo using Maps and Sensor Data
IoT Demo using Maps and Sensor Data
 
Simple Internet of Things (IoT) game with Bluemix and Node-Red
Simple Internet of Things (IoT)  game with Bluemix and Node-RedSimple Internet of Things (IoT)  game with Bluemix and Node-Red
Simple Internet of Things (IoT) game with Bluemix and Node-Red
 
iBeacons / Beacons and Presence use cases and examples (part 1)
iBeacons / Beacons and Presence use cases and examples (part 1)iBeacons / Beacons and Presence use cases and examples (part 1)
iBeacons / Beacons and Presence use cases and examples (part 1)
 
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
 
Tec118 Teched2015 IOT use case and examples
Tec118 Teched2015 IOT use case and examplesTec118 Teched2015 IOT use case and examples
Tec118 Teched2015 IOT use case and examples
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
 
Iss Location to IoTF
Iss Location to IoTFIss Location to IoTF
Iss Location to IoTF
 
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
 
SAP Portal and Second Level Authentication Implementation for ESS Paystub
SAP Portal and Second Level Authentication Implementation for ESS PaystubSAP Portal and Second Level Authentication Implementation for ESS Paystub
SAP Portal and Second Level Authentication Implementation for ESS Paystub
 
SAP Portal Role-Based Navigation Models for Different Countries and Languages.
SAP Portal Role-Based Navigation Models for Different Countries and Languages.SAP Portal Role-Based Navigation Models for Different Countries and Languages.
SAP Portal Role-Based Navigation Models for Different Countries and Languages.
 
Experience with Google Glass and Business Applications
Experience with Google Glass and Business ApplicationsExperience with Google Glass and Business Applications
Experience with Google Glass and Business Applications
 

Dernier

Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Standkumarajju5765
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...SUHANI PANDEY
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...SUHANI PANDEY
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls DubaiEscorts Call Girls
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLimonikaupta
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceDelhi Call girls
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Dernier (20)

Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 

Sending Android Wear Sensor data to The Internet of Things

  • 1. Sending Android Wear Sensor data to The Internet of Things using MQTT Markus van Kempen E: mvk@ca.ibm.com T: @markusvankempen
  • 2. Goal – sending Android Wear Sensor Data like heart rate or StepCounter in the IOT Cloud
  • 3. Internet MQTT Publish Hosts messages IoT Cloud / MQTT BrokerAndroid Visualization On Laptop Sending Android Wear Sensor data to The Internet of Things - My Heart rate on IOT {"evt_type": "status","timestamp":{}, "evt":{ "myName":"MOTO", "Sensor":21,"Gx":0,"Gy":0,"Gz":0 , "HEART_RATE":63, "STEP_COUNTER":0}} Google DATA Layer
  • 4. Prerequisite (1) Enable debugging over Bluetooth on Android and Wear https://developer.android.com/training/wearables/apps/bt-debugging.html Hit the build number 7 times For code deployment and to display debugging message in Studio
  • 5. Prerequisite (2) Use the Android Wear App and enable debugging Use adb to connect to Wear over Bluetooth adb forward tcp:4444 localabstract:/adb-hub adb connect localhost:4444 adb devices List of devices attached 038bc79709477f0e device localhost:4444 device c:Android-adb>
  • 6. Register on IBM IOT and/or Bluemix https://console.ng.bluemix.net/ https://internetofthings.ibmcloud.com/ Register your Android Wear Device on IOT Note Down the registration Information: org=YourOrg Type=MOTO id=112233445566778 auth-method=token auth-token=YourOrg This we need to add in our App to send the data to IOT
  • 7. Register a API keys for your clients The information is your for your client like paho Or the IOT visualization Tool Key: a-org-xdrajazsgw Auth Token: qTiclF-6nBjDt!rxRQ
  • 8. Android Studio to deploy the Sample App for Phone and AndriodWear
  • 9. Markus van Kempen – EA Architect Innovating with People and Technology email: mvk@ca.ibm.com Twitter: @markusvankempen Hashtag: #MVK
  • 10. References IOT Visualization https://developer.ibm.com/iot/recipes/visualize-data/ Paho: client https://eclipse.org/paho/ Code: https://github.com/pocmo/SensorDashboard (example app base) https://github.com/markusvankempen/SensorDashboard-mqtt (code with mqtt client) YouTube: http://youtu.be/6UYPD5uMZRE