SlideShare a Scribd company logo
1 of 10
Download to read offline
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

More Related Content

More from 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
 

More from 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
 

Recently uploaded

On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝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
 
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
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
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
 
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
 
'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
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Onlineanilsa9823
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.soniya singh
 
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
 

Recently uploaded (20)

On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
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
 
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.
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
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
 
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...
 
'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...
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
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...
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
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
 

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