• Адміністратор
  •  
    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.
     

Json syntax

Archive closed topics

Модератори: Internal error, Watchmens

Закрито
Tugas
WF maker
Повідомлень: 17
З нами з: 30 листопада 2019, 21:09
Has thanked: 7 times
Been thanked: 3 times
Контактна інформація:

Json syntax

Повідомлення Tugas »

Hi

Anyone can display all the syntax of the json so we use all the possible functons.

For example is possible display milliseconds?
Make a smooth seconds hand.
A custom timer to make animations faster than 1fps.
Display an animated gif image...

Thanks 4 your time.
hikashi
WF maker
Повідомлень: 16
З нами з: 18 листопада 2019, 14:48
Has thanked: 1 time
Been thanked: 14 times
Контактна інформація:

Повідомлення hikashi »

Not possible now.
So far our wf tools at its early stage compared to miband4 that also uses .bin files.
Tugas
WF maker
Повідомлень: 17
З нами з: 30 листопада 2019, 21:09
Has thanked: 7 times
Been thanked: 3 times
Контактна інформація:

Повідомлення Tugas »

WF for the MI Band 4, uses this to add animation...

"Other": {
"Animation": {
"AnimationImage": {
"X": 20, //Coordinate
"Y": 140,
"ImageIndex": 79,// The starting picture number
"ImageCount": 326, / / the total number of pictures
"X3": 0
},
"x1": 0, / / picture interval time, below 50 will not flash.
"y1": 50, / / number of loops
"Interval": 200
}
}

anyone know if this works?

Thanks
hikashi
WF maker
Повідомлень: 16
З нами з: 18 листопада 2019, 14:48
Has thanked: 1 time
Been thanked: 14 times
Контактна інформація:

Повідомлення hikashi »

Tugas писав: 12 грудня 2019, 11:11
WF for the MI Band 4, uses this to add animation...

"Other": {
"Animation": {
"AnimationImage": {
"X": 20, //Coordinate
"Y": 140,
"ImageIndex": 79,// The starting picture number
"ImageCount": 326, / / the total number of pictures
"X3": 0
},
"x1": 0, / / picture interval time, below 50 will not flash.
"y1": 50, / / number of loops
"Interval": 200
}
}

anyone know if this works?

Thanks
Yea i tried some of the syntax ie heart, linear step progress, animation in the json file. The current wf tools has yet to support to it. Wf tool dev is currently working hard on it.
Tugas
WF maker
Повідомлень: 17
З нами з: 30 листопада 2019, 21:09
Has thanked: 7 times
Been thanked: 3 times
Контактна інформація:

Повідомлення Tugas »

Cool, so its only because wf tool support
Аватар користувача
Maikeldevil
Повідомлень: 64
З нами з: 17 серпня 2019, 12:05
Звідки: unknown
Has thanked: 3 times
Been thanked: 44 times
Контактна інформація:

Повідомлення Maikeldevil »

I truly hope the watch supports miliseconds hand one day, looks way smoother! Altough i have many more wishes to add to the tool like some original watchfaces has:

- Separate segments in images for step and heart progress
- Stopwatch function
- Animations
- Realtime chrono pointers (for battery and stepprogress instead of loose images) Would love this the most.

