HMs DIY #1-6

Store Link

Because I want to keep this datafield and the app free for use I would be very grateful about a small donation to PayPal

A detailed description of how to use it can be found here: 

HMs_DIY_GUIDANCE.pdf
HMs_DIY_ANLEITUNG.pdf

Thanks very much to mcinner1 for putting so much time into this documentation!

Designer download

You can contribute on my github page.
You can upload your layout so others can use it as well.
Also any changes to the fonts.txt can be updated there as well.

Garmin_HMsDIY

=======================================================================
RELEASE NOTES
=======================================================================
-----------------------------------------------------------------------
3.6.2
* switched to new SDK 7.2.1
* added devices: Approach S7 42mm, Descent Mk3 43mm /Mk3i 43mm, Descent Mk3i 51mm, Edge 1050, epix Pro Gen2 42mm, epix Pro Gen2 47mm / quatix 7 pro, epix Pro Gen2 51mm / D2 mach 1 pro / tactix 7
Fenix 7 Pro, Fenix 7 Pro Solar, Fenix 7S Pro, Fenix 7X Pro, Fenix 7xPro Solar, Forerunner 165, Forerunner 165M, Venu 3, Venu 3S, Vivoactive 5
-----------------------------------------------------------------------
3.5.1
* switched to new SDK 4.2.4
* added devices: FR265, FR265S, FR965, GPSMAP 67/67i, Marq (Gen 2), Marq (Gen 2) Aviator, EDGE 540, EDGE 840, Instinct 2x Solar
* added two new font types GLANCE, GLANCENR (only available if device supports it!)

