Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watcface creation amazfit GTR2(2e), GTS2(2e) #5

Open
bigdigital opened this issue Jul 12, 2021 · 71 comments
Open

Watcface creation amazfit GTR2(2e), GTS2(2e) #5

bigdigital opened this issue Jul 12, 2021 · 71 comments

Comments

@bigdigital
Copy link
Owner

No description provided.

@bigdigital bigdigital changed the title Watcface creation Watcface creation amazfit GTR2(2e), GTS2(2e) Jul 12, 2021
@bigdigital
Copy link
Owner Author

I've moved Questions from Patreon thread

  1. is it possible to have multiple config.json for different watchfaces?
  2. In the config it says:
    "graph": {
    .......
    "position": {
  "x":0,
  "y":0

Does that mean the graph is centered right in the middel of the watchface?
3. Do you have a tip to find the right alignment, without uploading and testing it?

  1. No, it is possible to have only one config.json at the same time in xdrip folder. To get different watcfaces, you would need to replace this file together with my_watchface.bin, my_image.png and my_mask.png(if it was used).
  2. No, this means that the graph would be drawn on my_image.png and it's starting point (left top corner) would be at position 0 0.
  3. Usually i take all coordinates directly from photoshop. Please note in case of images (like arrows, graph), the position defines left top corner of the image. But in case of Text (like bg, treatments, etc), the position point may vary depending on the alignt settings. The Y coordinate is set at the base line of the text (not the most bottom, as you notice it is not at the bottom tip of the y letter, but below all other letters that doesn’t have a ‘tail’).
    1_95_RgC-580vCjGgKWksXPA
    The X coordinate is default set on the left side of the text. It can be changed to center or right, in this case, the staring point would look like this
    1_1iK4nDltMXWu93fUDcLCtQ

@twinko
Copy link

twinko commented Jul 12, 2021

@bigdigital
Ok i have done some Photoshop magic :D
It looks horrible so far but its pretty small. There is a lot of room to make it pretty, but not a lot of reducing the size. Perhaps i coudl reduce the size by 5-10 more kb. But i think thats the absolute maximum.

https://github.com/twinko/GTR-2-WF-Xdrip-EN/tree/main/small_v2
Could you compare the upload and processing time for this watchface with your own one?

@bigdigital
Copy link
Owner Author

The complete watchface uploading takes 6-7 seconds. I think this is not bad results
IMG_20210712_211609

@twinko
Copy link

twinko commented Jul 13, 2021

Sounds great. I'll try to reduce the size even more and adapt the look a little bit.
Just to let you know: I used the "Save for Web" feature under Data in Photoshop. Than i reduced the colors to 8. This is possible with every image. Especially with images that have gradient. But i noticed it helps also with pictures that are only white text on a trasparent background. The file size got cut up to 1 third of the original filesize.

@bigdigital
Copy link
Owner Author

Reducing the number of colors actually not influence to the watch face size. Unfortunately, this watch model understands only 32 bit true color images with transparency. So every pixel here takes 4 bytes of the data. The watcface packer will anyway convert your 8 bit image to true color image.

@bigdigital
Copy link
Owner Author

Reducing number of the colors, was actual for miband and bip watch series. But for gtr it does not work.

@twinko
Copy link

twinko commented Jul 13, 2021

hmmmm, ok, looks like my trick doesnt work. But i would love to know if Photoshop does anything elso to reduce the image size. I will create the same WF with the original images today. If that takes the same time to completly upload, my photoshop magic didnt work :D
As soon as i know how to minimzie the images as good as possible, I'll create more watchfaces. But i think it shouldn take longer than the 6-7 seconds. My goal was 5 sec ^^

btw thank you for all he in depth details and testing :)

One more thing. you didnt upload the graph, would that slow down the process even more?

@bigdigital
Copy link
Owner Author

Want to add one more thing, the watch takes a packed watcface. It uses a QuickLZ algorithm to compress the watcface. I am not familiar in detail how it works, but i guess, if using a images with the same color in a row, the compression rate can be higher. This can reduce the watcface size. So maybe, the number of colors can affect the final file size. In this case watcface would be transferred faster. And i guess such watcface can be uncompressed faster on the watch itself (not sure) so this can also affect "activation" state.
Regarding the graph, in this case it would be added on the background image, so the image size would be the same. The only difference can be in the compression, but i don't think adding the graph would significantly affect the uploading time.
Also I'll try to make a test watcface with different varieties of number of colors ,and will see how it would affect the final size and uploading speed

@bigdigital
Copy link
Owner Author

Ok, yes, the number of colors indeed can influence the watcface uploading time because of compression.
I made a watface with only one fullscreen background image.
Here is my test image
0002-full
and test results with full and reduced colors

uncomp size,bytes | compr size, bytes | uploading time | num of colors
824712 | 345814 | 19s | all colors
824712 | 157739 | 13s | 256 colors
824712 | 81074 | 5s | 6 colors
824712 | 24660 | 2s | 6 colors
latest image has the same number of colors but another pattern
0002

So i can conclude the number of colors indeed may influence the watcface size and uploading speed, but image pattern also can affect the final size.

@twinko
Copy link

twinko commented Jul 13, 2021

Hey @bigdigital ,

thank you for the investigation. Reducing colors is pretty bad for complex designs but for a simple design it would help a ton to reduce the colors in total. Sometimes you find a color thats used but not really visible on the watch.

1.
Regarding compressed and uncompressed. Im a little confused by that. The watchface editor only lets me save my WF in a compressed form ("Pack and compress .bin").
-->When you mean "uncompressed", you mean all png files and the json file?

Because, my compressed .bin is way bigger than the files in the folder on my PC.

all png and json: 45 kb
compressed .bin: 90 kb
https://github.com/twinko/GTR-2-WF-Xdrip-EN/tree/main/01-WF%20MD225

2.
Moreover i tried to implement the graph and all the xdrip data.
You wrote om patreon: "Please note you should place UNCOMPRESSED watface into xdrip folder."
--> Same question as above: what do you mean by "uncompressed"?
Here you added: "To get different watcfaces, you would need to replace this file (config.json) together with my_watchface.bin, my_image.png and my_mask.png(if it was used)."
-->Where do i get the my_image.png from? Is that the background image (0001.png) or is it the canvas.png(found it in your releace in the watcface folder of the gtr2) from your watchface? If its the canvas.png, where is that located on the watchface, because its way smaller than the whole watchface?
Moreover, is it possible to place the changed config.json in the xdrip folder aswell or do i have to compile a whole new release, to be honest that doesnt sound practical :D ?
As you see i have some difficulties to understand how to set everything up to have the xdrip data shown :D

3.
-->One more question: Is the background of the graph invisible or does it have a solid color (is the canvas.png the background of the graph?)?

######################################

And attached the latest version of the WF. Its way better looking and reduced the size down to 90kb. But i dont see any more space to reduce the size without loosing pretty bad in looks.
https://github.com/twinko/GTR-2-WF-Xdrip-EN/tree/main/01-WF%20MD225
Moreover edited a similar WF that has less gradiants. It's at about 81KB. Getting closer to your 69kb of the default .bin ;D
https://github.com/twinko/GTR-2-WF-Xdrip-EN

@bigdigital
Copy link
Owner Author

  1. Yes AmazFit_Watchface_Editor_2 tool automatically "pack" and compress the watchface so as a result you will receive a packed watcface which is suitable to upload to watch, but not for xdrip (because we need to inject some additional data). Personally, i use the python tool "py_amazfit_tools" to pack the watchface https://github.com/bigdigital/py_amazfit_tools/tree/GTR2 or its fork https://github.com/Tnxec2/py_amazfit_tools/tree/GTS2. But it is possible to use the same python tool which was bundled into AmazFit_Watchface_Editor_2 tool. Here the py_amazfit_tools packer was converted to exe file (so you don't need to configure and install python on your computer). This packer is located in AmazFit_Watchface_Editor_2 under "Tools" folder. and has a name "main.exe". To pack your json you only need to navigate to tools folder and execute command like this
    main.exe --gtr2 47 --file config-file.json where config-file.json is a location to your json.
    As a result, you should receive a unpacked bin file. This file you would need to use in the xdrip. Xdrip will inject the required resource into this file, compress it and sent it to the watch.

@bigdigital
Copy link
Owner Author

  1. my_image.png is the same as canvas.png, but this is a default canvas name for custom watcface. This is the resource on which the xdrip will draw information from your custom my_config.json file. The resulting image will replace the content of the first resource in the my_watchface.bin ( you can also redefine which resource to replace by specifying "resource_to_replace" property in config file )
    To use a custom watfcface you only need to place your custom files my_watchface.bin, my_image.png config.json and my_mask.png(this is an optional file) into xdrip folder and enable option "Use custom watchface" in miband menu settings.

@bigdigital
Copy link
Owner Author

  1. You can use any color for graph background. If you want the transparent background, just assign a color with alpha channel property for "bg_color" property.

@twinko
Copy link

twinko commented Jul 21, 2021

HEy @bigdigital thank you for your detailed reply!

3. You can use any color for graph background. If you want the transparent background, just  assign a color with alpha channel property for "bg_color" property.

Would the following work? Or without " ?

"graph": {
    "bg_color": "rgba(0, 0, 0, 0)",

I used everything you told me above and created the following. https://github.com/twinko/GTR-2-WF-Xdrip-EN/tree/main/01-WF-MD225-Version3-xdrip-ready
Im really nervouse about the .bin size. its 1MB. Thats a huge difference to your .bin i found in your release. I thought your bin is already compressed as well. Moreover i dont understand how a folder with a size of 38,5kb including the json becomes 1 MB, but whatever ;) . Btw i used the packer from AmazFit_Watchface_Editor_2.

Im not 100% sure regarding the positioning of the xdrip data. Sadly my watch still isnt shipped, i already contacted the seller, having some trouble there. Could you test the files regarding complete watchface uploading time and how it looks?
If you dont have the time, let me know, I'll ask at patreon.

As soon as i have a working watchface, I'll create a guide for others to create own watchfaces. It was a steep learning curve for me :D Thank you for your support :)

*Update:

looks like i did something wrong :(
twinko/Amazfit-watchface-Xdrip-guide#9 (comment)
Would be great if you have a look :)

@bigdigital
Copy link
Owner Author

Sorry for the delay in response, was busy last week to take a look. I have long wanted to start writing a guide for creating custom watch faces, but I still can't find the time for this. It would be cool if you can do it :)

@twinko
Copy link

twinko commented Jul 28, 2021

@bigdigital I'll create a guide with all the stuff i learned so far. I'll link it here and if possible I'll give you ediing rights, to add things if you feel like i missed something.

@twinko
Copy link

twinko commented Jul 30, 2021

@bigdigital startet writing the guide, if you want to edit something, let me know. Than i need to figure out how to give you writing rights :)
https://github.com/twinko/GTR-2-WF-Xdrip-EN