If these options could be added it would be awesome! I think animations are the least important becease they take way to much space (mb's)
Tugas
WF maker
Повідомлень: 17
З нами з: 30 листопада 2019, 21:09
Has thanked: 7 times
Been thanked: 3 times
Контактна інформація:

Повідомлення Tugas »

Maikeldevil писав: 16 грудня 2019, 08:09
I truly hope the watch supports miliseconds hand one day, looks way smoother! Altough i have many more wishes to add to the tool like some original watchfaces has:

- Separate segments in images for step and heart progress
- Stopwatch function
- Animations
- Realtime chrono pointers (for battery and stepprogress instead of loose images) Would love this the most.

If these options could be added it would be awesome! I think animations are the least important becease they take way to much space (mb's)
I love animations, i think that small animations as mi band 4 have, dont be heavy...
One example from sammung https://youtu.be/8w7WIclDlFw
Аватар користувача
Maikeldevil
Повідомлень: 64
З нами з: 17 серпня 2019, 12:05
Звідки: unknown
Has thanked: 3 times
Been thanked: 44 times
Контактна інформація:

Повідомлення Maikeldevil »

Tugas писав: 16 грудня 2019, 14:55
Maikeldevil писав: 16 грудня 2019, 08:09
I truly hope the watch supports miliseconds hand one day, looks way smoother! Altough i have many more wishes to add to the tool like some original watchfaces has:

- Separate segments in images for step and heart progress
- Stopwatch function
- Animations
- Realtime chrono pointers (for battery and stepprogress instead of loose images) Would love this the most.

If these options could be added it would be awesome! I think animations are the least important becease they take way to much space (mb's)
I love animations, i think that small animations as mi band 4 have, dont be heavy...
One example from sammung https://youtu.be/8w7WIclDlFw
That, example you give is not really a small animation XD it uses the full screen and to get the smooth transition you have to use more frames. I think it cost around 4 mb to make an animation like that XD. I made some miband4 faces some time ago and really bumped against the fact it uses a lot of space..
Аватар користувача
Lordalpine
WF maker
Повідомлень: 62
З нами з: 09 жовтня 2019, 22:09
Звідки: Santo Tirso
Has thanked: 6 times
Been thanked: 35 times
Контактна інформація:

Повідомлення Lordalpine »

All the thing I Know^^

Код: Виділити все

{
  "Background": {
    "Image": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 0
    },
    "Preview": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 1
    }
  },
  "Time": {
    "Hours": {
      "Tens": {
        "X": 0,
        "Y": 0,
        "ImageIndex": 2,
        "ImagesCount": 10
      },
      "Ones": {
        "X": 0,
        "Y": 0,
        "ImageIndex": 2,
        "ImagesCount": 10
      }
    },
    "AmPm": {
      "X": 0,
      "Y": 0,
      "ImageIndexAMCN": 2,
      "ImageIndexPMCN": 2,
      "ImageIndexAMEN": 2,
      "ImageIndexPMEN": 2
    },
    "Delimiter": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 2
    }
  },
  "Activity": {
    "StepsGoal": {
      "TopLeftX": 0,
      "TopLeftY": 0,
      "BottomRightX": 0,
      "BottomRightY": 0,
      "Alignment": "TopLeft",
      "Spacing": 0,
      "ImageIndex": 2,
      "ImagesCount": 10
    },
    "Calories": {
      "TopLeftX": 0,
      "TopLeftY": 0,
      "BottomRightX": 0,
      "BottomRightY": 0,
      "Alignment": "TopLeft",
      "Spacing": 0,
      "ImageIndex": 2,
      "ImagesCount": 10
    },
    "Pulse": {
      "TopLeftX": 167,
      "TopLeftY": 293,
      "BottomRightX": 0,
      "BottomRightY": 0,
      "Alignment": "Center",
      "Spacing": 0,
      "ImageIndex": 2,
      "ImagesCount": 10
    },
    "Distance": {
      "Number": {
        "TopLeftX": 0,
        "TopLeftY": 0,
        "BottomRightX": 0,
        "BottomRightY": 0,
        "Alignment": "TopLeft",
        "Spacing": 0,
        "ImageIndex": 2,
        "ImagesCount": 10
      },
      "SuffixImageIndex": 2,
      "DecimalPointImageIndex": 2
    },
    "Steps": {
      "Step": {
        "TopLeftX": 0,
        "TopLeftY": 0,
        "BottomRightX": 0,
        "BottomRightY": 0,
        "Alignment": "TopLeft",
        "Spacing": 0,
        "ImageIndex": 2,
        "ImagesCount": 10
      }
    },
    "StarImage": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 88
    }
  },
  "Date": {
    "MonthAndDay": {
      "Separate": {
        "Month": {
          "TopLeftX": 0,
          "TopLeftY": 0,
          "BottomRightX": 0,
          "BottomRightY": 0,
          "Alignment": "TopLeft",
          "Spacing": 1,
          "ImageIndex": 2,
          "ImagesCount": 10
        },
        "MonthName": {
          "X": 337,
          "Y": 208,
          "ImageIndex": 14,
          "ImagesCount": 12
        },
        "Day": {
          "TopLeftX": 214,
          "TopLeftY": 369,
          "BottomRightX": 0,
          "BottomRightY": 0,
          "Alignment": "TopLeft",
          "Spacing": 0,
          "ImageIndex": 2,
          "ImagesCount": 10
        }
      },
      "TwoDigitsMonth": true,
      "TwoDigitsDay": true
    },
    "WeekDay": {
      "X": 56,
      "Y": 208,
      "ImageIndex": 26,
      "ImagesCount": 7
    }
  },
  "Weather": {
    "Icon": {
      "Images": {
        "X": 212,
        "Y": 284,
        "ImageIndex": 33,
        "ImagesCount": 25
      },
      "NoWeatherImageIndex": 58
    },
    "Temperature": {
      "Current": {
        "TopLeftX": 260,
        "TopLeftY": 293,
        "BottomRightX": 0,
        "BottomRightY": 0,
        "Alignment": "Center",
        "Spacing": 0,
        "ImageIndex": 2,
        "ImagesCount": 10
      },
      "Today": {
        "Separate": {
          "Day": {
            "TopLeftX": 0,
            "TopLeftY": 0,
            "BottomRightX": 0,
            "BottomRightY": 0,
            "Alignment": "TopLeft",
            "Spacing": 0,
            "ImageIndex": 2,
            "ImagesCount": 10
          },
          "Night": {
            "TopLeftX": 0,
            "TopLeftY": 0,
            "BottomRightX": 0,
            "BottomRightY": 0,
            "Alignment": "TopLeft",
            "Spacing": 0,
            "ImageIndex": 2,
            "ImagesCount": 10
          }
        },
        "AppendDegreesForBoth": true
      },
      "Symbols": {
        "Unknown0800": 0,
        "MinusImageIndex": 59,
        "DegreesImageIndex": 60,
        "NoDataImageIndex": 60
      }
    }
  },
  "StepsProgress": {
    "Circle": {
      "CenterX": 1,
      "CenterY": 1,
      "RadiusX": 1,
      "RadiusY": 1,
      "StartAngle": 225,
      "EndAngle": 495,
      "Width": 4,
      "Color": "0x00FF8C00",
      "Flatness": 0
    }
  },
  "Status": {
    "Bluetooth": {
      "Coordinates": {
        "X": 108,
        "Y": 272
      },
      "ImageIndexOn": 61,
      "ImageIndexOff": 62
    },
    "Alarm": {
      "Coordinates": {
        "X": 324,
        "Y": 269
      },
      "ImageIndexOn": 63,
      "ImageIndexOff": 88
    },
    "Lock": {
      "Coordinates": {
        "X": 327,
        "Y": 169
      },
      "ImageIndexOn": 64,
      "ImageIndexOff": 65
    },
    "DoNotDisturb": {
      "Coordinates": {
        "X": 108,
        "Y": 169
      },
      "ImageIndexOn": 66,
      "ImageIndexOff": 67
    }
  },
  "Battery": {
    "Text": {
      "TopLeftX": 0,
      "TopLeftY": 0,
      "BottomRightX": 0,
      "BottomRightY": 0,
      "Alignment": "TopLeft",
      "Spacing": 0,
      "ImageIndex": 2,
      "ImagesCount": 10
    },
    "Images": {
      "X": 217,
      "Y": 389,
      "ImageIndex": 68,
      "ImagesCount": 6
    },
    "Percent": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 2
    },
    "Scale": {
      "CenterX": 0,
      "CenterY": 0,
      "RadiusX": 0,
      "RadiusY": 0,
      "StartAngle": 225,
      "EndAngle": 495,
      "Width": 4,
      "Color": "0x00FF8C00",
      "Flatness": 0
    }
  },
  "AnalogDialFace": {
    "Hours": {
      "OnlyBorder": false,
      "Color": "0x00000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Image": {
        "X": 17,
        "Y": 148,
        "ImageIndex": 74
      }
    },
    "HourCenterImage": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 2
    },
    "Minutes": {
      "OnlyBorder": false,
      "Color": "0x00000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Image": {
        "X": 14,
        "Y": 213,
        "ImageIndex": 75
      }
    },
    "MinCenterImage": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 2
    },
    "Seconds": {
      "OnlyBorder": false,
      "Color": "0x00000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Image": {
        "X": 19,
        "Y": 228,
        "ImageIndex": 76
      }
    },
    "SecCenterImage": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 2
    }
  }
}
The memory available for skin..... The biggest problem^^ for the GTR or Miband...
Honnestly I don't care to make 100 Png for 1% battery or create animation frame per frame like the samsung S2 pulsing thing.


