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

 

  • <?xml version="1.0" encoding="UTF-8"?>
    <DIYLayout>
        <Device name="fenix 5S Plus"/>
        <LayoutElement type="1" color="FFFFFF" x="120" y="120" x2="0" y2="0" eletype="CF" valuetype="FX" radius="120" stroke="1" nr_values="1"/>
        <LayoutElement type="0" color="000000" x="120" y="9" eletype="TT" text="$H:$M:$S" font="S_NR_MILD" halignment="1" precision="0" nr_values="1"/>
        <LayoutElement type="1" color="808080" x="0" y="47" x2="240" y2="47" eletype="LN" valuetype="FX" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="1" color="616161" x="0" y="104" x2="240" y2="104" eletype="LN" valuetype="FX" radius="0" stroke="4" nr_values="1"/>
        <LayoutElement type="0" color="000000" x="119" y="55" eletype="DS" text="" font="NR_MEDIUM" halignment="0" precision="2" nr_values="1"/>
        <LayoutElement type="0" color="808080" x="221" y="43" eletype="TE" text="" font="MEDIUM" halignment="0" precision="1" nr_values="2"/>
        <LayoutElement type="0" color="000000" x="149" y="45" eletype="FX" text="TE" font="TINY" halignment="2" precision="1" nr_values="2"/>
        <LayoutElement type="0" color="000000" x="124" y="72" eletype="FX" text="TTD" font="TINY" halignment="2" precision="1" nr_values="2"/>
        <LayoutElement type="0" color="808080" x="235" y="69" eletype="TV" text="$M:$S" font="MEDIUM" halignment="0" precision="1" nr_values="2"/>
        <LayoutElement type="0" color="000000" x="146" y="110" eletype="CP" text="$M:$S" font="NR_HOT" halignment="0" precision="1" nr_values="2"/>
        <LayoutElement type="0" color="808080" x="242" y="117" eletype="AP" text="$M:$S" font="NR_MEDIUM" halignment="0" precision="1" nr_values="2"/>
        <LayoutElement type="2" replDC="FFFFFA" valDC00="2400" colDC00="FF0000" valDC01="3120" colDC01="FF8000" valDC02="3420" colDC02="008000" valDC03="3900" colDC03="8080FF" invertcolor="true"/>
        <LayoutElement type="1" color="FFFFFA" x="133" y="109" x2="235" y2="163" eletype="RC" valuetype="FX" radius="0" stroke="7" nr_values="1"/>
        <LayoutElement type="0" color="FF80C0" x="142" y="168" eletype="HR" text="" font="NR_HOT" halignment="0" precision="0" nr_values="1"/>
        <LayoutElement type="2" replDC="FF80C0" valDC00="1600" colDC00="FF0000" valDC01="1470" colDC01="FF8000" valDC02="1390" colDC02="00FF40" valDC03="1270" colDC03="0000FF" valDC04="100" colDC04="000000" invertcolor="false"/>
        <LayoutElement type="1" color="008040" x="130" y="167" x2="230" y2="219" eletype="RF" valuetype="FX" radius="0" stroke="1" nr_values="1"/>
        <LayoutElement type="2" replDC="008040" valDC00="1600" colDC00="FF0000" valDC01="1470" colDC01="FF8000" valDC02="1390" colDC02="00FF40" valDC03="1270" colDC03="80FFFF" valDC04="10" colDC04="000000" invertcolor="false"/>
        <LayoutElement type="0" color="000000" x="208" y="172" eletype="AH" text="" font="NR_MEDIUM" halignment="0" precision="0" nr_values="1"/>
    </DIYLayout>
    

  • Another check I forgot. You set a dynamic color for a graphics element and set the value type to fixed text. It must be a value, fixed text does not work. You have it twice in your layout.

    Will add a check to my todo list.

  • >>>if you create a filled rectangle that is greater than 281 wide or 469 high, which I've used to replicate a white background then the rectangle turns black

    The first element of my 1030-layout is a white filled rectangle over the whole screen and it doesn‘t make any problem.

    <Device name="Edge 1030"/>
    <LayoutElement type="1" color="FFFFFF" x="0" y="0" x2="282" y2="470" eletype="RF" valuetype="FX" radius="0" stroke="1" nr_values="1"/>

    Strange - or did I got you wrong?

  • >>>1.1.3 I created a course to follow and I selected Time to Dest - and it showed 00:00 (Garmin's filed was right). It must be said though that I started the course after I had begun with the workout. I wonder if this is related to the previous "all values are now reset on activity start"? 

    I have set DIST_DESTINATION, TIME_DESTINATION and ETA to my layout and testet it by loading a stored course and by riding with my NEO. All calculated by avg. speed.

    After loading the course the layout shows right figure for DIST_DESTINATION. TIME and ETA are shown as „00“.

    After pressing the start-button on the Edge, the figures for DIST and ETA come to life. Since there is no valid value for avg. speed at the very beginning, it takes some seconds to get reasonable figures.

    But as far I can say - it works perfectly!

  • I just did a run (hence the radio silence :-) )

    I loaded a course on my Fenix 5+ before I started the activity, still I got 00:00 for "Time to dest (avg speed)" - for the whole run. To be honest I had the same issue with this field on the original DIY field.

  • Have you set avg.speed and distance and timer.time as elements on your display, too, so you can check, if they deliver reasonable values after starting your activity?

    (orig DIY worked for me, too)

  • The original Garmin fields work without issues. I have both timer and avg pace and distance. They're all fine.

  • Here is a section of a screenshot of my 1030 during the test-activity:

    HM DIY v1.1.3

    avg. speed = 23.5 km/h

    Timer is at 2 min : 39 sec
    above reads time left = 1 h : 57 min

    Distance (right field) = 1.0 km
    above reads distance left = 46 km

    ETA shows 13:09 (1:09 pm)
    Clock shows 11:12

    I haven't calculated this numbers, but my feeling says: yes - that's ok!

    If you want - let me/us download your XML I will make a test on my NEO.

    (XMLs are all the same for all devices - so I can test on my Edge)

  • You can just use the XML I posted 2 hours ago.