• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

Math operations, conditions, if, then, else, switch, case [Mi Band 6]

Topics for the request of watch faces development.

Moderators: asoo, Watchmens

Forum rules
All communication in this branch should only be in English.
Post Reply
MatusLoew
Posts: 2
Joined: 11 Jan 2022, 13:08
Location: Slovakia
Has thanked: 1 time
Contact:

Math operations, conditions, if, then, else, switch, case [Mi Band 6]

Post by MatusLoew »

Hello.

I would like to have custom face with Programming features.

E.g.: hours in roman numbers, hours with decimal places instead of minutes, rounding of minutes, sum of steps from last 5 days, each 3rd hour with red colour (0, 3, 6, 9, 12, 15, 18, 21), and everything what is possible by using if, else, switch, +, -, *, /, mod.

I cannot find how to use these Programming features in Json.
Can you help, or share the example, please?

Thank you :)
User avatar
Jackall Digital
WF maker
Posts: 46
Joined: 20 Jan 2020, 14:21
Location: Ljubljana
Has thanked: 1 time
Been thanked: 14 times
Contact:

Post by Jackall Digital »

Hello MatusLoew

I'm guessing this would be for the mi band 6? Are you sure something like this is even possible, or where did you get this idea from? As far as I know the only calculation the mi band does is in the analog clocks to calculate the position of the clock hands to be drawn.
MatusLoew
Posts: 2
Joined: 11 Jan 2022, 13:08
Location: Slovakia
Has thanked: 1 time
Contact:

Post by MatusLoew »

Hello Jackall Digital,

Thank you for your answer. Yes, mi band 6. I was just expecting that it can calculate since there is mikroprocessor. I hoped that I can use Java script.
Post Reply

Return to “Watchfaces creation (order table)”

Who is online

Users browsing this forum: No registered users and 0 guests