Damn^^ I would like to have a Stratos GTR 3 47mm
Json [ Bin ] when screen is ON / Wfz skin when screen is AOD ... the screen of the GTR, lightweight of the GTR, the GPS Hardware // sport function of the Stratos, Drive space of the Stratos, all in Titanium colour and Saphire screen like the Stratos 2.... with a silicon band and a Full Leather band [ Festina F16235 - or Tag Heuer Monaco Calibre 36, they are the same leather band, lite Croco effect, Black with Red stitching [ Yeah I'm dreamin^^ ]

I don't care about wear OS [ Like the new Nexo 2 ]
Tugas
WF maker
Повідомлень: 17
З нами з: 30 листопада 2019, 21:09
Has thanked: 7 times
Been thanked: 3 times
Контактна інформація:

Повідомлення Tugas »

Maikeldevil писав: 16 грудня 2019, 15:48
Tugas писав: 16 грудня 2019, 14:55
Maikeldevil писав: 16 грудня 2019, 08:09
I truly hope the watch supports miliseconds hand one day, looks way smoother! Altough i have many more wishes to add to the tool like some original watchfaces has:

- Separate segments in images for step and heart progress
- Stopwatch function
- Animations
- Realtime chrono pointers (for battery and stepprogress instead of loose images) Would love this the most.