@dubidrubi
Copy link

1634306854391
I've created a WF for GTS2e. I took nike WF and adjusted it to make update time comparable to the built-in one from xDrip. I can share my files if anyone is interested in testing/improving the WF. BTW the only option to remove graph I've found is to make it 1x1 size.

@twinko
Copy link

twinko commented Oct 15, 2021

@dubidrubi looks sweet. would be great if we could upload it here: https://github.com/twinko/xdrip-watchface-collection

Please upload the necessary files, than i upload it and add it to the collection. :)

btw thx for the update on the graph. hadn't time to tinker with it.

@bigdigital
Copy link
Owner Author

@dubidrubi Looks nice. Yep, there is no way to remove the graph. In future versions, it would be possible to do this by removing "graph" item in the config file. For now, i guess you can simply set XY graph position to the outside of the canvas.

@dubidrubi
Copy link

@dubidrubi looks sweet. would be great if we could upload it here: https://github.com/twinko/xdrip-watchface-collection

Please upload the necessary files, than i upload it and add it to the collection. :)

btw thx for the update on the graph. hadn't time to tinker with it.

Here you go https://ufile.io/f/rjgxn

Thanks @twinko and @bigdigital

@twinko
Copy link

twinko commented Oct 18, 2021

@dubidrubi awesome, could you do me a favor and upload an gif aswell (the oes you can createwithe the watchface editor, to see a preview)?

