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

 

  • On my tests on „normal outdoor bike-rides“ I found no problem with lapcounter and laptime or lapdistance.

    But I only use „autopause“ and never press the start/stop button for pause. With autopause the lapcounter and laptime is not resettet after continuing riding.

    But you‘re right: if pressing the start/stop button for pause all lap-values are resettet on continuing the ride. Look also the following link. It describes that timer time also gets 00 for a second at restart, but returns then to correct value:

    https://forums.garmin.com/developer/connect-iq/f/showcase/206961/hms-diy-datafield-1

    forums.garmin.com/.../972044

    Concerning lap-counter:

    the Garmin-own-lap counter shows the number of laps you have finished already. I think DIY does it better - it shows the lap you are in.

  • When I think about it, it seems that way:
    All values are reset when the start button is pressed, regardless of whether the activity starts or continues.
    Therefore all values show 00 in the first second after the restart. But if it's not the beginning of an activity, but a restart after a pause, all values taken directly by Garmin (e.g. timer.time or distance) will be displayed correctly after one second. But all values calculated by the app itself are reset.

    Maybe it would be better, not to reset all data at pressing start, but when an activity has really endet by saving or discarding. When timer.time has value 0 and is not runnung.

  • Hi

    I implemented the lap counter to show the lap you are in. I think its how you define it. Would be no problem to change it.

    All values are reset at timer start. I think I could move the reset of all values to the timer stop function, maybe that fixes the problem with the values reset at stop/start, but we will have to try it out.

    regards

    Erich

  • Is it possible to detect the end of an activity? I mean the moment when the device resets the timer to 0 (on save or discard). This would be the ideal moment to reset all variables.

    I think the lapcounter is good as it is now. 

  • Hi. Showing the Lap you are on is fine by me. It was more about the incrementing of the Lap Number & reset of the Lap Time when stopping & starting the timer mid activity that I wanted to highlight.

    Maybe mcinner1's suggestion of resetting the values if the timer is 00:00 & not running might work. To display the Lap Number you are on you could then increment it on initial start of the timer. Following this; if possible only increment the Lap Number & reset the Lap Time when a lap event occurs.

  • PERFETTO! 
    As far as a short test has shown, it now works as it should!
    Positive side effect: the lap time in lap 1 now runs synchronously to the timer time, which was not the case before. The lap time was 1 to 2 seconds behind because of the reset.

    And once again - many thanks for your great work!

  • Excellent. Thank you. I'll update shortly and test it out tomorrow

  • I did a nice tour with my eBike today. On my Edge 1030 I have Jan Capek's IQ ebike-field at the top. Unfortunately the Edge doesn't offer a layout with 2 fields, which I could use. I have to switch to a 3-field layout. To fill the two lower data fields with DIY, I would need a DIY #2.
    I think HM's DIY has now reached a perfect development level, so I'd like to ask if it's possible to think about a clone.



  • Hi

    Just uploaded a #2. Will take some hours till it is approved.

    It can be found here: 

    https://apps.garmin.com/de-DE/apps/75780100-7513-47b8-8353-98e63d9b96b9