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

Where to get a unique app-id

A branch of the forum to discuss everything that is connected with Huami Zepp OS.

Moderators: asoo, Watchmens

Forum rules
All communication in this branch should only be in English.
Post Reply
Lilonu
Posts: 5
Joined: 10 Feb 2024, 18:12
Location: Brussels
Has thanked: 1 time
Contact:

Where to get a unique app-id

Post by Lilonu »

In a watchface's json file one has to define an appid. Where would I get such an appid, as it surely must be unique?
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

Lilonu wrote: 23 Feb 2024, 19:44
In a watchface's json file one has to define an appid. Where would I get such an appid, as it surely must be unique?
If you mean the "appId" defined in the APP.json file
You can set the numbers as you want, with the same number of digits as before, but don't duplicate the id of another watch face you've already used, because if the id value is the same as the previous watch face, When you sync to your watch, it will replace the old watch face that use the same id.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Lilonu
Posts: 5
Joined: 10 Feb 2024, 18:12
Location: Brussels
Has thanked: 1 time
Contact:

Post by Lilonu »

Thanks, asoo.
I found that out, too ;-), but that is exactly what I aim to avoid: That I install an official app/watchface that by chance uses the appid I arbitrarily chose for my own app/watchface. I know the chances a small, but nevertheless. So how to get one that is in fact unique? Would that be only through the official publish process of zepp os? - I wouldn't want to go through that as my projects are internal only.

What I currently do is to (re)use the appid of a watchface from here - and remember to never install the original. But there must be another, better way.
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

Lilonu wrote: 24 Feb 2024, 13:41
Thanks, asoo.
I found that out, too ;-), but that is exactly what I aim to avoid: That I install an official app/watchface that by chance uses the appid I arbitrarily chose for my own app/watchface. I know the chances a small, but nevertheless. So how to get one that is in fact unique? Would that be only through the official publish process of zepp os? - I wouldn't want to go through that as my projects are internal only.

What I currently do is to (re)use the appid of a watchface from here - and remember to never install the original. But there must be another, better way.
I think it's also difficult because the ID is probably assigned by Zepp and it wouldn't be easy to access this information. So I thought of a random method by myself. Right now this is probably the most appropriate method.

If you find a better way than this, please let me know. Thank you. ;)
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
User avatar
SashaCX75
Posts: 820
Joined: 26 Oct 2019, 15:18
Location: Ukraine
Has thanked: 13 times
Been thanked: 1029 times
Contact:

Post by SashaCX75 »

When you create a watch face on https://watchface.zepp.com/designer, it is assigned an identifier. You can create an empty watch face and use its identifier in your projects. But I think just writing a random identifier is easier, and the probability of coincidence with an already existing one is very small.
Post Reply

Return to “Zepp OS”

Who is online

Users browsing this forum: No registered users and 0 guests