Improve your health with GEAR4 Renew SleepClock

The GEAR4 Renew SleepClock is a non-contact (no headbands or wristbands) sleep monitor for RunKeeper (@runkeeper) users. Read on to learn how GEAR4 uses the Health Graph API & platform (@healthgraphapi) to add sleep into your health and wellness profile.

Bill Day: Please tell us about yourself and your work.

Shane Dodson: I joined GEAR4 five years ago and have been developing consumer electronics accessories during my time here, mostly docking stations and Bluetooth products. We started to make our products app-enabled around 3 years ago. This also meant we could look beyond the audio products which made up our core range.

I enjoy long distance running and so getting the chance to work with products that measure my health and fitness has been really exciting. I am currently training for my first ultra marathon. Looking at my sleep and running stats helps me to analyse the progress of my training program and also keeps me motivated by sharing the data with some of my training partners. I am trying to observe patterns – for example when I have had periods of very heavy training, do I sleep longer or deeper?

BD: What is the “elevator pitch” for why someone should use Renew SleepClock?

SD: The Renew SleepClock is a wireless sleep monitor that allows you to track, learn, and improve a third of your life you know little about!

Renew uses a sophisticated bio-sensor to wirelessly monitor your sleep. It knows when you’re awake and it knows when you’re asleep. It even knows whether you’re in light or deep sleep. It senses your breathing and movement and wakes you up at the best moment in your sleep cycle so you start the day feeling refreshed and energized. The Renew App lets you track your sleeping patterns from graphs and charts and gives you analysis and recommendations based on your data to help you get the most out of your sleeping life.

Gear4 Renew sleep data in the SleepClock iOS app

BD: How did you get started using the Health Graph API?

SD: When we launched the Renew SleepClock we knew that we had to engage the user, not just to measure their sleep, but to improve their habits so that they could sleep better leading to a healthier life. We knew that we had to look beyond sleep itself and started to look at potential key partnerships. RunKeeper was the obvious choice and that led us to Health Graph platform.

BD: How is using the Health Graph platform benefiting your business?

SD: SleepClock Renew can measure all sorts of details about sleep patterns, influencing factors, and suggestions on how to improve sleep. However we realised that sleep is only one of three important parts of a healthy lifestyle; sleep, diet and exercise. Health Graph platform allows the user to have this more holistic view of their wellness which is essential.

BD: Which portions of the Health Graph API do you use, and why?

SD: We push Sleep Sets to the Health Graph giving you a more complete health picture. The Renew SleepClock measures these details.

BD: What do you like about the Health Graph? What would you like to see changed?

SD: It has very good documentation. We had a request to allow group uploads of sleep data (previously it was only possible to upload a single night’s date). The API has now been changed to enable this.

We post summary statistics. It would be useful to push the underlying raw data. This would allow more interesting graphs about sleep within RunKeeper.

BD: If you could request any new feature from the Health Graph, what would it be? How would you use it?

SD: We sync sleep data with our own cloud-based storage. It would be interesting to look at ways that our cloud could sync directly through the Health Graph platform. This would enable our users and RunKeeper users to have a seamless experience and have even more insight into their sleep patterns.

BD: Can you share any future plans for Renew and Gear4? What’s coming next that customers will be excited about?

SD: We are looking at a second version of the Renew SleepClock which would make this more accessible to a wider user base. We would definitely intend to continue using Health Graph platform for that.

We are also looking at other related products – more on that later this year.

BD: Is there anything else we should know about you, Renew, or Gear4?

SD: At GEAR4, we believe that personal wellness should be accessible to everyone. To that end we created the Renew brand. Leveraging our experience in smartphone accessories we are creating a line of products that help people track, learn and improve their personal well being. The Renew SleepClock is just the beginning. In the coming months and years we are looking to stand out with products that incorporate the latest technology while being affordable and simple.

Bill Day (@billday) is Platform Evangelist & PM for RunKeeper where he helps developers learn about and use the Health Graph.

