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

Everything is right! But it does not work! hahaha

Archive closed topics

Moderatori: Internal error, Watchmens

Bloccato
Segaji
Messaggi: 2
Iscritto il: 06 mag 2020, 11:35
Località: Porto alegre
Contatta:

Everything is right! But it does not work! hahaha

Messaggio da Segaji »

I don't know how to program in JSON, but these times I started to venture into JSON ...
And then I started making this watchface for MI BAND 5
The problem that in the simulation of WfacePreviewer, shows that everything is ok!
But when I install it on my mi band 5, several features do not work ....

The features that do not work are the following:
- Real Time Temperature
- Minimum and maximum temperature
- Wind
- Moisture
- UV rays
- AM and PM Watch

Codice: Seleziona tutto

{
	"Background": {
		"Image": {
			"X": 1,
			"Y": 0,
			"ImageIndex": 0
		},
		"Preview1": {
			"X": 18,
			"Y": 17,
			"ImageIndex": 0
		},
		"Preview2": {
			"X": 18,
			"Y": 17,
			"ImageIndex": 0
		},
		"Preview3": {
			"X": 18,
			"Y": 17,
			"ImageIndex": 0
		}
	},
	"Time": {
		"Hours": {
			"Tens": {
				"X": 78,
				"Y": 98,
				"ImageIndex": 4,
				"ImagesCount": 10
			},
			"Ones": {
				"X": 100,
				"Y": 98,
				"ImageIndex": 4,
				"ImagesCount": 10
			}
		},
		"Minutes": {
			"Tens": {
				"X": 78,
				"Y": 140,
				"ImageIndex": 4,
				"ImagesCount": 10
			},
			"Ones": {
				"X": 100,
				"Y": 140,
				"ImageIndex": 4,
				"ImagesCount": 10
			}
		},
		"UnknownV11": 0
	},
	"Activity": {
		"Steps": {
			"Number": {
				"TopLeftX": 27,
				"TopLeftY": 242,
				"BottomRightX": 98,
				"BottomRightY": 289,
				"Alignment": "TopLeft",
				"SpacingX": 1,
				"SpacingY": 0,
				"ImageIndex": 50,
				"ImagesCount": 10
			},
			"PrefixImageIndex": 151
		},
		"Calories": {
			"Text": {
				"TopLeftX": 70,
				"TopLeftY": 207,
				"BottomRightX": 119,
				"BottomRightY": 235,
				"Alignment": "TopLeft",
				"SpacingX": 0,
				"SpacingY": 0,
				"ImageIndex": 50,
				"ImagesCount": 10
			},
			"SuffixImageIndex": 146
		},
		"Pulse": {
			"Number": {
				"TopLeftX": 2,
				"TopLeftY": 206,
				"BottomRightX": 55,
				"BottomRightY": 235,
				"Alignment": "TopLeft",
				"SpacingX": 0,
				"SpacingY": 0,
				"ImageIndex": 50,
				"ImagesCount": 10
			},
			"PrefixImageIndex": 147,
			"SuffixImageIndex": 144,
			"NoDataImageIndex": 60
		},
		"Distance": {
			"Number": {
				"TopLeftX": 37,
				"TopLeftY": 225,
				"BottomRightX": 105,
				"BottomRightY": 196,
				"Alignment": "BottomLeft",
				"SpacingX": 0,
				"SpacingY": 0,
				"ImageIndex": 50,
				"ImagesCount": 10
			},
			"KmSuffixImageIndex": 61,
			"DecimalPointImageIndex": 62,
			"MilesSuffixImageIndex": 63
		},
		"PAI": {
			"Number": {
				"TopLeftX": 80,
				"TopLeftY": 36,
				"BottomRightX": 90,
				"BottomRightY": 32,
				"Alignment": "TopRight",
				"SpacingX": 0,
				"SpacingY": 0,
				"ImageIndex": 50,
				"ImagesCount": 10
			}
		},
		"UnknownV7": 0
	},
	"Date": {
		"MonthAndDayAndYear": {
			"Separate": {
				"Month": {
					"TopLeftX": 35,
					"TopLeftY": 185,
					"BottomRightX": 111,
					"BottomRightY": 47,
					"Alignment": "TopLeft",
					"SpacingX": 1,
					"SpacingY": 0,
					"ImageIndex": 14,
					"ImagesCount": 10
				},
				"Day": {
					"TopLeftX": 8,
					"TopLeftY": 185,
					"BottomRightX": 87,
					"BottomRightY": 47,
					"Alignment": "TopLeft",
					"SpacingX": 1,
					"SpacingY": 0,
					"ImageIndex": 14,
					"ImagesCount": 10
				}
			},
			"TwoDigitsMonth": true,
			"TwoDigitsDay": true
		},
		"DayAmPm": {
			"X": 76,
			"Y": 82,
			"ImageIndexAMCN": 46,
			"ImageIndexPMCN": 47,
			"ImageIndexAMEN": 48,
			"ImageIndexPMEN": 49
		},
		"ENWeekDays": {
			"X": 9,
			"Y": 168,
			"ImageIndex": 25,
			"ImagesCount": 7
		},
		"CNWeekDays": {
			"X": 6,
			"Y": 137,
			"ImageIndex": 39,
			"ImagesCount": 7
		},
		"CN2WeekDays": {
			"X": 6,
			"Y": 137,
			"ImageIndex": 32,
			"ImagesCount": 7
		}
	},
	"Weather": {
		"Icon": {
			"CustomIcon": {
				"X": 35,
				"Y": 70,
				"ImageIndex": 64,
				"ImagesCount": 26
			},
			"Unknown3": {
				"X": 35,
				"Y": 30
			},
			"Unknown4": {
				"X": 35,
				"Y": 30
			}
		},
		"UVIndex": {
			"UV": {
				"Text": {
					"TopLeftX": 24,
					"TopLeftY": 36,
					"BottomRightX": 37,
					"BottomRightY": 52,
					"Alignment": "Left",
					"SpacingX": 1,
					"SpacingY": 0,
					"ImageIndex": 50,
					"ImagesCount": 10
				},
				"SuffixImageIndex": 102
			},
			"UVCN": {
				"X": 7,
				"Y": 37,
				"ImageIndex": 103,
				"ImagesCount": 5
			},
			"UVCN2": {
				"X": 7,
				"Y": 37,
				"ImageIndex": 103,
				"ImagesCount": 5
			}
		},
		"Temperature": {
			"Current": {
				"Number": {
					"TopLeftX": 40,
					"TopLeftY": 105,
					"BottomRightX": 124,
					"BottomRightY": 67,
					"Alignment": "Left",
					"SpacingX": 0,
					"SpacingY": 0,
					"ImageIndex": 50,
					"ImagesCount": 10
				},
				"MinusImageIndex": 100,
				"DegreesImageIndex": 142
			},
			"Today": {
				"Separate": {
					"Day": {
						"Number": {
							"TopLeftX": 1,
							"TopLeftY": 90,
							"BottomRightX": 28,
							"BottomRightY": 49,
							"Alignment": "Center",
							"SpacingX": 1,
							"SpacingY": 0,
							"ImageIndex": 50,
							"ImagesCount": 10
						},
						"MinusImageIndex": 100,
						"DegreesImageIndex": 142
					},
					"Night": {
						"Number": {
							"TopLeftX": 1,
							"TopLeftY": 106,
							"BottomRightX": 28,
							"BottomRightY": 51,
							"Alignment": "Center",
							"SpacingX": 1,
							"SpacingY": 0,
							"ImageIndex": 50,
							"ImagesCount": 10
						},
						"MinusImageIndex": 100,
						"DegreesImageIndex": 142
					}
				}
			}
		},
		"Humidity": {
			"Text": {
				"TopLeftX": 9,
				"TopLeftY": 148,
				"BottomRightX": 118,
				"BottomRightY": 283,
				"Alignment": "TopLeft",
				"SpacingX": 0,
				"SpacingY": 0,
				"ImageIndex": 50,
				"ImagesCount": 10
			},
			"SuffixImageIndex": 150
		},
		"Wind": {
			"Text": {
				"TopLeftX": 9,
				"TopLeftY": 130,
				"BottomRightX": 63,
				"BottomRightY": 283,
				"Alignment": "TopLeft",
				"SpacingX": 0,
				"SpacingY": 0,
				"ImageIndex": 50,
				"ImagesCount": 10
			},
			"ImageSuffixEN": 143
		}
	},
	"StepsProgress": {
		"LineScale": {
			"X": 25,
			"Y": 258,
			"ImageIndex": 108,
			"ImagesCount": 10
		}
	},
	"Status": {
		"DoNotDisturb": {
			"Coordinates": {
				"X": 115,
				"Y": 3
			},
			"ImageIndexOn": 119
		},
		"Lock": {
			"Coordinates": {
				"X": 3,
				"Y": 3
			},
			"ImageIndexOff": 120
		},
		"Bluetooth": {
			"Coordinates": {
				"X": 103,
				"Y": 3
			},
			"ImageIndexOff": 118
		}
	},
	"Battery": {
		"BatteryText": {
			"Coordinates": {
				"TopLeftX": 43,
				"TopLeftY": 54,
				"BottomRightX": 81,
				"BottomRightY": 67,
				"Alignment": "TopCenter",
				"SpacingX": 0,
				"SpacingY": 0,
				"ImageIndex": 121,
				"ImagesCount": 10
			},
			"SuffixImageIndex": 131
		},
		"Linear": {
			"StartImageIndex": 132,
			"Segments": [
				{
					"X": 58,
					"Y": 48
				},
				{
					"X": 58,
					"Y": 45
				},
				{
					"X": 58,
					"Y": 42
				},
				{
					"X": 58,
					"Y": 39
				},
				{
					"X": 58,
					"Y": 36
				},
				{
					"X": 58,
					"Y": 33
				},
				{
					"X": 58,
					"Y": 30
				},
				{
					"X": 58,
					"Y": 27
				},
				{
					"X": 58,
					"Y": 24
				},
				{
					"X": 58,
					"Y": 21
				}
			]
		}
	}
}
Avatar utente
Jackall Digital
WF maker
Messaggi: 46
Iscritto il: 20 gen 2020, 14:21
Località: Ljubljana
Has thanked: 1 time
Been thanked: 14 times
Contatta:

Messaggio da Jackall Digital »

Hey Segaji, the fastest way to see what is wrong with your watch face, assuming all mentioned functions actually work in mi band 5, is to download other mi band 5 watch face(s) that have the feature that you want to implement and check how they have done it.
Segaji
Messaggi: 2
Iscritto il: 06 mag 2020, 11:35
Località: Porto alegre
Contatta:

Messaggio da Segaji »

That's the problem!
Because I don't know anyone who has done it
(minimum and maximum temperature)
+ (real-time temperature)
+ (UV rays)
+ (wind level)
+ (humidity level)

and if I understand correctly, these features depend on each other because they are connected to each other ...
yaoun
WF maker
Messaggi: 14
Iscritto il: 02 set 2020, 20:30
Località: France
Has thanked: 3 times
Contatta:

Messaggio da yaoun »

Hi,
I know that there is a bug with the wind in the firmware.
Bloccato

Torna a “Closed topics”

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite