Johnson070 / MiBand-5-watchface-editor

A program to help create watch faces for mi band 5 & 6!
GNU General Public License v2.0
285 stars 26 forks source link

Wind Problems #3

Closed lvfmc85 closed 3 years ago

lvfmc85 commented 3 years ago

Hi, Thank you for this amazing tool. I tried to create a wind speed info for my watchface, but I get an error when I try to create the watchface bin. I generate the wind field using MiBand5WatchFaces from scratch, but I get this error on the log:

Debug|Reading config... Fatal|**** Fatal|[ERROR]Error converting value "RightTop" to type 'WatchFace.Parser.Models.TextAlignment'. Path 'Weather.Wind.Text.Alignment', line 1, position 2772.

So I believe there's a bug in the coding for creating the wind field.

Johnson070 commented 3 years ago

Hi, Thank you for this amazing tool. I tried to create a wind speed info for my watchface, but I get an error when I try to create the watchface bin. I generate the wind field using MiBand5WatchFaces from scratch, but I get this error on the log:

Debug|Reading config... Fatal|**** Fatal|[ERROR]Error converting value "RightTop" to type 'WatchFace.Parser.Models.TextAlignment'. Path 'Weather.Wind.Text.Alignment', line 1, position 2772.

So I believe there's a bug in the coding for creating the wind field.

Please attach this bin or zip file. I'll see today, and fix this

Johnson070 commented 3 years ago

And next release with fixed bugs, tommorow.

lvfmc85 commented 3 years ago

Thanks. Here is the zip with the images and JSON file. I used the MiBandWFTool and, although I was able to create a bin file with wind speed, it only appears when the band is in English or Chinese language when the band is in any other language, the wind speed doesn't appear at all. If you don't mind, could you also test if it is working for different languages? Thank you very much! LVTest5.zip

Johnson070 commented 3 years ago

Thanks. Here is the zip with the images and JSON file. I used the MiBandWFTool and, although I was able to create a bin file with wind speed, it only appears when the band is in English or Chinese language when the band is in any other language, the wind speed doesn't appear at all. If you don't mind, could you also test if it is working for different languages? Thank you very much! LVTest5.zip

Okay, I'll try to check in other languages and fix the bug

Johnson070 commented 3 years ago

Thanks I figured out the problem should be TopRight and I have in my program RightTop, this is a critical error, I will correct in the update

Johnson070 commented 3 years ago

The wind on the Mi band 5 does not appear in all languages, also check all of them because they are written wrong in some custom watchfaces

lvfmc85 commented 3 years ago

Thank you! I tried several ways to write it but I could never do it work in other languages. Do you know which languages are compatible with wind speed and how to add it?