@dubidrubi
Copy link

@twinko absolutely
Preview

@bigdigital
Copy link
Owner Author

@dubidrubi Can i know how long watchface uploading takes for you? I see the uncompressed watchface has size 790kb. I did some optimization in your watchface, so the wathcface size decreased to 245kb . When compressed, it takes only 27kb, so i think wf uploading should be much faster now. Can you test it? my_watchface_nike_optimized_v1.bin.zip

@dubidrubi
Copy link

@bigdigital Thanks, indeed update time improved a bit.
Before the change - 6-7 sec
After the change approx 5 sec

May I know what have you changed exactly?

@dubidrubi
Copy link

Btw, graph position adjustment doesn't seem to be working, moving it outside the image doesn't work for me :(

@bigdigital
Copy link
Owner Author

I've cut your bg image into small parts and set them as a icons for the corresponding elements
image
As a main background was set a simple color.

@dubidrubi
Copy link

Thanks, didn't know that makes a difference.

@twinko
Copy link

twinko commented Oct 18, 2021

@dubidrubi btw if you want even faster upload times, you ca reduce the size of every image by following the guide here:
https://github.com/twinko/GTR-2-WF-Xdrip-guide#111-reducing-image-size

This can cut the size in half or even further and you wont notice the quality reduction on your watch. But it takes some time to modify every image.

@bigdigital @dubidrubi
Wanted to upload the watchface. One question: do i need the my_image.png from dubi, can i remove it entirely or do i replace it with an image of 1 black pixel?

@twinko
Copy link

twinko commented Nov 10, 2021

@mavricaaa now it says file removed ^^ Perhaps a google drive or dropbox upload is a better way.

@mavricaaa
Copy link

@twinko https://www.dropbox.com/s/7vhacxxhtgeyoc4/GTR2EXDRIP.zip?dl=0 OMG I am really clumsy these days -.- . I guess it was a limited time availability file sharing site. Hopefully it is okay now:)

@HaraldS76
Copy link

HaraldS76 commented Nov 11, 2021 via email

@Klaus3d3
Copy link

Is anyone already trying to implement this to GTS/GTR3?

I already applied on huami's developer portal. But as an individual developer the access is very limited.

@twinko
Copy link

twinko commented Nov 11, 2021

@mavricaaa added your WF to the collection, thank you for contribution :) https://github.com/twinko/xdrip-watchface-collection

