and the Social
Internet of Things
QUANTIFIED SELF
Werner Keil
@wernerkeil
M2M SUMMIT
2017
2 © 2012-2017 Creative Arts & Technologies
Overview
• Introduction
• Quantified Self
• m-Health
• Fitness Devices and Smart Watches
• Health and Fitness Portals
• Standards
Werner Keil | Bio
• Consultant – Coach
• Creative Cosmopolitan
• Software Architect
• Java Godfather
• JCP Executive Committee Member
• Unit JSR (363) Maintenance Lead
• Agorava Cofounder
• IoT | DevOps Guy
@wernerkeil
4 © 2012-2017 Creative Arts & Technologies, Eclipse Foundation. Made available under EPL 1.0
Internet of Things
Transportation & Logistics
Logistics
Medical &
Healthcare
Industrial &
EnergyCommunication
Infrastructure
Security & Surveillance
Internet

of Things
5 © 2012-2017 Creative Arts & Technologies
Quantified Self
6 © 2012-2017 Creative Arts & Technologies, Eclipse Foundation. Made available under EPL 1.0
IoT | Health /Fitness
Communication
Infrastructure
Smart
Pill
Boxes
Heartbeat
Sensor
Weight
Scales
Blood
Pressure
Medical
Smart
Services
Gateway
Near field
Blood
Sugar
Internet

of Things
7 © 2012-2017 Creative Arts & Technologies
• Heart Monitor
– Remotely accessible

from devices like 

Google Glass or your

favorite Mobile Browser
• Part of Java Embedded

Challenge at JavaOne
Heart of Glass
JavaOne 2013
8 © 2012-2017 Creative Arts & Technologies
• Raspberry Pi | Things API | Unit-API
• RXTX (gnu.io)
• Polar Heart Sensor
• Java EE | HTML 5 (Tomcat/Glassfish)
• Google Glass (preferred) or other Web-
enabled Mobile devices
Heart of Glass Internal
Technologies we used
9 © 2012-2017 Creative Arts & Technologies
Rise of the Machines
Image: HDWallpaperImages.com
10 © 2012-2017 Creative Arts & Technologies
Wearable Market
11 © 2012-2017 Creative Arts & Technologies
Wearable Stagnation
12 © 2012-2017 Creative Arts & Technologies
Smartwatch
Bild: L'Atelier
13 © 2012-2017 Creative Arts & Technologies
Top Smartwatch OS
Source: Mobile Scout
14 © 2012-2017 Creative Arts & Technologies
Device Comparison
Device/Vendor Compatibility Data Control Remarks
Apple Only Apple products/OS -1
Fitbit Windows, Mac, Android, iOS 0 Allergy issue with some wristbands
Xiaomi Android, iOS -2
Garmin Windows, Mac, Android, iOS +2
Jawbone iOS -2 Charging problems
LG Android -2
Motorola Android -2
Polar Windows, Mac +1
Samsung Mostly Samsung products -2
Sony Android -2
Suunto Windows, Mac, Android, iOS +2
Nokia Android, iOS 0
15 © 2012-2017 Creative Arts & Technologies
Health Portals
Image: HealthDay
16 © 2012-2017 Creative Arts & Technologies
Apple Health
Image: Apple
17 © 2012-2017 Creative Arts & Technologies
Fitbit
Image: fitbit
18 © 2012-2017 Creative Arts & Technologies
Google Fit
Image: Google
19 © 2012-2017 Creative Arts & Technologies
Runtastic
Image: Runtastic
20 © 2012-2017 Creative Arts & Technologies
RunKeeper
Bild: RuntKeeper
21 © 2012-2017 Creative Arts & Technologies
Strava
Image: Singletrack Magazine
22 © 2012-2017 Creative Arts & Technologies
Portal Comparison
Portal API Compatibility Data Control Remarks
Apple Health Yes Mostly Apple products -1
Fitbit Yes Windows, Mac, Android, iOS 0
Garmin Via Strava Windows, Mac +2
Google Fit Yes Mostly Android devices -3 Multi-vendor/device
Jawbone ? Only iOS -1
Misfit Yes
Polar No Windows, Mac, Linux +1
Runtastic No Device-dependent 0 Multi-vendor/device
Samsung ? Only Samsung products -2
Strava Yes Device-dependent 0 Multi-vendor/device
Suunto Via Strava Windows, Mac +2
Nokia Yes Windows, Mac, Android, iOS 0 Formerly Withings
Xiaomi No - - No real portal, just device shop
23 © 2012-2017 Creative Arts & Technologies
Top 10 APIs
Portal Trend Link
Apple Health ++  http://www.programmableweb.com/api/apple-healthkit
Fitbit + http://www.programmableweb.com/api/fitbit
RunKeeper Graph + http://www.programmableweb.com/api/runkeeper-health-graph
Nokia/Withings - http://www.programmableweb.com/api/withings
Misfit + https://www.programmableweb.com/api/misfit
Google Fit + http://www.programmableweb.com/api/google-fit-rest
Jawbone Up - http://www.programmableweb.com/api/jawbone
MapMyFitness + http://www.programmableweb.com/api/mapmyfitness
Moves - http://www.programmableweb.com/api/moves
Nike+ - http://www.programmableweb.com/api/nike-plus
Wahoo Fitness - http://www.programmableweb.com/api/wahoo-fitness
Xiaomi --- No API
Quelle: Programmable Web
Demo
“A coordinated observation infrastructure composed of a distributed
collection of resources that can collectively behave as a single, autonomous,
task-able, dynamically adaptive and reconfigurable observing system that
provides raw and processed data, along with associated meta-data, via a set
of standards-based service-oriented interfaces.” (Glenn, 2007)
Sensor Web | What is it?
25
OGC Sensor Web Enablement
• SensorML
• O&M
• TransducerML
• GeographyML
Web Services
• Web Services Description Language
• REST
National Institute for Standards
and Technology
• Semantic Interoperability Community

