twinko / Amazfit-watchface-Xdrip-guide

Here you can find a guide / tutorial on how to adapt a watchface to the needs of xdrip support. Main credit goes to Artem Kovalenko aka bigdigital.
18 stars 11 forks source link

Feedback 01-WF-MD225-Version3-xdrip-ready #9

Closed twinko closed 3 years ago

twinko commented 3 years ago

Hi looking for a tester with an GTR 2e to test a different watchface. You would have to insert these 3 files into the xdrip folder and enable custom watchface in xdrip settings. https://github.com/twinko/GTR-2-WF-Xdrip-EN/tree/main/01-WF-MD225-Version3-xdrip-ready Watchface should look something like this: https://github.com/twinko/GTR-2-WF-Xdrip-EN/blob/main/01-WF-MD225-Version2/Preview3.gif

Be aware, i didnt received my watch yet, so it was never tested before. It could result in a reset of the watch/xdrip or worse (even though i doubt that).

Things that im interested in:

  1. how long does it take for the watchface to apply (need the exact seconds).
  2. a picture would be great, because i had some trouble with the alignment of some information.

Thanky ou in advance

ModanoPL commented 3 years ago

For me it did not upload new custom watchface. I turned on custom watchface on xdrip wearable devices options, but it stoped uploading any xdrip watchface. I checked xdrip Event Log and theres no activity related with MiBandService.

twinko commented 3 years ago

@ModanoPL thank you for the response, you put the files in the xdrip folder before you tried right?

ModanoPL commented 3 years ago

@ModanoPL thank you for the response, you put the files in the xdrip folder before you tried right?

Yup. I backup existing files and copy all new files from link above.

twinko commented 3 years ago

*edit AHHHHHHHHH i found the mistake. please download the config again. i named it "config.json" not "my_config.json" https://github.com/twinko/GTR-2-WF-Xdrip-EN/tree/main/01-WF-MD225-Version3-xdrip-ready

@ModanoPL hmm that's strange I'm a little confused by "existing files" shouldnt be a lot inside. There should be only export files (you created by yourself in xdrip). Needed xdrip folder is found here:

at least thats the case on my Samsung s8.

ModanoPL commented 3 years ago

Still no success. Theres is my xdrip folder files on phone internal memory. Screenshot_20210727-131349_Solid Explorer Still when turning on xdrip custom faces option it only showing last uploaded GB level on stock watchface and it wont change it till turning that option off.

ModanoPL commented 3 years ago

Im using pretty new Samsung A52 and fresh installed modified xdrip.

twinko commented 3 years ago

@ModanoPL thank you for trying!!! I'll have a look at this again tomorrow and asked Artem for advice.

bigdigital commented 3 years ago

Hi. I've tried to upload your custom watcface, but there were a problems related to config file. At first, the correct name for config is config.json(like you had before) . Also the color format for graph background was wrong. Here is how it should be defined https://developer.android.com/reference/android/graphics/Color#parseColor(java.lang.String) . And finally the resource_to_replace. The resources count started from 0 so in your case, you need to use value 44 instead of 45.

gtr2e

VID_20210728_122700(0)

config.zip

bigdigital commented 3 years ago

I've corrected some elements positions to they fits better now IMG_20210728_130936 config.zip

twinko commented 3 years ago

@bigdigital thank you a lot, happy you made it work. What was the complete upload time?

ModanoPL commented 3 years ago

Overall people asking on FB groups for more simplified watchfaces. Only minimal amount of informations about watch status and bigger BG value and trend, with no graph. Im consider an WearOS xdrip widget as good example of that need Przechwytywanie2 Is that any possible options to go this way? Or graph is nesesary?

twinko commented 3 years ago

@ModanoPL I guess i can delete the graph from the config.json. But will have to test. Regarding the simple WF (watchface): I can create on. But before that I'll write a guide for others to create custom watchfaces aswell. I dont have FB but if you have something like a scribble or somebody else from these FB groups could create something, it would help a lot. even if its done by pen and paper.

bigdigital commented 3 years ago

@twinko you can see the watch face uploading process on the gif above. The complete uploading time is about 10 seconds. As you can see, most of the time takes "watcface enabling" process. I guess this is how they name a watch face uncompressing process. To minimize watchface size I think you can remove weather icons (the weather info available by simple swipe). Also, it would be better to make "no Bluetooth" icon more noticeable.

twinko commented 3 years ago

@bigdigital ah ok good to know, yes they take a lot of the filesize. I'm also not sure if im still happy with the watchface, will probably upload 2 version, one with and the other without weather info. Moreover i dont care abut heartrate untill running.

Btw, my watch wont be shipped, turns out the seller was a scammer, luckily i've got my money back. Sadly i need to buy a new one and need to wait again :sob: But there is enough todo in the meantime.

Would you like a specific watchface beeing adapted?

twinko commented 3 years ago

@ModanoPL first version of the guide is done: https://github.com/twinko/GTR-2-WF-Xdrip-guide Feel free to create your own WF or give me soem more details or a draft from a simple one, people on FB desire.

@bigdigital i linked 2 files from you (config.json and one image) hope you are fine with that.

bigdigital commented 3 years ago

Great, no problem regarding file usage. Want to add one thing. It is possible also to use a custom arrows, if needed. For this need to define use_custom_arrows to true in config.json, like this _use_customarrows: true and upload arrows to xdrip/arrows folder . The files should be named like original files located under src\main\assets\miband_watchface_parts\arrows https://i.imgur.com/D5ORncM.png

twinko commented 3 years ago

@bigdigital added it here: https://github.com/twinko/GTR-2-WF-Xdrip-guide/blob/main/README.md#1325-changing-arrows

btw i definitly need to look into these arrows,perhaps we can save some bytes there ;D

abeldsb commented 3 years ago

@twinko Hello, I have the gtr 2e watch, I follow the steps to download the files in the xdrip folder and the dial does not load. Thanks in advance. All the best VID_20210807_181426

twinko commented 3 years ago

@abeldsb hmmmm, what files are in your xdrip folder? looks like its not loading the my_image.png The files are tested by bigdigital, so i guess it should work.

Followig files need to be in the xdrip folder:

config.json
my_image.png
my_watchface.bin

The are found here: https://github.com/twinko/GTR-2-WF-Xdrip-guide/tree/main/01-WF-MD225-Version3-xdrip-ready

abeldsb commented 3 years ago

@twinko Hello, thanks for answering. Those three files are the ones I put in the xdrip folder and what happens when the sphere updates the files from the default sphere return, I delete them but they come back again. Thanks again.

twinko commented 3 years ago

@abeldsb please see my questension regarding the watchface here: https://github.com/twinko/GTR2e-xdrip-watchface-collection/issues/1 this is not the rightplace for your questions.