• 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.
     

image progress

Archive closed topics

Moderators: Internal error, Watchmens

Locked
elParkeur
WF maker
Posts: 5
Joined: 21 Sep 2018, 06:27
Has thanked: 1 time
Been thanked: 1 time
Contact:

image progress

Post by elParkeur »

I recreated the Huawei Watch GT 2 watchface and wanted to use the same image progress indicators as used in the Amazfit Rainbow watchface.

I had a look at the json of the rainbow watchface and I think I added the relevant parts to my json. But although the progress indicators appear in the animated GIF after building the bin file, they do not appear on the watch - neither as full-color ones nor as my images.

Any hints on what I am missing?

Code: Select all

{
  "Background": {
    "Image": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 0
    },
    "Preview": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 1
    }
  },
  "Activity": {
    "Pulse": {
      "TopLeftX": 190,
      "TopLeftY": 335,
      "BottomRightX": 265,
      "BottomRightY": 357,
      "Alignment": "TopCenter",
      "Spacing": 0,
      "ImageIndex": 2,
      "ImagesCount": 10
    },
    "Steps": {
      "Step": {
        "TopLeftX": 294,
        "TopLeftY": 235,
        "BottomRightX": 379,
        "BottomRightY": 257,
        "Alignment": "TopCenter",
        "Spacing": 0,
        "ImageIndex": 2,
        "ImagesCount": 10
      }
    }
  },
  "StepsProgress": {
    "Circle": {
      "CenterX": 337,
      "CenterY": 227,
      "RadiusX": 58,
      "RadiusY": 58,
      "StartAngle": 0,
      "EndAngle": 360,
      "Width": 10,
      "Color": "0x00000000FFD1D1D1",
      "Flatness": 180,
      "ImageIndex": 21
    },
    "ClockHand": {
      "OnlyBorder": false,
      "Color": "0x0000000000000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Shape": {
        "X": 0,
        "Y": 0
      }
    }
  },
  "Date": {
    "MonthAndDay": {
      "OneLine": {
        "Number": {
          "TopLeftX": 215,
          "TopLeftY": 110,
          "BottomRightX": 350,
          "BottomRightY": 134,
          "Alignment": "TopLeft",
          "Spacing": 1,
          "ImageIndex": 30,
          "ImagesCount": 10
        },
        "DelimiterImageIndex": 40
      },
      "TwoDigitsMonth": true,
      "TwoDigitsDay": true
    },
    "WeekDay": {
      "X": 135,
      "Y": 110,
      "ImageIndex": 23,
      "ImagesCount": 7
    }
  },
  "Battery": {
    "Text": {
      "TopLeftX": 75,
      "TopLeftY": 235,
      "BottomRightX": 160,
      "BottomRightY": 257,
      "Alignment": "TopCenter",
      "Spacing": 0,
      "ImageIndex": 2,
      "ImagesCount": 10
    },
    "Unknown4": {
      "OnlyBorder": false,
      "Color": "0x0000000000000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Shape": {
        "X": 0,
        "Y": 0
      }
    },
    "Percent": {
      "X": 0,
      "Y": 0,
      "ImageIndex": 12
    },
    "Scale": {
      "CenterX": 117,
      "CenterY": 227,
      "RadiusX": 58,
      "RadiusY": 58,
      "StartAngle": 0,
      "EndAngle": 360,
      "Width": 10,
      "Color": "0x00000000FFD1D1D1",
      "Flatness": 180,
      "ImageIndex": 21
    }
  },
  "AnalogDialFace": {
    "Seconds": {
      "OnlyBorder": false,
      "Color": "0x0000000000000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Shape": {
        "X": 0,
        "Y": 0
      },
      "Image": {
        "X": 16,
        "Y": 212,
        "ImageIndex": 15
      }
    },
    "Hours": {
      "OnlyBorder": false,
      "Color": "0x0000000000000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Shape": {
        "X": 0,
        "Y": 0
      },
      "Image": {
        "X": 21,
        "Y": 145,
        "ImageIndex": 13
      }
    },
    "Minutes": {
      "OnlyBorder": false,
      "Color": "0x0000000000000000",
      "CenterOffset": {
        "X": 0,
        "Y": 0
      },
      "Shape": {
        "X": 0,
        "Y": 0
      },
      "Image": {
        "X": 21,
        "Y": 203,
        "ImageIndex": 14
      }
    }
  }
}
elParkeur
WF maker
Posts: 5
Joined: 21 Sep 2018, 06:27
Has thanked: 1 time
Been thanked: 1 time
Contact:

Post by elParkeur »

I got a step further. The problem was that both progress indicators used the same color. Defining different colors made the circles appears.

But now the next issue arises. The CenterX and CenterY properties seem to be ignored to some extent. The steps progress always appears on the left side while all others seem to be displayed at the top.

Is this a bug of the py_amazfit_tools or are these properties not supported by the watch?
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 2 guests