of Practice
• Sensor Standards Harmonization
W3C Semantic Web
• Resource Description Framework
• RDF Schema
• Web Ontology Language
• Semantic Web Rule Language
• SAWSDL
• SA-REST
• SML-S
• O&M-S
• TML-S
Sensor
Ontology
Sensor
Ontology
Unicode Consortium
• CLDR
• ICU4J
Units
UCUM/Regenstrief
• Unified Code for Units of Measure
26
Data Standards
Conclusion
• Device manufacturers and API providers do not
always support developers well
– Sometimes high costs for certification and license
fees before development may even start
– APIs often tailored for Desktop or iOS/Android.
Web use can be problematic
– Bot- or Malware Blockers can misunderstand
legitimate apps as potential intruders
– Software and data quality with some vendors
– „OAuth Hell“
27
Links
• Creative Arts & Technologies

http://www.catmedia.us
• UOM @ GitHub: 

http://unitsofmeasurement.github.io
• Agorava:

http://www.agorava.org
• Twitter: @wernerkeil
28

Quantified Self and the Social Internet of Things

  • 1.
    and the Social Internetof Things QUANTIFIED SELF Werner Keil @wernerkeil M2M SUMMIT 2017
  • 2.
    2 © 2012-2017Creative Arts & Technologies Overview • Introduction • Quantified Self • m-Health • Fitness Devices and Smart Watches • Health and Fitness Portals • Standards
  • 3.
    Werner Keil |Bio • Consultant – Coach • Creative Cosmopolitan • Software Architect • Java Godfather • JCP Executive Committee Member • Unit JSR (363) Maintenance Lead • Agorava Cofounder • IoT | DevOps Guy @wernerkeil
  • 4.
    4 © 2012-2017Creative Arts & Technologies, Eclipse Foundation. Made available under EPL 1.0 Internet of Things Transportation & Logistics Logistics Medical & Healthcare Industrial & EnergyCommunication Infrastructure Security & Surveillance Internet
 of Things
  • 5.
    5 © 2012-2017Creative Arts & Technologies Quantified Self
  • 6.
    6 © 2012-2017Creative Arts & Technologies, Eclipse Foundation. Made available under EPL 1.0 IoT | Health /Fitness Communication Infrastructure Smart Pill Boxes Heartbeat Sensor Weight Scales Blood Pressure Medical Smart Services Gateway Near field Blood Sugar Internet
 of Things
  • 7.
    7 © 2012-2017Creative Arts & Technologies • Heart Monitor – Remotely accessible
 from devices like 
 Google Glass or your
 favorite Mobile Browser • Part of Java Embedded
 Challenge at JavaOne Heart of Glass JavaOne 2013
  • 8.
    8 © 2012-2017Creative Arts & Technologies • Raspberry Pi | Things API | Unit-API • RXTX (gnu.io) • Polar Heart Sensor • Java EE | HTML 5 (Tomcat/Glassfish) • Google Glass (preferred) or other Web- enabled Mobile devices Heart of Glass Internal Technologies we used
  • 9.
    9 © 2012-2017Creative Arts & Technologies Rise of the Machines Image: HDWallpaperImages.com
  • 10.
    10 © 2012-2017Creative Arts & Technologies Wearable Market
  • 11.
    11 © 2012-2017Creative Arts & Technologies Wearable Stagnation
  • 12.
    12 © 2012-2017Creative Arts & Technologies Smartwatch Bild: L'Atelier
  • 13.
    13 © 2012-2017Creative Arts & Technologies Top Smartwatch OS Source: Mobile Scout
  • 14.
    14 © 2012-2017Creative Arts & Technologies Device Comparison Device/Vendor Compatibility Data Control Remarks Apple Only Apple products/OS -1 Fitbit Windows, Mac, Android, iOS 0 Allergy issue with some wristbands Xiaomi Android, iOS -2 Garmin Windows, Mac, Android, iOS +2 Jawbone iOS -2 Charging problems LG Android -2 Motorola Android -2 Polar Windows, Mac +1 Samsung Mostly Samsung products -2 Sony Android -2 Suunto Windows, Mac, Android, iOS +2 Nokia Android, iOS 0
  • 15.
    15 © 2012-2017Creative Arts & Technologies Health Portals Image: HealthDay
  • 16.
    16 © 2012-2017Creative Arts & Technologies Apple Health Image: Apple
  • 17.
    17 © 2012-2017Creative Arts & Technologies Fitbit Image: fitbit
  • 18.
    18 © 2012-2017Creative Arts & Technologies Google Fit Image: Google
  • 19.
    19 © 2012-2017Creative Arts & Technologies Runtastic Image: Runtastic
  • 20.
    20 © 2012-2017Creative Arts & Technologies RunKeeper Bild: RuntKeeper
  • 21.
    21 © 2012-2017Creative Arts & Technologies Strava Image: Singletrack Magazine
  • 22.
    22 © 2012-2017Creative Arts & Technologies Portal Comparison Portal API Compatibility Data Control Remarks Apple Health Yes Mostly Apple products -1 Fitbit Yes Windows, Mac, Android, iOS 0 Garmin Via Strava Windows, Mac +2 Google Fit Yes Mostly Android devices -3 Multi-vendor/device Jawbone ? Only iOS -1 Misfit Yes Polar No Windows, Mac, Linux +1 Runtastic No Device-dependent 0 Multi-vendor/device Samsung ? Only Samsung products -2 Strava Yes Device-dependent 0 Multi-vendor/device Suunto Via Strava Windows, Mac +2 Nokia Yes Windows, Mac, Android, iOS 0 Formerly Withings Xiaomi No - - No real portal, just device shop
  • 23.
    23 © 2012-2017Creative Arts & Technologies Top 10 APIs Portal Trend Link Apple Health ++  http://www.programmableweb.com/api/apple-healthkit Fitbit + http://www.programmableweb.com/api/fitbit RunKeeper Graph + http://www.programmableweb.com/api/runkeeper-health-graph Nokia/Withings - http://www.programmableweb.com/api/withings Misfit + https://www.programmableweb.com/api/misfit Google Fit + http://www.programmableweb.com/api/google-fit-rest Jawbone Up - http://www.programmableweb.com/api/jawbone MapMyFitness + http://www.programmableweb.com/api/mapmyfitness Moves - http://www.programmableweb.com/api/moves Nike+ - http://www.programmableweb.com/api/nike-plus Wahoo Fitness - http://www.programmableweb.com/api/wahoo-fitness Xiaomi --- No API Quelle: Programmable Web
  • 24.
  • 25.
    “A coordinated observationinfrastructure composed of a distributed collection of resources that can collectively behave as a single, autonomous, task-able, dynamically adaptive and reconfigurable observing system that provides raw and processed data, along with associated meta-data, via a set of standards-based service-oriented interfaces.” (Glenn, 2007) Sensor Web | What is it? 25
  • 26.
    OGC Sensor WebEnablement • SensorML • O&M • TransducerML • GeographyML Web Services • Web Services Description Language • REST National Institute for Standards and Technology • Semantic Interoperability Community
 of Practice • Sensor Standards Harmonization W3C Semantic Web • Resource Description Framework • RDF Schema • Web Ontology Language • Semantic Web Rule Language • SAWSDL • SA-REST • SML-S • O&M-S • TML-S Sensor Ontology Sensor Ontology Unicode Consortium • CLDR • ICU4J Units UCUM/Regenstrief • Unified Code for Units of Measure 26 Data Standards
  • 27.
    Conclusion • Device manufacturersand API providers do not always support developers well – Sometimes high costs for certification and license fees before development may even start – APIs often tailored for Desktop or iOS/Android. Web use can be problematic – Bot- or Malware Blockers can misunderstand legitimate apps as potential intruders – Software and data quality with some vendors – „OAuth Hell“ 27
  • 28.
    Links • Creative Arts& Technologies
 http://www.catmedia.us • UOM @ GitHub: 
 http://unitsofmeasurement.github.io • Agorava:
 http://www.agorava.org • Twitter: @wernerkeil 28