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
  • 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


    I tried already but when I try to set the values at the end it provides an error message
  • 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


    Sorry, I've not been precise in my description.
    When i click on the settin button (in order to entry the values) the edge reports an error and do not allow me to entry in the data setting page
  • does the error messae appear while inserting the zone values to the input field or after inserting the values by clicking on the save burton?
    Perhaps the Edge does not provide the support for the cureent ConnectIQ API. I cant find the supported API version in then Edge firmware page. It mist support at least version 1.2 of ConnectIQ API.
    Else it perhaps don't support the user settings - and because if this it ConnectMobile displays a error.
    Please can you check in the system info in the Edge (where the firmware version is displayed)? There the supported ConnectIQ version should be visible.
  • does the error messae appear while inserting the zone values to the input field or after inserting the values by clicking on the save burton?
    Perhaps the Edge does not provide the support for the cureent ConnectIQ API. I cant find the supported API version in then Edge firmware page. It mist support at least version 1.2 of ConnectIQ API.
    Else it perhaps don't support the user settings - and because if this it ConnectMobile displays a error.
    Please can you check in the system info in the Edge (where the firmware version is displayed)? There the supported ConnectIQ version should be visible.


    the error message appears immediately after i click on the main button to entry into the setting.
    The Connect IQ version is not indicated but only the GPS Version (5.08.11) and the TSC Version (131.02.02)
  • I try to get some infos from Garmin, which ConnectIQ version ist supported on the Edge..
  • Hello Alberto,

    I've seen you found the thread for the Edge1000 app settings error:
    https://forums.garmin.com/showthread.php?345891-Edge-1000-configurable-app-settings

    It seems it is a bug in the Edge firmware.
  • 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


    Ja hättest du... Aber die anderen sollen ja auch was verstehen. 😂

    Danke für die schnelle Antwort und das tolle Addon.
    Genau dass wonach ich gesucht habe. Perfekt.
  • 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


    Ja hättest du. Aber die anderen sollen ja auch was verstehen ;)

    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


    I'll give it a shot today.
    Sieht auf jeden Fall schon mal super aus, genau das wonach ich gesucht habe.
    Vielen Dank!
  • Speichern der Zeiten in den Bereichen

    Hallo, ist es möglich die Daten beim speichern einer Activität mit zu speichern?

    Viele Grüße
  • Hallo, ist es möglich die Daten beim speichern einer Activität mit zu speichern?

    Viele Grüße


    Nein, es wird nichts gespeichert.
    Das Datenfeld kann nur aktuelle Daten der Aktivität anzeigen. Die Aktivität selbst speichert die Daten.
    Die HR-Zonenverteilung wird aber auch nach Beenden der Aktivität z.B. in ConnectMobile angezeigt (in der Diagrammansicht ganz unten).

    Viele Grüße
    Ronny