for full releasenotes see: releasenotes.txt
=======================================================================

 

  • OK, thanks. Hope you get to it.

    How about current running VO2 Max?

  • Thanks for poiting us in the right direction, buti cant figure out how to make the arrow disappear:

    Tried to adapt your code:

    <?xml version="1.0" encoding="UTF-8"?>
    <DIYLayout>
        <Device name="Edge 130"/>
        <Designer time="19.06.2020 23:50" ver="2.9.8" ifver="B"/>
        <LayoutElement type="3" text="----------------- Background ------------------"/>
        <LayoutElement type="1" color="000000" x="0" y="0" x2="230" y2="28" eletype="RF" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="0" y="27" x2="230" y2="303" eletype="RF" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="3" text="-----------------Batt indicator ------------------"/>
        <LayoutElement type="1" color="FFFFFF" x="224" y="7" x2="230" y2="18" eletype="RF" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="186" y="5" x2="224" y2="22" eletype="RC" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B001" x="187" y="6" x2="195" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="195" y="6" x2="195" y2="21" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B002" x="196" y="6" x2="204" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="205" y="6" x2="205" y2="21" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B003" x="206" y="6" x2="214" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="215" y="6" x2="215" y2="21" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B004" x="216" y="6" x2="223" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="2" replDC="00B004" valDC00="760" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="2" replDC="00B003" valDC00="510" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="2" replDC="00B002" valDC00="260" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="2" replDC="00B001" valDC00="200" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="3" text="----------------- Time + Temp ------------------"/>
        <LayoutElement type="0" color="FFFFFF" x="115" y="0" fixedtext="false" maxonly="false" daynight="false" eletype="CT" text="$H:$M" font="TINY" halignment="1" precision="0" nr_values="1" sampletext="63312"/>
        <LayoutElement type="0" color="FFFFFF" x="1" y="0" fixedtext="false" maxonly="false" daynight="false" eletype="TM" text="$V°C" font="TINY" halignment="2" precision="0" nr_values="1" sampletext="18.4"/>
        <LayoutElement type="3" text="----------------- Speed ------------------"/>
        <LayoutElement type="0" color="000000" x="5" y="37" fixedtext="false" maxonly="false" daynight="false" eletype="CS" text="$V" font="NR_HOT" halignment="2" precision="1" nr_values="1" sampletext="30.5"/>
        <LayoutElement type="0" color="000000" x="228" y="37" fixedtext="false" maxonly="false" daynight="false" eletype="AS" text="$V" font="NR_HOT" halignment="0" precision="1" nr_values="1" sampletext="34.76"/>
        <LayoutElement type="1" color="000000" x="60" y="28" x2="60" y2="48" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="60" y="48" x2="100" y2="48" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="170" y="48" x2="130" y2="48" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="100" y="100" x2="100" y2="48" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="170" y="48" x2="170" y2="28" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="130" y="48" x2="130" y2="100" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="0" color="000000" x="59" y="23" fixedtext="true" maxonly="false" daynight="false" eletype="FX" text="CUR       AVG   " font="TINY" halignment="2" precision="0" nr_values="1" sampletext=""/>
        <LayoutElement type="1" color="000000" x="0" y="103" x2="230" y2="103" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="3" nr_values="1"/>
        <LayoutElement type="3" text="----------------- Arrow UP------------------"/>
        <LayoutElement type="1" color="FF00FF" x="115" y="85" x2="115" y2="45" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="FF00FF" x="124" y="55" x2="114" y2="45" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="FF00FF" x="105" y="55" x2="115" y2="45" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="2" replDC="FF00FF" valDC00="-11" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="-1000" colDC01="000000" hideDC01="true" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="3" text="----------------- Arrow down------------------"/>
        <LayoutElement type="1" color="FF00F1" x="115" y="45" x2="115" y2="86" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="FF00F1" x="115" y="85" x2="104" y2="75" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="FF00F1" x="115" y="85" x2="124" y2="75" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="2" replDC="FF00F1" valDC00="11" colDC00="000000" hideDC00="true" blinkDC00="false" valDC01="-1000" colDC01="000000" hideDC01="false" blinkDC01="false" invertcolor="false"/>
    </DIYLayout>
    

  • In my example the arrows are always visible:
    -too fast: arrow up
    -midrange: both arrows
    -too slow: arrow down

    If you want this mode:
    -too fast: arrow up
    -midrange: no arrow
    -too slow: arrow down

    ...you have to set in dyn Color section:
    Element FF00FF:  instead of -11 type in +10
    Element FF00F1:  instead of +11 type in -11

    Result: no arrow is shon between -1 and +1 km/h (or mi/h)
    (I hope I've thought this out correctly - did no test  Wink )

  • Yes the arrow disappears now instead of always shown. But i never get an arrow up or down. 

  • Well i think there is something wrong with the value if i look at the value numders when displayed they stay at 0.0, so there is no average calculated? 

  • Average is calculated only if an activity is running!

  • Yes i understand that.  Small 0.0 dont change this is on GPS and Wheel sensor.

     

  • Please submit your code. I will test it. 
    (why are there still 2 arrows?) 

    EDIT:
    Edge 130 is a medium device (29 kb).
    Maybe too much elements?

  • Thanks for you time!

    Arrows where just to test layout, this code is to hide them like you suggested:

    <?xml version="1.0" encoding="UTF-8"?>
    <DIYLayout>
        <Device name="Edge 130"/>
        <Designer time="22.06.2020 07:39" ver="2.9.8" ifver="B"/>
        <LayoutElement type="3" text="----------------- Background ------------------"/>
        <LayoutElement type="1" color="000000" x="0" y="0" x2="230" y2="28" eletype="RF" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="0" y="27" x2="230" y2="303" eletype="RF" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="3" text="-----------------Batt indicator ------------------"/>
        <LayoutElement type="1" color="FFFFFF" x="224" y="7" x2="228" y2="18" eletype="RF" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="FFFFFF" x="185" y="4" x2="224" y2="22" eletype="RF" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B001" x="187" y="6" x2="194" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B002" x="196" y="6" x2="204" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B003" x="206" y="6" x2="214" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="1" color="00B004" x="216" y="6" x2="223" y2="20" eletype="RF" valuetype="BV" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
        <LayoutElement type="2" replDC="00B004" valDC00="760" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="2" replDC="00B003" valDC00="510" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="2" replDC="00B002" valDC00="260" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="2" replDC="00B001" valDC00="200" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="1" colDC01="FFFFFF" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="3" text="----------------- Time + Temp ------------------"/>
        <LayoutElement type="0" color="FFFFFF" x="115" y="0" fixedtext="false" maxonly="false" daynight="false" eletype="CT" text="$H:$M" font="TINY" halignment="1" precision="0" nr_values="1" sampletext="63312"/>
        <LayoutElement type="0" color="FFFFFF" x="1" y="0" fixedtext="false" maxonly="false" daynight="false" eletype="TM" text="$V°C" font="TINY" halignment="2" precision="0" nr_values="1" sampletext="18.4"/>
        <LayoutElement type="3" text="----------------- Speed ------------------"/>
        <LayoutElement type="0" color="000000" x="3" y="32" fixedtext="false" maxonly="false" daynight="false" eletype="CS" text="$V" font="NR_MEDIUM" halignment="2" precision="1" nr_values="1" sampletext="30.5"/>
        <LayoutElement type="0" color="000000" x="229" y="32" fixedtext="false" maxonly="false" daynight="false" eletype="AS" text="$V" font="NR_MEDIUM" halignment="0" precision="1" nr_values="1" sampletext="30.7"/>
        <LayoutElement type="1" color="000000" x="72" y="28" x2="72" y2="44" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="73" y="44" x2="100" y2="44" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="161" y="44" x2="130" y2="44" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="100" y="77" x2="100" y2="45" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="161" y="43" x2="161" y2="27" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="1" color="000000" x="130" y="45" x2="130" y2="76" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="0" color="000000" x="73" y="19" fixedtext="true" maxonly="false" daynight="false" eletype="FX" text="cur  " font="XTINY" halignment="2" precision="0" nr_values="1" sampletext=""/>
        <LayoutElement type="0" color="000000" x="127" y="19" fixedtext="true" maxonly="false" daynight="false" eletype="FX" text="avg" font="XTINY" halignment="2" precision="0" nr_values="1" sampletext=""/>
        <LayoutElement type="0" color="000000" x="131" y="51" fixedtext="false" maxonly="false" daynight="false" eletype="DE" text="$V" font="XTINY" halignment="2" precision="1" nr_values="1" sampletext="0.0"/>
        <LayoutElement type="3" text="----------------- Arrow UP------------------"/>
        <LayoutElement type="1" color="000005" x="115" y="65" x2="115" y2="35" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="000005" x="124" y="45" x2="114" y2="35" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="000005" x="105" y="45" x2="115" y2="35" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="2" replDC="000005" valDC00="11" colDC00="000000" hideDC00="false" blinkDC00="false" valDC01="-1000" colDC01="000000" hideDC01="true" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="3" text="----------------- Arrow down------------------"/>
        <LayoutElement type="1" color="000006" x="115" y="35" x2="115" y2="71" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="000006" x="115" y="70" x2="104" y2="59" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="000006" x="115" y="70" x2="124" y2="59" eletype="LN" valuetype="DE" minval="false" maxonly="false" daynight="false" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="2" replDC="000006" valDC00="-21" colDC00="000000" hideDC00="true" blinkDC00="false" valDC01="-1000" colDC01="000000" hideDC01="false" blinkDC01="false" invertcolor="false"/>
        <LayoutElement type="1" color="000000" x="0" y="77" x2="230" y2="77" eletype="LN" valuetype="FX" minval="false" maxonly="false" daynight="false" radius="0" stroke="2" nr_values="1"/>
    </DIYLayout>

    I dont know about the mem limit could be its just under the limit, fyi tried your first example code and also no changes in the value.

    Just tested with all the other elements removed - no result

  • I will test your code.
    Medium devices are limited to 35 elements.

    My days ago submitted code is over 35. I testet it on my Edge 1030 and it worked fine.

    Just to be sure... Do you work with the newest Clone #6? 
    (at the moment the new value is available on clone #6 only!)