Advertisements

Health Graph API additions

We’ve made several recent additions to the Health Graph API (@healthgraphapi) based upon partner feedback and requests.

Recently added fields include:

  • source – string added to Fitness Activities, Background Activities, Nutrition, Sleep, Diabetes Measurements, and Weight portions of the Health Graph API; this provides the name of the application that last modified the given activity or measurement; see documentation for details.
  • is_live – boolean added to Fitness Activities to indicate whether the activity is currently being tracked via RunKeeper Live; note that this field will report ‘false‘ until at least one GPS point for the Live activity is received (this should occur immediately upon beginning the Live activity, but may be delayed up to several seconds if it takes longer than normal for GPS hardware to acquire a sufficient GPS signal).
  • userID – integer added to each team member entry from Street Team GET /team response to allow developers to more easily access team member account details (assuming member has authorized the calling app).
  • past activities are now available in a summary form that is more conducive to bandwidth-constrained environments; search for ‘summary’ in the Fitness Activities docs to learn more.
  • blood markers – a number of additional markers have been added to the General Measurements portion of the Health Graph API; for the complete list of what’s now available, please refer to documentation for General Measurements and Diabetes portions of the API.

Please let us know if you have any questions about these API updates by leaving a comment here or on this Health Graph discussion group thread (click here to access).

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.


SleepRate uses heart rate and the Health Graph to teach you about your sleep

Our ongoing partner profile series features partners doing interesting and important things with the Health Graph API (@healthgraphapi). In this installment, we speak with Uri Keren, President & CEO of HypnoCore, about his company’s Health Graph integrated sleep solution SleepRate (@sleeprate).

BD: What is the “elevator pitch” for why someone should use SleepRate?

UK: Sleep is a crucial component in our overall health and wellbeing.

On average we spend a third of our lifetime sleeping, but not many people realize the enormous effect sleep has on their lives. People who suffer from poor sleep are at a high risk of experiencing tiredness, negative mood swings, difficulty coping with high stress activities, difficulty maintaining healthy eating habits, weight problems, and a general deterioration in physical and cognitive functions.

SleepRate is the only solution in the market that uses widely available sports heart rate monitor (HRM) devices such as Polar, Garmin, Zephyr, and others to accurately measure and help improve sleep.

BD: How did you get started using the Health Graph API?

UK: SleepRate targets healthy people that already measure themselves using smartphones and heart rate monitor belts. We provide these people with accurate information and tools to help them measure and improve their sleep. Improving sleep in turn helps them to improve their health, sports performance, and overall well being. Given our focus around passive data collection using widely available commercial sensors and our desire to allow our customers to correlate their SleepRate data with other kinds of health and fitness information, the Health Graph API, especially the sleep related portion which we are using today, seemed like a natural fit.

BD: How is using the Health Graph benefiting your business?

UK: The Health Graph puts information relating to sports, sleep, and weight together in one place. This helps our customers manage their overall health while learning about their sleep habits and how those habits influence their other health parameters.

BD: What do you like about the Health Graph? What would you like to see changed?

UK: We like the wide variety of health and fitness related data available through the Health Graph. We would like to see more tools to help connect sleep quality to sports performance and weight management.

BD: If you could request any new feature from the Health Graph, what would it be? How would you use it?

UK: We would love to see the following sleep parameters (important to athletes) added to the sleep portion of the Health Graph API: Mean heart rate, mean respiration rate, and stress level.

BD: Can you share any future plans for SleepRate? What’s coming next that your users will be excited about? Does the Health Graph play a role in that, and if so, how?

UK: We currently support iOS using Polar compatible HRM devices. We are launching ANT+ support for iOS using the Wahoo dongle and an Android version supporting Polar and Zephyr HRMs soon.

BD: Is there anything else we should know about you or SleepRate?

UK: SleepRate is based on our FDA/CE certified and medically tested software algorithms that analyze sleep using R-R time analysis. We are the only solution in the market that can measure sleep accurately based upon heart rate information acquired using consumer-oriented, non-proprietary devices. SleepRate is now live and FREE (click here to learn more from our web site).

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.