@HaraldS76 im sorry about the missing xdrip folder, i cant help with that. You need to find it or ask the xdrip community about where to find it here (https://github.com/NightscoutFoundation/xDrip/issues).
You need to upload the new watchface in the xdrip folder! Using notify - app wont work!
You need to use miband, not amazfit syn service!
When you found the folder, you need to follow this guide, to create a xdrip compatible watchface: https://github.com/twinko/GTR-2-WF-Xdrip-guide

@Klaus3d3 i follow artems patreon and right now he didnt wrote anything about plans to implement this to gts or gtr3. I think a much requestet watch lately was the gts 2 mini. Some days ago he puplished miband6 support.

@bigdigital
Copy link
Owner Author

@Klaus3d3 I already did some research regarding GTR3. The watcface modification in GTR3 version is now much easier, and do not require a watcface deobfuscation or any special compilation. The watcface for this watch is a simple zip package which contains a javascripts and images. The javascript defines the watcface representation and image resources are encoded with a slightly modified TGA images protocol. But since this watch has a new OS, not sure it would have a similar communication protocol. So most possibly the implementing integration for this watch would require a lot of time to reverse-engineer the communication protocol. For now, i guess, the next watcface for implementation would be a gts 2 mini. I also have plans to separate miband project from the xdrip. This would allow adding a new features and devices without touching xdrip core.

@Klaus3d3
Copy link

@Klaus3d3 I already did some research regarding GTR3. The watcface modification in GTR3 version is now much easier, and do not require a watcface deobfuscation or any special compilation. The watcface for this watch is a simple zip package which contains a javascripts and images. The javascript defines the watcface representation and image resources are encoded with a slightly modified TGA images protocol. But since this watch has a new OS, not sure it would have a similar communication protocol. So most possibly the implementing integration for this watch would require a lot of time to reverse-engineer the communication protocol. For now, i guess, the next watcface for implementation would be a gts 2 mini. I also have plans to separate miband project from the xdrip. This would allow adding a new features and devices without touching xdrip core.

Thanks for looking into it. Yes, the watchfaces are much easier to design. Huami already provided a watchface editor via their developer platform.
I applied as an individual developer, but sadly they don't give access to their standard sdk for this type of developer. There is also a documentation for the standard sdk. Should be pretty easy to, once you get access to the sdk.
But i guess we have to missuse some other data entries like weather data to get these on the watchface directly.

@lunaroc
Copy link

lunaroc commented Dec 14, 2021

greetings to all.
First of all, give my congratulations to all those who contribute to this topic. I did not know this family but I sign up to learn and help as much as possible.

I am fighting following the guide (https://github.com/twinko/amazfit-watchface-xdrip-guide) to be able to create a WatchFace to my GTS 2.

I have tried from the most basic to have a base, but always when it comes to overturning and synchronizing my test WF, it gives me synchronization error.

My question:
At point 1.2 Preparing The Final Watchface, creating the final ".bin",
It passes as a parameter to the main.exe the option: "- GTR2 47" My question is if I'm riding the file for a different model (GTS 2), should I indicate another different parameter?

I also think that I make some mistake in this step, since, the .bin file that is created is always gigantic (between 1MB - 3 MB) compared to other WF.Bin that I have seen that only be around 200KB - 800KB). Is those size normal?

Thank you very much to all who can help.
PS: Sorry for my English (google) xD

@twinko
Copy link

twinko commented Dec 14, 2021

@lunaroc
Hi awesome you tried :)