If these options could be added it would be awesome! I think animations are the least important becease they take way to much space (mb's)
I love animations, i think that small animations as mi band 4 have, dont be heavy...
One example from sammung https://youtu.be/8w7WIclDlFw
That, example you give is not really a small animation XD it uses the full screen and to get the smooth transition you have to use more frames. I think it cost around 4 mb to make an animation like that XD. I made some miband4 faces some time ago and really bumped against the fact it uses a lot of space..
Ya is a big animation lol, but is cool.
I was even happy with basic animations like MIBAND 4 already supports...
abofaris014
WF maker
Повідомлень: 3
З нами з: 25 вересня 2020, 04:56
Звідки: Qassim
Has thanked: 1 time
Контактна інформація:

Повідомлення abofaris014 »

Lordalpine писав: 19 грудня 2019, 21:05
All the thing I Know^^

Код: Виділити все

{

  "Status": {
  
    "Alarm": {
      "Coordinates": {
        "X": 324,
        "Y": 269
      },
      "ImageIndexOn": 63,
      "ImageIndexOff": 88
    },
   
}
The memory available for skin..... The biggest problem^^ for the GTR or Miband...
Honnestly I don't care to make 100 Png for 1% battery or create animation frame per frame like the samsung S2 pulsing thing.


Damn^^ I would like to have a Stratos GTR 3 47mm
Json [ Bin ] when screen is ON / Wfz skin when screen is AOD ... the screen of the GTR, lightweight of the GTR, the GPS Hardware // sport function of the Stratos, Drive space of the Stratos, all in Titanium colour and Saphire screen like the Stratos 2.... with a silicon band and a Full Leather band [ Festina F16235 - or Tag Heuer Monaco Calibre 36, they are the same leather band, lite Croco effect, Black with Red stitching [ Yeah I'm dreamin^^ ]

I don't care about wear OS [ Like the new Nexo 2 ]



Alarm Status is not working with Mi Band 5!!
Закрито

Повернутись до “Closed topics”

Хто зараз онлайн

Зараз переглядають цей форум: Немає зареєстрованих користувачів і 1 гість