Datafield: Heart Rate Zones Chart

Hello all,

this is the suport-thread for the datafield "Heart Rate Zones Chart".

Here you can find the Datafield:
https://apps.garmin.com/de-DE/apps/4...0-c69f911780d6

Feel free to write if you have questions or suggestions (english or german).
Please consider that it was created for my personal use. But with the user configuration via GCM or GE I can share it for everyone who is interested in.

--------------
Overview
--------------
This datafield provides a graph showing the percentage of time spend in the defined HR-zones.
The bars grow depending on the time you spend in the HR-zone during the activity.
It is designed for use in every screen-layout and field size, keeping the default textsize and style, but showing more information about heart rate in a single field.
User configuration is supported for definition of user-depending HR-zones and options.

----------
Details
----------
...are described in the app shop page:
https://apps.garmin.com/de-DE/apps/4...0-c69f911780d6

------------------
Screenshots
------------------






------------------------------------------------------------------------------------------------------------------------------
Version info is included and updated in this post because of limitation of app description
-------------------------------------------------------------------------------------------------------------------------------

------------------------
History - English
------------------------

Version 1.4.1
- updated SDK-version for support of new devices (e.g. Edge 1030)

Version 1.4.0
- updated SDK-version for support of new devices (e.g. fenix 5)
- optimized recognition of timer stated (started/paused).

Version 1.3.2 - 28.06.2016
- corrected descriptions of app settings

Version 1.3.1 - 27.06.2016
- Initialize the datafield after starting an new activity (after anding a previous activity) on Edge devices

Version 1.3.0 - 23.06.2016
- The Datafield supports calculating HR-% based on HR.Max, HR-Rest or LTHR
HR-Max: HR-% is calculated for the range 0 to HR-Max (MR-Max is read from App-Settings/Zones or from user profile)
HR-Rest: HR% is calculated for the range HR-Rest to HR-Max (e.g. 50=0%...180=100% if you set 50 as HR-Rest in App settings)
LTHR: HR% is calculated for the range 0 to LTHR (0=0%, 160=100%, 180=112% if you set 160 as LTHR in App settings)