Health Graph tip: Test data options

This tip expands upon one of the slides in our “Health Graph Hacking 101” presentation (click here to access). You can work through the complete presentation embedded at the bottom of this post.

One question we often get from developers new to the Health Graph platform is “How can I create test data?”. Here are some ways you can get up and running quickly.

After you request developer Health Graph access, you have automatic read access to any data in your developer account. You can take advantage of that by using various free Health Graph apps to add data to your account. For example, you can record or manually enter:

Another way to add data to your developer account is to use an existing non-development account and Street Team tagging.

You can copy existing fitness activity data into your developer account by:

  1. Logging into an existing non-development account containing fitness activities.
  2. Adding your developer account as a Street Team member in your non-development account; you’ll need to make the request from the latter and then approve it from the former.
  3. For each activity you wish to copy from your non-development account into your developer account, tag the developer account from that activity’s page; this copies the activity data into your developer account.
  4. Optional: When you’re done tagging and copying data, you can remove the tags while in your developer account, then remove your non-development account from your developer account Street Team, to sever the linkages but keep the copied data.

One more option: You can export an existing user’s data (click here for details) then parse that data and write it back into your own developer account via the Health Graph API. In fact, doing so is very instructive as it requires you to explore several different aspects of the Health Graph platform.

The above options should give you plenty of ways to get test data together for your application. I hope this helps and happy health hacking!

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.


Sleepy brings Health Graph sleep tracking to Android

Italian developer Massimiliano Fanciulli (@fanciulli) is building his Sleepy Android app on top of the Health Graph (@healthgraphapi). Read our discussion below to learn more about this Health Graph partner and how he’s taking advantage of the Health Graph API to give people a free tool for tracking their sleep.

Bill Day: Please tell us about yourself and your work.

Massimiliano Fanciulli: I’m a Software Engineer and I work in Pisa, Italy, the city with the leaning tower. I like developing Android apps in my spare time and I’m the creator of the sleep tracking app Sleepy.

BD: What is the “elevator pitch” for why someone should use your app?

MF: Sleepy can be used to track your sleep cycle. I made it freely available and as simple to use as possible so that everyone could track their sleep easily.

BD: How did you get started using the Health Graph API?

MF: I started as a RunKeeper user. At first I simply needed to record physical activities and RunKeeper helped me track my running. It was very motivational. As soon as the Health Graph became available I started playing with it. Sleepy is my first app which uses it.

BD: Which portions of the Health Graph API do you use, and why?

MF: I use the Sleep and the Profile portions of the Health Graph API. I use them to store new data and display related data about the user.

BD: What do you like about the Health Graph? What would you like to see changed?

MF: The Health Graph is well structured and covers most of the data that describe your fitness and workouts. It is a powerful tool for building an app, letting you to focus on the logic and not on data storage and management.

I appreciate its attention to diabetic users. It would be great to have new portions of the Health Graph covering other physical aspects and conditions so that new applications could be built allowing users affected by other pathologies to track their workouts and optimize their health in the best way possible.

BD: If you could request any new feature from the Health Graph, what would it be? How would you use it?

MF: Callbacks and push messages should be added to the Health Graph so that apps can be notified by the platform when updates occurs. With these, for example, a developer could build an app which notifies you in case one of your friends starts a running workout near you. Very useful! [Editor’s note: The Health Graph does support a authorization removal callback today, but does not currently provide push notifications of the kind Massimiliano mentions.]

BD: Can you share any future plans for your app? What’s coming next that your users will be excited about? Does the Health Graph play a role in that, and if so, how?

MF: I’m receiving great feedback from the Sleepy Google+ page. People seem to be very interested in the app and they’re joining the page and contributing. I’ll continue to develop some of the features those users are requesting. For instance, I added support for manual posting of data in a recent Sleepy update.

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.