Custom Fields in Activities is not working

Hi,

I’ve been trying to extract some fields from my daughter’s fit file (she has ones I don’t). I can see that her recovery heart rate is at 18.202 but when I edit that in the Fit File Field of the custom field dialog it doesn’t save! Similarly if I try to type in total_steps it won’t save either.

It works if I populate the text from the dropdown list, none of which are helpful, but not if I type the value in.

can you share some screenshots of what you’re referring to? I’m having trouble figuring out which dropdown box it is. Is it the wellness fields update? Or this “Custom Activity Field”?

Can you please message me a link to that activity and I will try reproduce this. Also please post some screenshots. Tx.

It doesn’t matter which activity and indeed I’ve tried this on my account and my daughter’s but here is one of my activities.

I click Custom | Add Field and then the pencil next to Fit File Field
in the text box that pops up I edit Fit File Field and click Save
Back in the Add Field dialog it still shows “None” regardless of what I typed.

That one in your image. Custom Activity field. See screen shots in my other post.

1 Like

From the 1st post, you indicated that the recovery HR data from your daughter is 18.202 (I presume this means 18.202 Beats?)

Off th top of my head/hand, i don’t see any activity which has the recovery HR so I can’t confirm.

However, if the 18.202 is indeed the recovery HR (meaning, the HR post 2min or some x number after stopping the activity is 18.202) Then this should be different from the FIT File Field you’re supposed to input.

the FIT File Field, if you look at the dropDown box, it has (i presume) some fields which was inputed prev by some other users or found in the raw FIT file, these are the “actual field names” that you’re supposed to copy from the FIT file.

if you reference this post

this screenshot is what this FIT File Field is supposed to contain, things like total_training_effect, time_in_hr_zone and all that.

Perhaps you can post a screenshot of the fitfileviewer output data from your FIT file and we can go from there?

The recovery heart rate in my daughter’s fitfile is in record number 18 field xxx202 i.e 18.202
Whether I have that notation correct or not does not change the fact that the value I enter is not saved when I hit save.

= TYPE=10 NAME=session NUMBER=18
— timestamp=1065484183=2023-10-05T23:49:43Z
— start_time=1065313927=2023-10-04T00:32:07Z
— total_elapsed_time=780726=780.726 s
— total_timer_time=780726=780.726 s
— total_distance=0=0.00 m
— unknown110=“Cardio”
— enhanced_avg_speed=0=0.000 km/h
— xxx152=0=0
— message_index=0=selected=0,reserved=0,mask=0
— total_calories=65=65 kcal
— first_lap_index=0=0
— num_laps=1=1
— xxx151=0=0
— xxx178=77=77
— xxx196=16=16
— event=9=lap
— event_type=1=stop
— sport=10=training
— sub_sport=26=cardio_training
— avg_heart_rate=121=121 bpm
— max_heart_rate=156=156 bpm
— total_training_effect=10=1.0
— trigger=0=activity_end
— unknown81=0=0
— total_anaerobic_training_effect=0=0.0
— xxx138=5=5,0
— xxx184=0=0
— xxx202=28=28

While I’m on the topic… in her fit file there’s a field in record 18 of total_steps but there’s also total_steps recorded for every lap. How do you distinguish them? 18.total_steps ??

'll have to leave the rest of the answers to someone else. I’ve never actually seen / have any devices that records all these “.” notations so I have little clue how it works or what I’m supposed to put in to the fit file field.

1 Like

That’s how the fitfile appears in runalyze fitfile viewer. You can see all the fields in the records using that viewer. The site you’re using just shows the named fields.

1 Like

Thanks for the hint… found the site

I too see a lot of
xxx151 and what not… no idea what those means or how to see which are those where some users reference as 140.x fields tho

Those references are x.y where x is the record number and y the field number in that record.
So if you search for number=140 you’ll find a number of mysterious values. I usually use those rather than the named ones like training_effect because my watch is fitness watch and doesn’t record those fields by name.

For example training effect * 10 is recorded at 140.4 i.e. record 140 and field unknown4. My watch doesn’t report training effect so one of the advantages of using intervals for me is being able to see the training effect and recovery time. I love it!

I have a feeling there must be other things hidden in my daughter’s fit file, like intensity minutes for the activity, but sometimes the values are multiplied by a mysterious number like 65536/3.5 which makes them hard to find.

So… following your example
= TYPE=10 NAME=session NUMBER=18
— unknown110=“Cardio”

this means it is at 18.110 = cardio

= TYPE=10 NAME=session NUMBER=18
— xxx178=77=77

and this is 18.178 = 77 (whatever that number is)
is this correct?

Tx for the explanation.

1 Like

Yup. You’ve got it!

1 Like

I finally figure out what was happening here. If you enter a new value and click “Save” without focusing away it doesn’t save. I have implemented a workaround for that.

I tried your “18.202” but that doesn’t bring back anything. Message number 18 is “session” so the field should just appear in the drop down. I checked on fitfileviewer.com and don’t see a field number 202 in the session message.

1 Like

Lovely! Works perfectly, thank you.
Well fit files are different for different watches. I don’t think mine has an 18.202 either but my daughter’s certainly does. Its Recovery Heart Rate.

Actually, it doesn’t appear in all her workouts.

1 Like

If a garmin, I think it’s only written if the user WAITS until the recvery HR is shown on the watch before saving. I think default 2 min after pressing stop?

Yeah. I asked her and she confirmed that sometimes she does and sometimes she doesn’t. I almost never do.

i don’t either… by the time I’m fully stopped, i’m alry finished my ride and have gotten a warmdown

1 Like