Widget: Heart rate chart

Former Member
Former Member


https://apps.garmin.com/en-GB/apps/ea97fdfa-0339-464e-a665-d4dfcbc9a4d2 (as widget)
https://apps.garmin.com/en-US/apps/6761e7b5-db5d-47a2-baef-a3a42e3d7f94 (as app)

I wanted a quick way to check my heart rate without starting an activity, so here it is. I also wanted to see how close I could get it to having it look "native" (at least on the fenix 3, I don't think the other watches have chart widgets like this natively).

Changelog:

1.3.2 - Fix stupid bug in range display
1.3.1 - Longer periods, notify on HRM connect
1.3 - Configurable period and colour, autoscale y axis, port to app
1.2 - Persist data across sessions, compatibility with square watches, visual tweaks
1.1 - Chart that looks like Garmin's
1.0 - Initial version, just numbers, never released
  • Former Member
    Former Member over 10 years ago
    I'd love to use the long-period HR monitoring during sleep. Maybe for my purpose a dedicated sleep app with movement and hear rate monitoring would be better suited. I'd like to be able save a sleep report to Garmin Connect and see the development of sleep statistics over time. So in essence an upgraded version of Garmin's sleep monitoring functionality I guess.

    I'm curious to learn for what purpose everyone uses this app?


    So I really built it to scratch my own itch, which was just to be able to have a look at HR after a workout, and to look at it over shortish periods of time out of idle curiosity :-)

    I don't really have the time or energy to convert it into a sleep monitoring thing except by making quite small changes (longer duration for example was quite easy).
  • Former Member
    Former Member over 10 years ago
    So can you help me investigate?

    For (1), please connect your watch via USB, then move the file GARMIN/APPS/DATA/EA97FDFA.STR (for the widget) or GARMIN/APPS/DATA/6761E7B5.STR (for the app) off the device, then see if that fixes the problem. If it *does*, please send the file to me.

    For (2), does it only crash when the HRM is detected? If you start the app/widget with no HRM, does it not crash?


    (1) I don't see that file in that directory. I see these files only. In "APPS" I see this, fwiw.

    (2) When HRM not connected the app does NOT crash. Menu accessible. Screen shows, obviously, an empty graph and "HR ---". On connecting my HRM the app crashes (showing the 'IQ!' logo on black screen; no interaction possible except back out of app).
    The HRM I'm using is a Scosche Rhythm+ running 2.4 firmware.
  • Former Member
    Former Member over 10 years ago
    Mine crashes even if my HRM is not connected (i tried launching a 2 minutes monitoring with my garmin chest belt in another room very far away and not connected in any way).
    I too get the IQ with the exclamation mark.
  • Former Member
    Former Member over 10 years ago
    *** HELP NEEDED FROM VIVOACTIVE USERS ***

    I can't see why it's not working, it works in the simulator. But I can at least make some guesses. So I've prepared a few changes that might solve the problem. It would be really helpful if someone could download these builds, sideload them (i.e. copy the files onto the watch at GARMIN/APPS via USB), then come back and tell me which, if any, work.

    http://www.babysimon.co.uk/vivoactive/hr-app-catch-io.prg (yellow chart)
    http://www.babysimon.co.uk/vivoactive/hr-app-no-io.prg (pink chart)
    http://www.babysimon.co.uk/vivoactive/hr-app-no-sound.prg (blue chart)
    http://www.babysimon.co.uk/vivoactive/hr-app-no-notification.prg (green chart)
  • Former Member
    Former Member over 10 years ago
    Pity Garmin doesn't even send you a VA free of charge for the work you have done here...
  • Former Member
    Former Member over 10 years ago
    Good thing you added colors! Garmin Connect seems unreliable to what apps are actually loaded and the watch doesn't display the whole name. I tried the four different ones one-by-one, mounting and unmounting without using Connect (did I do that right?).

    http://www.babysimon.co.uk/vivoactive/hr-app-catch-io.prg (yellow chart)
    HR connected gives IQ!

    http://www.babysimon.co.uk/vivoactive/hr-app-no-io.prg (pink chart)
    HR connected gives IQ! although there seems to be a slight delay before it happens. No graph or HR shown.

    http://www.babysimon.co.uk/vivoactive/hr-app-no-sound.prg (blue chart)
    Works! Nice vibration on connect.

    http://www.babysimon.co.uk/vivoactive/hr-app-no-notification.prg (green chart)
    Works, but it shows up as "...no sound" in Connect and has a blue chart as well.
  • Former Member
    Former Member over 10 years ago
    Works, but it shows up as "...no sound" in Connect and has a blue chart as well.


    Oops, I was building these by hand in a rush! Anyway...

    (blue chart)
    Works! Nice vibration on connect.


    Awesome! So it's crashing trying to play a sound on connect. Which sort of makes sense with the vivoactive not having a speaker... except that the simulator version of the vivoactive doesn't crash here.

    Anyway, that should be simple to fix. If you are still around, I'd appreciate it if you could test one last version:

    http://www.babysimon.co.uk/vivoactive/hr-app-conditional-sound.prg

    This detects if sound is available. I'm pretty sure it should work but I don't want to announce the bug is fixed unless I'm sure it is.
  • Former Member
    Former Member over 10 years ago
    Check, works fine.

    A remark: on Vivoactive the menu button under the display is mostly used to change settings of the current app. The side button on the right is mostly used for start, pause, stop and switch between clock/widget and app grid. Now I believe your app would be more inline and intuitive if the settings would be reachable by pressing the menu button. Another upside would be that the whole app would then be operable from the front.
  • Former Member
    Former Member over 10 years ago
    Check, works fine.


    Cool. I've pushed 1.3.3 for this fix. Thank you very much for your help!

    A remark: on Vivoactive the menu button under the display is mostly used to change settings of the current app. The side button on the right is mostly used for start, pause, stop and switch between clock/widget and app grid. Now I believe your app would be more inline and intuitive if the settings would be reachable by pressing the menu button. Another upside would be that the whole app would then be operable from the front.


    Yeah, that might be worth changing in the future. I was of course copying how the built in widgets work on the Fenix 3...
  • Former Member
    Former Member over 10 years ago
    Thanks!

    Cool. I've pushed 1.3.3 for this fix. Thank you very much for your help!



    Yeah, that might be worth changing in the future. I was of course copying how the built in widgets work on the Fenix 3...


    I just wanted to say thank you for fixing this app! I'm impressed that our Garmin community realized this problem so quickly! This is a very useful app and I appreciate the hard work!