Regarding your question try: "--gts2" instead of "--gtr2 47" and please report back if that worked.

I dont kow your files but yes thats totally possible, they become bigger than the raw files, thats why i meantioned the following in the guide:

The smaller the watchface the better. We'll come to this later but all pictures inlcuding the json file should'nt be bigger than 50kb.

In the future, feel free to adress guide ralted issues here: https://github.com/twinko/Amazfit-watchface-Xdrip-guide/issues

@dircsem
Copy link

dircsem commented Dec 27, 2021

@Klaus3d3 I already did some research regarding GTR3. The watcface modification in GTR3 version is now much easier, and do not require a watcface deobfuscation or any special compilation. The watcface for this watch is a simple zip package which contains a javascripts and images. The javascript defines the watcface representation and image resources are encoded with a slightly modified TGA images protocol. But since this watch has a new OS, not sure it would have a similar communication protocol. So most possibly the implementing integration for this watch would require a lot of time to reverse-engineer the communication protocol. For now, i guess, the next watcface for implementation would be a gts 2 mini. I also have plans to separate miband project from the xdrip. This would allow adding a new features and devices without touching xdrip core.

I've done some work for gts2 mini and simply adding a type for it I was able to get alarms and connect to it.
The watchface seems to have the same header start of miband5, but generating it with miband code didn't worked. In case you lock the watch trying to upload an watchface to it, simply put it in charger, reconnect the phone and you would be able to change the current watchface.
I wasn't able to detect the header size, neither track how to upload the watchface to it.

@bigdigital
Copy link
Owner Author

@dircsem It seems the GTS 2 mini is not suitable for xdrip because it is not possible to disable vibration after the watcface uploading here. There is no option to disable system vibrations like it was on GTS2/GTR2 . Can you check this? If that's true, i do not see a reason of implementing xdrip integration for this watch. The vibration every 5 minutes would be very annoying.

@dircsem
Copy link

dircsem commented Dec 27, 2021

