Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I code so I can add "steps per hour" to my clock face?

I am extremely new to coding watch faces.  I've been using Fitbit Studio.  I'm doing okay but I cannot figure out how and where (which folders) to add "Steps per hour" to my watch face.  I have the steps line up, but I like to get my 250 steps per hour, and I like to see where I am.  Can anyone help me with this?  Also, how would I add icons to the steps, heartrate, etc?

Best Answer
0 Votes
2 REPLIES 2

The actual UI element that displays the "Steps per Hour" metric should be configured within the resources/index.gui file. It could be as simple as a <text/> element that you update based on calculation done in your code. 

 

As for the calculating the steps each hour, all your code will have to go into your app/index.js file. The guide has some basic examples on how you can display images and manipulate UI elements. Other than that, this list of Open Source clock faces and apps is a great reference for figuring out how different styles can be achieved.

Best Answer
0 Votes

@Kaceyr2000  - Did you try clock faces in the gallery that do that?

 

such as

SimpleClockPro steps per hourSimpleClockPro steps per hour

Author | ch, passion for improvement.

Best Answer
0 Votes