Weather Available Now
Posted: 06 Sep 2019, 18:36
Weather Available now on stock watch faces! I hope soon it will be on custom faces!!
Wow, can you share pls files & code?
Install python and pillowsiddartha001 wrote: 04 Nov 2019, 17:25Is it possible to create a tutorial with screenshots step by step in english for non developers? So that we also can create our watchfaces with weather now and can unpack and pack the bin files please?![]()
Code: Select all
"Weather": {
"Icon": {
"Images": {
"X": 227,
"Y": 88,
"ImageIndex": 16,
"ImagesCount": 25
},
"NoWeatherImageIndex": 41
},
"Temperature": {
"Current": {
"TopLeftX": 220,
"TopLeftY": 126,
"BottomRightX": 271,
"BottomRightY": 143,
"Alignment": "Center",
"Spacing": 0,
"ImageIndex": 42,
"ImagesCount": 10
},
"Today": {
"Separate": {
"Day": {
"TopLeftX": 120,
"TopLeftY": 126,
"BottomRightX": 171,
"BottomRightY": 143,
"Alignment": "Left",
"Spacing": 0,
"ImageIndex": 42,
"ImagesCount": 10
},
"Night": {
"TopLeftX": 250,
"TopLeftY": 126,
"BottomRightX": 290,
"BottomRightY": 143,
"Alignment": "Right",
"Spacing": 0,
"ImageIndex": 42,
"ImagesCount": 10
}
},
"AppendDegreesForBoth":1
},
"Symbols": {
"Unknown0800": 0,
"MinusImageIndex": 52,
"DegreesImageIndex": 53,
"NoDataImageIndex": 54
}
}
}no, use "dev_gtr" branchjetherson wrote: 08 Nov 2019, 07:48I can't seem to unpack these new WF with weather data using the latest py_amazfit_tools-gtr. Any ideas? Thanks.
Thank you very much! Will try.murigny64 wrote: 06 Nov 2019, 17:40Install python and pillowsiddartha001 wrote: 04 Nov 2019, 17:25Is it possible to create a tutorial with screenshots step by step in english for non developers? So that we also can create our watchfaces with weather now and can unpack and pack the bin files please?![]()
You have to use github.c o m/lolyinseo/py_amazfit_tools/tree/dev_gtr
weather synthax:
Code: Select all
"Weather": { "Icon": { "Images": { "X": 227, "Y": 88, "ImageIndex": 16, "ImagesCount": 25 }, "NoWeatherImageIndex": 41 }, "Temperature": { "Current": { "TopLeftX": 220, "TopLeftY": 126, "BottomRightX": 271, "BottomRightY": 143, "Alignment": "Center", "Spacing": 0, "ImageIndex": 42, "ImagesCount": 10 }, "Today": { "Separate": { "Day": { "TopLeftX": 120, "TopLeftY": 126, "BottomRightX": 171, "BottomRightY": 143, "Alignment": "Left", "Spacing": 0, "ImageIndex": 42, "ImagesCount": 10 }, "Night": { "TopLeftX": 250, "TopLeftY": 126, "BottomRightX": 290, "BottomRightY": 143, "Alignment": "Right", "Spacing": 0, "ImageIndex": 42, "ImagesCount": 10 } }, "AppendDegreesForBoth":1 }, "Symbols": { "Unknown0800": 0, "MinusImageIndex": 52, "DegreesImageIndex": 53, "NoDataImageIndex": 54 } } }
ive tried to unpack a watchface for gtr 47 with both brances gtr and gtr_devsiddartha001 wrote: 08 Nov 2019, 15:54Thank you very much! Will try.murigny64 wrote: 06 Nov 2019, 17:40Install python and pillowsiddartha001 wrote: 04 Nov 2019, 17:25Is it possible to create a tutorial with screenshots step by step in english for non developers? So that we also can create our watchfaces with weather now and can unpack and pack the bin files please?![]()
You have to use github.c o m/lolyinseo/py_amazfit_tools/tree/dev_gtr
weather synthax:
Code: Select all
"Weather": { "Icon": { "Images": { "X": 227, "Y": 88, "ImageIndex": 16, "ImagesCount": 25 }, "NoWeatherImageIndex": 41 }, "Temperature": { "Current": { "TopLeftX": 220, "TopLeftY": 126, "BottomRightX": 271, "BottomRightY": 143, "Alignment": "Center", "Spacing": 0, "ImageIndex": 42, "ImagesCount": 10 }, "Today": { "Separate": { "Day": { "TopLeftX": 120, "TopLeftY": 126, "BottomRightX": 171, "BottomRightY": 143, "Alignment": "Left", "Spacing": 0, "ImageIndex": 42, "ImagesCount": 10 }, "Night": { "TopLeftX": 250, "TopLeftY": 126, "BottomRightX": 290, "BottomRightY": 143, "Alignment": "Right", "Spacing": 0, "ImageIndex": 42, "ImagesCount": 10 } }, "AppendDegreesForBoth":1 }, "Symbols": { "Unknown0800": 0, "MinusImageIndex": 52, "DegreesImageIndex": 53, "NoDataImageIndex": 54 } } }![]()
2019-11-08 19:05:19,067 - root - WARNING - [ParamConv: pars e] currentPath 6 / Parameter 6 isn't supported for <class 'watchFaceParser.watchFace .WatchFace'>
2019-11-08 19:05:19,067 - root - CRITICAL - Parameter 6 isn't supported for <class 'watchFacePa rser .watchF ace .Wat chFa ce'>
Traceback (most recent call last):
File "program .py ", line 160, in parseResources
File " watchFaceParser\utils\parametersConv erter. py", line 79, in parse
IndexEr ror: Parameter 6 isn't supported for <class 'watc hFacePar ser.watchF ace.Wat chFdace'>