HealthStats

Description


HealthStats provides in depth look at all the data from the health data you collect with your iPhone or Apple Watch.

It will let you analyse steps, heart rate, weight over time or on a specific days. It will also allow you to review and analyse recorded workouts.

The app is for data geeks that want full access and views on the numbers and statistics.

This app is now open source on GitHub as part of the ConnectStats project, feel free to review the code, give feedback or contribute.

Features

  • Calendar View of your days and workouts
  • Compare your month to month distance in cumulative plots
  • Monthly/Weekly summary statistics of your days and workouts
  • Monthly/Weekly historical report and graphs of your recorded data
  • Scatter plots and trend for both historical or workout data
  • Best Rolling Plots, histograms for workouts
  • Support multiple source, for example data collected by your phone or your watch
  • Calculated laps for your workouts: find your fastest kilometer, or split time, etc
  • Display time in zone for heart rate or pace in your work outs
  • Slice your statistics by workout types: running, biking, etc

Quick Guide

  • When you first start the program, you will need to authorize the app to access your health data and choose the source for your data
  • Data will be refreshed as you pull down the activity list on the first tab or overtime you start the app
  • The Day Detail tab provide a view on a given day or work out
  • The stats tab provide historical report and graphs, tap on the different buttons on the navigation bar or on graph and numbers in the tables to explore further analysis
  • The calendar view provide summary views on the month, explore it by tapping the different configuration buttons

Notes

  • All the data is analysed locally on your phone, no data will be sent anywhere.

Recent Posts

Dark Mode and New Service

I just pushed version 5.0 of ConnectStats to Apple for review. It will likely take a few days for the version to be approved. Hopefully it will be done in time for the iOS 13 release.

This version has two major changes. First the app has been updated with a new look for iOS 13 and support for dark mode. Second it can now use the new service I have been testing with a few users. Before you switch, please read the details below to make sure it’s for you.

Dark Mode

Version 5.0 has a major revamp of the way the interface is driven internally to enable much more customisation of the look of the app. This was driven first to be able to support the new dark mode from iOS13, but it may later help support more customisations.

In the settings you can now choose a theme. You’ll find a few so far:

  • Original: it just make the app look like it has been in the last 8 years…
  • Dark Mode: it is a mode that changes the look to a dark mode on iOS 12
  • Dynamic: it is a mode that changes between the above two on iOS 13 depending on the general mode of the app (light or dark)
  • Native iOS 13: This is a mode only available on iOS 13 that uses the standard colors of iOS 13. The main difference being in dark mode and some minor changes in the light mode. This is probably my preferred one so far, and when the app runs for the first time on iOS 13 it will change to this mode (after iOS update)

You can see a few previews of the iOS 13 dark mode here. If you find any issues with it, send a bug report or comment here.

New Service

I have been implementing a new service in the last few months using the new Health API from Garmin. The main benefit is that it is supported by garmin, as opposed to the current way ConnectStats access your activities by using the unsupported API that the garmin connect website uses. It will present a few benefit now or later:

  • we should not have unexpected failure of the app like this one or this one. This service is fully supported by Garmin
  • It give more control on the data exchange and provide the ability to implement new features like adding weather information (will come soon after this release) or notification (maybe, if it’s deemed useful)

The flip side is that currently it has a few shortcomings, so I do not recommend that everyone switches to it just yet, unless you understand the below issues:

  • The initial synchronisation of the account can be slow : about 2 min for every 2 months of activities you want to synchronise. There is nothing I can do about that, it is a limitation of the API.
  • Details of older activities that were recorded on an older device no longer associated with your garmin account will not be available. So only a summary but now maps or details graph. Garmin told me they are working on fixing this issue.
  • Extra information you have on the Garmin Connect Website, for example activity names, or edited activity type after the initial upload will not be seen by the new service.
  • It’s a new service I implemented myself, so it is possible, instead of unexpected failure because of a garmin change, it will could have some issues initially because of my own mistakes… But I’ll do my best to fix.

In light of the above limitations, I currently set up the app to only use the new service for brand new users. Existing users will continue on the old API and would have to switch manually to the new service in the settings and as in the below screen, switch the source to ConnectStats.

The new service is implemented such that will will understand the equivalence with activities downloaded from garmin connect. So you can switch back and forth between the two services and it should work and not be confused. You can also create a new profile to test it out.

I intend to implement soon a new version that will allow to more seamlessly get the data from the two services, which will be a bit of the best of both world…

Note that I encourage you to read the privacy policy to make sure you understand what happens to your data. The key point being, the new service does not keep any information whatsoever about who you are. At no point do I save your name, email, etc (the service actually never asks for it and never obtains it), but the service will save your fit files.

You can read a bit more about the new service here.

  1. Preview of dark mode for iOS 13 Leave a reply
  2. New Garmin Service Integration 4 Replies
  3. Quick update 12 Replies
  4. Issue with many extra activities downloaded Leave a reply
  5. ConnectStats 4.6 released 12 Replies
  6. Quick update on fix timing 12 Replies
  7. April outage 13 Replies
  8. Solution to two recent problems 8 Replies
  9. Weather Bug (Crash on import) 18 Replies