@bigdigital I can be the tester for this.
Have you started to build that, I can share the code that I`ve done maybe it will help you.
I've just changed my whachface and it hasn't vibrate. It doesn't have that option to config vibration for wachface change at the clock configs, but it seems that it's disabled by default.

@dircsem
Copy link

dircsem commented Dec 27, 2021

I applied as an individual developer, but sadly they don't give access to their standard sdk for this type of developer. There is also a documentation for the standard sdk. Should be pretty easy to, once you get access to the sdk.
But i guess we have to missuse some other data entries like weather data to get these on the watchface directly.

@Klaus3d3
Were you able to get access to their SDK? Is there anything interesting there? Reading the docs it seems that it's a very limited devices that are supported.

@Klaus3d3
Copy link

I applied as an individual developer, but sadly they don't give access to their standard sdk for this type of developer. There is also a documentation for the standard sdk. Should be pretty easy to, once you get access to the sdk.
But i guess we have to missuse some other data entries like weather data to get these on the watchface directly.

@Klaus3d3 Were you able to get access to their SDK? Is there anything interesting there? Reading the docs it seems that it's a very limited devices that are supported.

Seriously i still did not get access.
On all my devices i can open a link to zepp studio which redirects me to the log in page. Even when i'm already logged in. I can only guess it's because they don't give access to this for individual developers.
For the other types of developers you need something like a company certificate.

@dircsem
Copy link

dircsem commented Dec 27, 2021

I applied as an individual developer, but sadly they don't give access to their standard sdk for this type of developer. There is also a documentation for the standard sdk. Should be pretty easy to, once you get access to the sdk.
But i guess we have to missuse some other data entries like weather data to get these on the watchface directly.

@Klaus3d3 Were you able to get access to their SDK? Is there anything interesting there? Reading the docs it seems that it's a very limited devices that are supported.

Seriously i still did not get access. On all my devices i can open a link to zepp studio which redirects me to the log in page. Even when i'm already logged in. I can only guess it's because they don't give access to this for individual developers. For the other types of developers you need something like a company certificate.

Crap, I was wondering if it worth registering as a developer but it seems that it doesn't. Thanks for the reply.

@bigdigital
Copy link
Owner Author

bigdigital commented Dec 29, 2021

@dircsem so you claim there is no vibration after watcface uploading if you try to upload a new watcface via Zepp application (exactly uploading and not switching already uploaded watcface)? A couple of people i've asked before, said they have a vibration. There is no problem to add support for this watch, but if this watch has a non-switchable vibration after the watcface uploading like it was for Amazfit GTR and GTS, i do not see a reason for spending time for this watch model.

@dircsem
Copy link

dircsem commented Dec 29, 2021

@bigdigital Yes I agree with you, if the watch vibrate when changing the watchface it wouldn't be usefull to have it vibrating every 5 mins.
I've done two tests, the first was to change the current watchface via zepp, no vibration. Then I've installed a new one, no vibration.
Here is a video of me uploading a new watch-face to it, altough I can't record it since the begining (I'm using the same phone for zepp and for movie recording) you can see that there is no vibration when the process end. It's on top of a wood table, if it vibrate it would be possible to hear that.
https://www.dropbox.com/s/4je8motwz1nsn9d/MOV_5202.mp4?dl=0
I don't remember the watch vibrating when changing the watch-faces before, but I didn't changed it too much either.
I've also looked at it's configs to see if there are anything that could relate to vibrate when changing the watch-face but I didn't find. The watch has just updated it's system, maybe this was a config that has been changed.
I've build my own watch-face and I was planning to use it for the xdrip, my code is updating the watch-face file, but when I upload it, manually through zepp, the watch freeze.
Does your python watchface disassembler should work with this model watch-face? With it can I find it's header size?
Is it common for the watch-face upload method change from model to model?

@bigdigital
Copy link
Owner Author

Hm, interesting, thank you for this info can i know your watch firmware version? I've investigated a watchface structure for this device a couple of months ago. The watcface structure on this watch is absolutely different in comparison to miband, or other amazfit devices. This watch uses another elements structure that is not present in the existent python scripts, also the wf resources are encoded in a different way. So existent python scripts are not suitable for this watch and adding support (like i did for gtr2/gts2 would take too much time). To create a watchface itself it would be better to use a developer tool from amazfit. Also the watcface patcher in xdrip should be modified to properly encode images. For now, I'm working on separating miband/amazfit part and xdrip. When i got some results with this. I'll try to add support of GTS2 mini

@dircsem
Copy link

dircsem commented Dec 29, 2021

Great, do you need some help on this miband/amazfit code separation from xdrip?]
My watch system version is 1.0.3.28
There are some tools that connect to amazfit watches, but I haven't found any that does watch-face update to it.
My watch face was done at the huami dev site (official tool).
Is there anything that I can do to help finding the watch-face encoding?

@dircsem
Copy link

dircsem commented Dec 30, 2021

https://github.com/JulienMaille/py_amazfit_tools/tree/GTS2mini

This fork seems to do the pack and unpack of gts2mini

@dircsem
Copy link

dircsem commented Dec 30, 2021

Looking at the code there, seems that gts2mini and bipU have the same, or a close way to interpret the watch-faces

@bigdigital
Copy link
Owner Author

Thanks, i'll check it.

@bigdigital
Copy link
Owner Author

@dircsem could you please contact me via email ([email protected]), i'll send you an apk for testing

@Klaus3d3
Copy link

I applied as an individual developer, but sadly they don't give access to their standard sdk for this type of developer. There is also a documentation for the standard sdk. Should be pretty easy to, once you get access to the sdk.
But i guess we have to missuse some other data entries like weather data to get these on the watchface directly.

@Klaus3d3 Were you able to get access to their SDK? Is there anything interesting there? Reading the docs it seems that it's a very limited devices that are supported.

Seriously i still did not get access. On all my devices i can open a link to zepp studio which redirects me to the log in page. Even when i'm already logged in. I can only guess it's because they don't give access to this for individual developers. For the other types of developers you need something like a company certificate.

Crap, I was wondering if it worth registering as a developer but it seems that it doesn't. Thanks for the reply.

Good news, Zepp Studio seems to work now. Hope i can find some time to dig in.

@Klaus3d3
Copy link

Klaus3d3 commented Feb 1, 2022

VID-20220201-WA0001.mp4

One of the 2 example Apps in Zepp Studio is actually a watchface with button in it which starts a timer within the watchface. This is pretty awesome. Click listeners within the watchface is something i was really missing on the stratos.

Looks promissing to me.

@a-jey
Copy link

a-jey commented Aug 30, 2022

@bigdigital
Hi Artem.

I just finished a custom watchface for the MiBand5.
But I think I found a bug:

In your original watchface and in my custom version I found some graphics fragments on the top left side of the graph.

If I take a look at the extracted config.json there should be the IoB-Value displayed but it's not there.
I have been in contact with another MiBand5 user downloaded my watchface.
He also got those fragments in original and also in the custom watchface.

Even if I change the text values or position of the IoB-Text it's not displayed and the fragments stay at the same position.

You can see the fragments in this comparison picture.
https://github.com/a-jey/MiBand5-watchface_for_xDrip/blob/main/compare.png

Can you help in getting this fixed?
Thank you a lot and many greetings from Germany :-)

@bigdigital
Copy link
Owner Author

bigdigital commented Sep 1, 2022

One of the 2 example Apps in Zepp Studio is actually a watchface with button in it which starts a timer within the watchface. This is pretty awesome. Click listeners within the watchface is something i was really missing on the stratos.

Looks promissing to me.

Yep. i bought the miband7 because it is cheapest zeppOS device, but unfortunately it has a stripped bt api functionality compared with Amazfit ZeppOS watches. My initial plan was to create a watcface which will dynamically replaces own content by using Zepp OS bt communication api. Unfortunately Miband7 does not support this Api. Also uploading entire wf on miband7 makes a vibraton after each uploading. So i guess i skip the miband7 and try to create a fw with GTR3. There would be a lot of possibilities. It would be even possible to input bolus via the watch and much more.

bigdigital pushed a commit that referenced this issue Sep 13, 2022
Update Readme - Link correction, device list
@Czasemzaslodko
Copy link

Czasemzaslodko commented Dec 29, 2022

321038969_3463294100582670_634394218359504637_n
322090701_2359036950916177_2765787053758983003_n
Unfortunately, I can't manage to set the X axis on the chart. Every time I try to change it, nothing happens. I can only turn the axes on and off. On the pictures, the watchface was refreshed at one moment, and the lines are randomly thicker and thinner. I change this watchface from twinko, guys u are awesome by the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants