• Advertisement

  • Administrator
  •  
    If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
     

Analog Hands Not Displaying (Again)

A branch of the forum to discuss everything that is connected with Amazfit Bip

Moderator: Bip moderators

Post Reply
User avatar
stupdude2
WF maker
United States of America
Posts: 15
Joined: 01 Oct 2018, 14:58
Location: Oneonta, AL
Contact:

Analog Hands Not Displaying (Again)

Post by stupdude2 » 08 Nov 2018, 22:12

I designed a new watchface that works in the Watchface Editor but the hands don't display when it's loaded on my Bip. I made sure that the hands don't use more than 12 points (which was my problem last time). I've pasted the code below. Any help would be appreciated.

Code: Select all

{
    "Background": {
        "Image": {
            "X": 0,
            "Y": 0,
            "ImageIndex": 0
        }
    },
    "Date": {
        "MonthAndDay": {
            "TwoDigitsMonth": true,
            "TwoDigitsDay": false,
            "Separate": {
                "Day": {
                    "TopLeftX": 130,
                    "TopLeftY": 82,
                    "BottomRightX": 145,
                    "BottomRightY": 91,
                    "Alignment": "TopRight",
                    "Spacing": 2,
                    "ImageIndex": 130,
                    "ImagesCount": 10
                }
            }
        }
    },
    "Activity": {
        "Steps": {
            "TopLeftX": 36,
            "TopLeftY": 118,
            "BottomRightX": 78,
            "BottomRightY": 127,
            "Alignment": "TopRight",
            "Spacing": 2,
            "ImageIndex": 30,
            "ImagesCount": 10
        },
        "Distance": {
            "Number": {
                "TopLeftX": 87,
                "TopLeftY": 118,
                "BottomRightX": 145,
                "BottomRightY": 127,
                "Alignment": "TopLeft",
                "Spacing": 2,
                "ImageIndex": 30,
                "ImagesCount": 10
            },
            "SuffixImageIndex": 103,
            "DecimalPointImageIndex": 102
        }
    },
    "AnalogDialFace": {
        "Hours": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Shape": [
                {
                    "X": -2,
                    "Y": 6
                },
                {
                    "X": -12,
                    "Y": 0
                },
                {
                    "X": -2,
                    "Y": -6
                },
                {
                    "X": 38,
                    "Y": -2
                },
                {
                    "X": 36,
                    "Y": -12
                },
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 36,
                    "Y": 12
                },
                {
                    "X": 38,
                    "Y": 2
                }
            ]
        },
        "Minutes": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Shape": [
                {
                    "X": 65,
                    "Y": 2
                },
                {
                    "X": -3,
                    "Y": 6
                },
                {
                    "X": -14,
                    "Y": 0
                },
                {
                    "X": -3,
                    "Y": -6
                },
                {
                    "X": 65,
                    "Y": -2
                },
                {
                    "X": 64,
                    "Y": -6
                },
                {
                    "X": 80,
                    "Y": 0
                },
                {
                    "X": 64,
                    "Y": 6
                }
            ]
        },
        "Seconds": {
            "OnlyBorder": false,
            "Color": "0xFFFFFF",
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Shape": [
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 46,
                    "Y": 4
                },
                {
                    "X": 42,
                    "Y": 1
                },
                {
                    "X": 0,
                    "Y": 1
                },
                {
                    "X": -13,
                    "Y": 3
                },
                {
                    "X": -28,
                    "Y": 0
                },
                {
                    "X": -13,
                    "Y": -3
                },
                {
                    "X": 0,
                    "Y": -1
                },
                {
                    "X": 42,
                    "Y": -1
                },
                {
                    "X": 46,
                    "Y": -4
                },
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 80,
                    "Y": 0
                }
            ],
            "CenterImage": {
                "X": 78,
                "Y": 79,
                "ImageIndex": 46
            }
        }
    }
}
Update1: Experimenting with it today, I've determined that the second hand is causing the problem but I don't know how.

Update 2: I fixed it. The second hand only supports 5 points.

Code: Select all

{
    "Background": {
        "Image": {
            "X": 0,
            "Y": 0,
            "ImageIndex": 0
        }
    },
    "Date": {
        "MonthAndDay": {
            "TwoDigitsMonth": true,
            "TwoDigitsDay": false,
            "Separate": {
                "Day": {
                    "TopLeftX": 130,
                    "TopLeftY": 82,
                    "BottomRightX": 145,
                    "BottomRightY": 91,
                    "Alignment": "TopRight",
                    "Spacing": 2,
                    "ImageIndex": 130,
                    "ImagesCount": 10
                }
            }
        }
    },
    "Activity": {
        "Steps": {
            "TopLeftX": 36,
            "TopLeftY": 118,
            "BottomRightX": 78,
            "BottomRightY": 127,
            "Alignment": "TopRight",
            "Spacing": 2,
            "ImageIndex": 30,
            "ImagesCount": 10
        },
        "Distance": {
            "Number": {
                "TopLeftX": 87,
                "TopLeftY": 118,
                "BottomRightX": 145,
                "BottomRightY": 127,
                "Alignment": "TopLeft",
                "Spacing": 2,
                "ImageIndex": 30,
                "ImagesCount": 10
            },
            "SuffixImageIndex": 103,
            "DecimalPointImageIndex": 102
        }
    },
    "AnalogDialFace": {
        "Hours": {
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Color": "0xFFFFFF",
            "OnlyBorder": false,
            "Shape": [
                {
                    "X": -2,
                    "Y": 6
                },
                {
                    "X": -12,
                    "Y": 0
                },
                {
                    "X": -2,
                    "Y": -6
                },
                {
                    "X": 38,
                    "Y": -2
                },
                {
                    "X": 36,
                    "Y": -12
                },
                {
                    "X": 60,
                    "Y": 0
                },
                {
                    "X": 36,
                    "Y": 12
                },
                {
                    "X": 38,
                    "Y": 2
                }
            ]
        },
        "Minutes": {
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Color": "0xFFFFFF",
            "OnlyBorder": false,
            "Shape": [
                {
                    "X": 65,
                    "Y": 2
                },
                {
                    "X": -3,
                    "Y": 6
                },
                {
                    "X": -14,
                    "Y": 0
                },
                {
                    "X": -3,
                    "Y": -6
                },
                {
                    "X": 65,
                    "Y": -2
                },
                {
                    "X": 64,
                    "Y": -6
                },
                {
                    "X": 80,
                    "Y": 0
                },
                {
                    "X": 64,
                    "Y": 6
                }
            ]
        },
        "Seconds": {
            "Center": {
                "X": 88,
                "Y": 88
            },
            "Color": "0xFFFFFF",
            "OnlyBorder": false,
            "Shape": [
                {
                    "X": -13,
                    "Y": 3
                },
                {
                    "X": -28,
                    "Y": 0
                },
                {
                    "X": -13,
                    "Y": -3
                },
                {
                    "X": 60,
                    "Y": -1
                },
                {
                    "X": 60,
                    "Y": 1
                }
            ],
            "CenterImage": {
                "X": 85,
                "Y": 85,
                "ImageIndex": 46
            }
        }
    }
}
Here is the final watchface: https://amazfitwatchfaces.com/bip/view/?id=15955

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests

  • Advertisement