Version 1.2 - 18.05.2016
- The datafield supports now reading of HR zones from user profile.
If the device-API supports the access-funtions, the datafield uses the HR-zones. Nearly evera device with SDK-version 1.2.6 should be ready for this.
The app settings for HR zones are still present (for compatibility with devices which don't support reading uer profile yet).
With the settings parameter you can switch back to the app settings. So you can still define independent HR zones only for the datafield.
The Zones are read depending on the current sport type. If no zones are defined for the sport type, the default zones are used.

Version 1.1.5c - 16.05.2016
- added support for forerunner FR735XT

Version 1.1.5b - 02.05.2016
- re-added support for Edge 520 & 1000
The app settings should work now with latest Edge firmware

Version 1.1.5a - 01.04.2016
- temporarily stopped support for Edge 520 & 1000
Reason: The Edge-firmware has a bug in app setting handling. The settings are not stored to the device so changes will not take effect
The Edge will be supported if the firmware is updated.

Version 1.1.5 - 23.03.2016
- technical update
- code optimization to reduce memory consumption
- added some new devices

Version 1.1.4 - 15.02.2016
- optimization of text position (centered text)
- optimization of text position for datafield in corner position e.g. on fenix 3 (shifted to non-obscured side)
- changes of style (chart design, text) in ConnectMobile takes effect in running activity

Version 1.1.3 - 11.02.2016
- optimization of text position (more centered)
- optimization of chart drawing performance

Version 1.1.2 - 10.02.2016
- Time in Zones is now only counted if application is active and started

Version 1.1.0 - 10.02.2016
- New settings for chart design:
- thin lines with wide gap (default)
- thin lines with small gap
- bold lines
- solid color. The non-colored HR-value would be easier to read using solid chart color.
- New setting for text size.
- default: same textsize as Garmin-Fields
- dynamic: bigger textsize on bigger fieldsize (e.g. single field, 2 fields). Possible textsize depends on device system fonts.
Details: https://forums.garmin.com/showthread...517#post803517

Version 1.0.0 - 21.12.2015
- initial version


--------------------------
Historie - Deutsch
--------------------------
Version 1.4.1
- Aktualisierung der SDK-Version fpr Kompatibilität mit neuen Ger?ten (z.B. Edge 1030)

Version 1.4.0
- Aktualisierung der SDK-Version fpr Kompatibilität mit neuen Ger?ten (z.B. fenix 5)
- Optimierung der Status-Erkennung (gestartet/pausiert)

Version 1.3.2 - 28.06.2016
- Beschreibungen in den App-Einstellungen korrigiert

Version 1.3.1 - 27.06.2016
- Datenfeld initialisieren beim Start einer neuen Aktivität (nach Beenden einer vorherigen Aktivität) auf Edge-Geräten

Version 1.3.0 - 23.06.2016
- Das Datafield berechnet HR-% basierend auf HR.Max, HR-Rest oder LTHR
HR-Max: HR-% wird berechnet für den Bereich 0 bis HR-Max (HR-Max wird aus den Zonen-Definitionen des Benutzerprofil oder der App-Einstellungen gelesen)
HR-Rest: HR% wird berechnet für den Bereich HR-Rest (Ruhepuls) bis HR-Max (50=0%...180=100% wenn 50 als HR-Rest in den App-Einstellungen angegeben ist)
LTHR: HR% wird berechnet für den Bereich 0 bis LTHR (0=0%, 160=100%, 180=112% wenn 160 als LTHR in den App-Einstellungen angegeben ist)

Version 1.2 - 18.05.2016
- Das Datenfeld verwendet nun die HR-Zonen des Benutzer-Profils.
Wenn das verwendete Gerät den Zugriff auf die Benutzerprofil-Zonen unterstützt, werden diese standardmäßig verwendet.
Dabei werden die Zonen abhängig von der aktuellen Sportart gelesen. Sind zur Sportart keine Zonen definiert, dann werden die Standard-Zonen verwendet.
Die Zonen-Einstellungen in den App-Einstellungen sind noch vorhanden (zur Kompatibilität für Geräte, die das Lesen des Benutzerprofils noch nicht unterstützen).
Mit dem entsprechenden Parameter kann zur Verwendung der App-Einstellungen zurückgewechselt werden. So können z.B. abweichende Zonen speziell für das Datenfeld definiert werden.

Version 1.1.5c - 16.05.2016
- Support für Forerunner FR735XT

Version 1.1.5b - 02.05.2016
- Support for Edge 520 & 1000 wieder aktiviert
Die Epp-Einstellungen sollten mit der aktuellen Edge-Firmware wieder funktionieren

Version 1.1.5a - 01.04.2016
- Support für Edge 520 & 1000 wurde vorübergehend deaktiviert
Grund: Die Edge-Firmware verursacht Fehler beim Speichern der App-Einstellungen. Damit ist es nicht möglich, die Einstellungen des Dtaenfeldes anzupassen.
Die Edge-Unterstützung wird nach einer Firmwarekorrektur seitens Garmin wieder aktiviert.

Version 1.1.5 - 23.03.2016
- Technisches Update
- Code-Optimierung und Reduzierung des Speicherverbrauches
- Neue Geräte ergänzt

Version 1.1.4-15.02.2016
- Textposition angepasst (zentriert)
- Textposition aggepasst für Datenfeld-Position in einer Ecke (bei fenix 3). Der Text wird in Richtung Mitte verschoben.
- Änderungen am Layout in ConnectMobile werden auch in einer laufenden Aktivität übernommen.

Version 1.1.3-11.02.2016
- Text-Position angepasst
- Performanceverbesserungen

Version 1.1.2-10.02.2016
- Zeit in Zonen wird nur während einer gestarteten Aktivität summiert

Version 1.1.0-10.02.2016
- Neue Option zur Wahl eines Diagramm-Designs_
- dünne Linien mit großem Abstand
- dünne Linien mit kleinem Abstand
- breite Linien
- ausgefüllt
- Neue Option zum Einstellen der Textgröße (abhängig von verfügbaren Geräte-Schriften)
Details: https://forums.garmin.com/showthread...517#post803517

Version 1.0.0-21.12.2015
- Initiale Version
  • No... it doesn't work as you say... it doesn't show on the activity screen and I can't link it to another activity. Why not have it so I can make it my activity.. as I'm doing things... just to see my HR from time to time and how much I have gotten it in my zone... I'm not always doing an "activity"

    Thanks


    Hello,

    I can't figure out exactly what is going wrong on your vivoactive... did you mean with "activity screen" a widget (scrollable screens like step-count or wheather)? There the datafield can not be included. It's no widget. The datafield can onbly be uses in activities (e.g. running).

    Have you assigned the datafield to a activity datapage? Could you select it from the "ConnectIQ" folder (while assigning new field to datapage ans selecting a field type)?
    If you assigned the field this way, you shlould see it on the changed datapage after selecting the activity.
    At this time (before starting activity), the chart ist not filled. You only see your HR-value and the colored zones at the field bottom.
    After startign a activity the chart will show you the time spent in each zone. Please set up the zones in app settings. If your HR value keeps below zone 1, you will not see a chart. If you want to see also your time below zone 1, you can activate the option "Show zone below zone 1" in the app settings.

    The field calculates the time only if the activity is running/recording. It don't record data while activity is paused (like all other activity-data).
    It is designed as a activity datafield. It will not work without a running activity.

    So if you want to see the HR chart and the zones without doing a special activity (running/cycling), you could create a new app/activity based on another activity type (workout or something else). You can deactivate all other sensors (GPS) for this activity. Then you can start the activity and it records your HR while the activity is running. That's a workaround. Garmin designed the watches to record sensor data in a running activity/app. That's why widgets or watchfaces are not able to read HR sensor data.

    I have seen screenshots and reviews from other vivoactive users with the datafield. So it seems to work in a running activity ;)

    Greetings
    Ronny
  • Edge Series Support

    Would be nice to have this for my Edge 520. :D
  • Can see HR chart in activity!!

    Thank you for your patience and explaining on how to use your HR chart. My HR default value was too high,as You suggested, I checked show HR in the grey area,as I am not getting my HR up high enough, but when I was in cardio mode I saw the colored chart and did get up in cardio burn area. On the Vivoactive the HR zone chart appears lightly colored in the center of the face of the watch,and when you pair your watch to the garmin express mobile app it also gives you a high and a graph that you can see what was your high HR and that's what I needed....think I may try a weight or gym widget from the connect I q store...thanks again!!!QUOTE=ronnywinkler;820824]Hello,

    I can't figure out exactly what is going wrong on your vivoactive... did you mean with "activity screen" a widget (scrollable screens like step-count or wheather)? There the datafield can not be included. It's no widget. The datafield can onbly be uses in activities (e.g. running).

    Have you assigned the datafield to a activity datapage? Could you select it from the "ConnectIQ" folder (while assigning new field to datapage ans selecting a field type)?
    If you assigned the field this way, you shlould see it on the changed datapage after selecting the activity.
    At this time (before starting activity), the chart ist not filled. You only see your HR-value and the colored zones at the field bottom.
    After startign a activity the chart will show you the time spent in each zone. Please set up the zones in app settings. If your HR value keeps below zone 1, you will not see a chart. If you want to see also your time below zone 1, you can activate the option "Show zone below zone 1" in the app settings.

    The field calculates the time only if the activity is running/recording. It don't record data while activity is paused (like all other activity-data).
    It is designed as a activity datafield. It will not work without a running activity.

    So if you want to see the HR chart and the zones without doing a special activity (running/cycling), you could create a new app/activity based on another activity type (workout or something else). You can deactivate all other sensors (GPS) for this activity. Then you can start the activity and it records your HR while the activity is running. That's a workaround. Garmin designed the watches to record sensor data in a running activity/app. That's why widgets or watchfaces are not able to read HR sensor data.

    I have seen screenshots and reviews from other vivoactive users with the datafield. So it seems to work in a running activity ;)

    Greetings
    Ronny
  • Would be nice to have this for my Edge 520. :D


    Hello,
    the Edge 520 is already included in my development-version. I'll upload it in some days to the store. The you can try it on the Edge.

    Bye
    Ronny


    ...da hätte ich vielleicht gleich deutsch schreiben können bei dem Nick :D
  • New version 1.1.5

    Would be nice to have this for my Edge 520. :D


    Hello again,

    I just updated the datafield with a small technical release. The Edge 520 is now supported. You can download and test the datafield on the Edge.
    A short feedback would be nice (whether it works good or not). Thanks.

    Bye
    Ronny
  • Hello again,

    I just updated the datafield with a small technical release. The Edge 520 is now supported. You can download and test the datafield on the Edge.
    A short feedback would be nice (whether it works good or not). Thanks.

    Bye
    Ronny


    Testing
  • some clarifications...

    First of all it's an excellent app. I have installed on my Edge 1000 but not yet tested with a cycling activity.
    Please just answer to my questions below.
    1) I understood that time spent in each zone is indicated (in h;min;sec) on the various bars. Are those values also visible at the end of an activity, or when you stop the activity all those values are resetted to zero? How can I read those values?
    2) HR zone values: I setted those values via Garmin Express (by means of the "..." field). When i reconnect the Edge to the USB port ang going again into "..." the values that I previously introduced are not shown. How can I see if my values have been properly stored?
    3) To fill in the HR zone fields, wouldn't be possible to get those from the data fields stored inside the Edge 1000?
  • First of all it's an excellent app. I have installed on my Edge 1000 but not yet tested with a cycling activity.
    Please just answer to my questions below.
    1) I understood that time spent in each zone is indicated (in h;min;sec) on the various bars. Are those values also visible at the end of an activity, or when you stop the activity all those values are resetted to zero? How can I read those values?
    2) HR zone values: I setted those values via Garmin Express (by means of the "..." field). When i reconnect the Edge to the USB port ang going again into "..." the values that I previously introduced are not shown. How can I see if my values have been properly stored?
    3) To fill in the HR zone fields, wouldn't be possible to get those from the data fields stored inside the Edge 1000?


    Hello Alberto,
    thanks for your interest. Here are my answers to your questions...

    1) The datafield only shows you the values as a graphical chart. It don't show the time as numbers. The chart should only give a overview about the distribution of time in each zone.
    If you pauses and continue, the chart keeps the data. After stopping and starting a new activity the chart is reseted.
    The calculated values are not shown at end of activity. It's not possuble for a datafield to show a summary at the end of the activity. That does the device itself (activity details on the watch/Edge or in ConnectMobile below the charts). I know that other datafiels are showing the time values as one-field-version. But this datafield is designed to use on multifield pages (with 4 datafields on it). Because of that ist only gives a graphical overview like shown in the screenshots in app description
    2) I set the values in ConnectMobile. That works fine. I didn't try Garmin Express.
    3) It's not possible yet to read user zones from thw device. The Garmin-API doesn't offer such a function. If it wozld be possible in future the datafield will use the user settings. Then I will comment it in version info (first xomment of this thread).

    I hope I could answer the queations. If you have further questions please answer im this thread.

    Bye
    Ronny
  • Hello Alberto,
    thanks for your interest. Here are my answers to your questions...

    1) The datafield only shows you the values as a graphical chart. It don't show the time as numbers. The chart should only give a overview about the distribution of time in each zone.
    If you pauses and continue, the chart keeps the data. After stopping and starting a new activity the chart is reseted.
    The calculated values are not shown at end of activity. It's not possuble for a datafield to show a summary at the end of the activity. That does the device itself (activity details on the watch/Edge or in ConnectMobile below the charts). I know that other datafiels are showing the time values as one-field-version. But this datafield is designed to use on multifield pages (with 4 datafields on it). Because of that ist only gives a graphical overview like shown in the screenshots in app description
    2) I set the values in ConnectMobile. That works fine. I didn't try Garmin Express.
    3) It's not possible yet to read user zones from thw device. The Garmin-API doesn't offer such a function. If it wozld be possible in future the datafield will use the user settings. Then I will comment it in version info (first xomment of this thread).

    I hope I could answer the queations. If you have further questions please answer im this thread.

    Bye
    Ronny


    Thanks a lot for your kind reply.
    Just one last question: how can you set the values from ConnectMobile? How do you reach the application from CoonectMobile?
    Thanks!
  • Thanks a lot for your kind reply.
    Just one last question: how can you set the values from ConnectMobile? How do you reach the application from CoonectMobile?
    Thanks!


    Please take a look at this description:
    https://forums.garmin.com/showthread.php?332843-How-to-App-Settings
    This thread is also linked in the app description.

    Bye
    Ronny