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.

StepsProgress parameters

Archive closed topics

Moderadores: Internal error, Watchmens

Cerrado
potplanty

StepsProgress parameters

Mensaje por potplanty »

Hi all,

First time owner of a Bip and less than 24h later I'm already loving it so much that I'm modifying watchfaces. I've become stuck on a certain feature though from a watchface I downloaded through Notify (see attachment).

The face has a progress bar running from left to right on the screen that the JSON file shows is for "StepsProgress" with the type "linear" below it. Can anyone explain what this is all about? My steps goal is set to 10000 but currently on 3104 steps it's showing 75% of the bar full which makes me wonder if it thinks the goal is 4000 steps.

Where does it pull the steps goal from? I've checked Notify&Fitness and it has the steps goal set to 10000 so I'm not sure where else it might be getting it from. I can't find any other line in the JSON that signifies a step count so I'm a little lost. I've only got the Notify&Fitness app installed, not MiFit. Any help would be fantastic.

Edit: I've gone 5073 steps now and the StepsProgress bar dropped back to about 50% at some point in the day and has slowly increased back to 80% full now. Really confusing stuff :?

Thanks all!
Adjuntos
Watchface.zip
Precompiled and decompiled watchface
(52.98 KiB) Descargado 140 veces
Avatar de Usuario
TXK
Mensajes: 302
Registrado: 10 Abr 2018, 05:15
Ubicación: china
Has thanked: 150 times
Been thanked: 99 times
Contactar:

Mensaje por TXK »

You have 20 pairs of coordinates.
Try not to have more than 13 pairs of stepsprogress coordinates. What's the maximum support? I forgot

"StepsProgress": {
"Linear": {
"StartImageIndex": 79,
"Segments": [
{
"X": 0,
"Y": 109
},
{
"X": 9,
"Y": 109
},
{
"X": 18,
"Y": 109
},
{
"X": 27,
"Y": 109
},
{
"X": 36,
"Y": 109
},
{
"X": 45,
"Y": 109
},
{
"X": 54,
"Y": 109
},
{
"X": 63,
"Y": 109
},
{
"X": 72,
"Y": 109
},
{
"X": 81,
"Y": 109
},
{
"X": 90,
"Y": 109
},
{
"X": 99,
"Y": 109
},
{
"X": 108,
"Y": 109
},
{
"X": 117,
"Y": 109
},
{
"X": 126,
"Y": 109
},
{
"X": 135,
"Y": 109
},
{
"X": 144,
"Y": 109
},
{
"X": 153,
"Y": 109
},
{
"X": 162,
"Y": 109
},
{
"X": 171,
"Y": 109
}
]
}
},
potplanty

Mensaje por potplanty »

TXK escribió: 12 Dic 2019, 00:18
You have 20 pairs of coordinates.
Try not to have more than 13 pairs of stepsprogress coordinates. What's the maximum support? I forgot
This was a watchface I downloaded, not created but thanks for the info. Is it likely that the progress bar will work correctly and pickup the 10000 step goal if I have ten or so coordinates instead of twenty? Seems the 8000 step goal is just an arbitrary number that they've selected unless setting it later actually does change the StepsProgress parameter.
Avatar de Usuario
TXK
Mensajes: 302
Registrado: 10 Abr 2018, 05:15
Ubicación: china
Has thanked: 150 times
Been thanked: 99 times
Contactar:

Mensaje por TXK »

potplanty escribió: 15 Dic 2019, 11:43
TXK escribió: 12 Dic 2019, 00:18
You have 20 pairs of coordinates.
Try not to have more than 13 pairs of stepsprogress coordinates. What's the maximum support? I forgot
This was a watchface I downloaded, not created but thanks for the info. Is it likely that the progress bar will work correctly and pickup the 10000 step goal if I have ten or so coordinates instead of twenty? Seems the 8000 step goal is just an arbitrary number that they've selected unless setting it later actually does change the StepsProgress parameter.
As long as the coordinates are less than 13 pairs (maybe 15 pairs), it will display normally
potplanty

Mensaje por potplanty »

TXK escribió: 16 Dic 2019, 01:22
As long as the coordinates are less than 13 pairs (maybe 15 pairs), it will display normally
Awesome. Looks like I've got some modifying to do. Cheers mate.
Cerrado

Volver a “Closed topics”

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado