"Tag" for Watch Face Studio to display kilometers and calories?

Is there a “Tag” for Watch Face Studio to display kilometers and calories? It is on different watch faces, but there is no “Tag” in Watch Face Studio. The page does not have Tag expressions | Samsung Developers
Thank you.

There is no tag for calories at one time Samsung Health had deprecated it because they only showed Active calories but I think the new Health has both calories during activity and basal calories. I can add that tag for a feature request.

If you search the forum there is a formula to change step count to miles and Kilometers. It is not as accurate as Samsung Health that knows your height but is pretty good. I don’t know if Health Services has step distance as a data point.

Ron
Samsung Developer Relations

2 Likes

Thank you. Do you mean that the Tag will be added to the new version of the program? If I understand correctly, then good.

Through the search, I searched for kilometers, miles, calories, no results. Only when creating a topic, several topics with the words “calories” and “tag” were shown on the side for keywords.
Opera Снимок_2023-08-24_210256_forum.developer.samsung.com

I don’t know English well, I use a translator. The meaning may be lost in translation.

I figured out the search, I wasn’t looking there, I need it on the page at the top right.

1 Like

a search in the forum would have shown you the topic.

1 Like

For Distance probably not because I only see a data type for active distance daily That was the issue with calories Health only kept track of calories burned during activity. It was a bad user experience when the Tizen Watches had Calories for a Tag.

But since they are in Health Services it may be possible to add tags for them. I can ask.

Ron
Samsung Developer Relations

1 Like

SGWatchDesign, r.liechty_SDP thanks.

1 Like

ishtiaqahmed9834
I found the formula for km in this thread:

Calories per link, given above give SGWatchDesign.

1 Like

use these tags/formula…they work.

1 Like

Thanks.
I for myself brought this figure “0.0412” for calories. Yesterday there were 175 calories inside the watch. According to the formula “0.035” on the dial showed less than inside the watch, where there is information about the steps. Then I tried “0.048”, showed more. I experimented and came out “0.0412”.

Kilometers with “0.762” are the same as hours. Later, somehow it will be necessary to compare by GPS, it will be correct for my walking.

Good job! :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:

(numberFormat(“####”,([SC]*0.04347823)+([HOUR_0_23]601.1808) +([MIN]*1.1808)))

I use that to work out calories burnt (basal + steps). The constant of 1.1808 is derived from the Benedict formula which calculates your daily calorie needs just to stay alive based on your weight, height, and age. Once you have the number of calories you burn from the Benedict formula divide that by the number of minutes in 24 hours, e.g., 1,440. You therefore burn that amount of calories per minute just to keep the body functioning. The other 0.4347823 constant is derived from the calories you burn for each step. You van get this from details on your watch e.g., active calories from steps/steps.

2 Likes

Distance km

((([SC]*0.745)-([SC]*0.745)%1000)/1000% 100 ).((([SC]*0.745)%1000-([SC]*0.745)%100) /100)((([SC]*0.745)%100-([SC]*0.745)%10)/10)

Calories

(([SC]*0.035)%1>0.5?([SC]*0.035)+1- ([SC]*0.035)%1:([SC]*0.035)-([SC]*0.035)%1)

Excuse me @sclaus1965 Because your formula was not Format Protected I think it was corrupted . I have simplified it a bit . But well done Flagging up the Basal . I think the Factor is a bit high . I will check it against some other work that has been done on " Other " Platforms . .
.
.
(round(([SC]*0.0434)+([HOUR_0_23_MIN]*601.1808)))
.
.
I have looked back at some previous work we did on another platform . This formula Reached a consensus . We are all going to have long discussions about the actual Factors because we are all different . The alternative is an App That wants to know when you go to the toilet and you really have to stick to the diet you stipulate .
.
.
(round(([SC]*0.0476)+([HOUR_0_23_MIN]*75)))

1 Like

Is your 2nd (bottom) formula for calculating distance in Km?

1 Like

@asadulhuq . I don’t know what link you are posting . But it is irrelevant to show all the comments I have made on this Forum . If you want to invoke a respondent just type a @ and you will get a drop down of the Respondents in that Topic . Just Tap on the respondents name . They will the get a Flag or a Notification .
.
No I have not shown Formulas for Distance . Obviously they don’t have the Basal but the basic formula is exactly the same we just have to find a good average factor . All those notes are on my Laptop .
But for example if we assumed a step was a meter the Formula would be .

(([SC])*0.001)km

But this will give you a silly number of decimals . We need to format the number some way . for Distance I go to 2 decimal . which Basicaly is the nearest 10 steps .

So we could try

(round(([SC])*0.1)/100)

I have not tested this .
It is a Grunt method to format a number .
I get very confused by the WFS onboard Formatter .

If you look on the Internet for steps to Km and Miles you will get several different Factors . Chose one that will suit your Bio Metrics or that of your audience . Step count is not that precise a science unless to wear a Pedometer and converting it to distance can only be just for Fun .

I see on the Internet a good average for Steps per Km is 1300
So that would make your Factor 0.077.

For miles I see 2200 so the Factor will be . 1000/2200 which is .454545 so the Basic pre formatted factor is 0.045

Thank you for your reply. I am sorry that I posted irrelevant materials. I will try to remove those now. Please pardon me since I am new to this field and hence I should be careful while I post some materials. Thanks again for the formula for distance calculation. I think the height of a person may play a role to adjust the step size which might be obtained from the samsung health app (?). As far as I remember Xiaomi requires to fill up an option with number of steps and the corresponding travelled distance (requires measuring tape). They also take height data and weight of the user to calculate step size and distance. Asad.

1 Like

Yes . You can Calibrate the factor for yourself . But for other users you need a good average . There is no way to input your Biometrics to a WFS Face .

1 Like

This formula for Km works well on my Galaxy 6 Classic watch face using WFS. I did not check the accuracy of the formula yet. Asad

1 Like

You will have to go for a walk with Strava switched on . Or a good map .

1 Like