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

Trying to get color in AOD

Topics related to the creation, development, and designing of the watch faces.

Moderadores: asoo, Watchmens

Reglas del Foro
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [Bip U]
All communication in this branch should only be in English.
Responder
Avatar de Usuario
frankh93
Mensajes: 36
Registrado: 20 Jun 2025, 00:32
Ubicación: CDMX
Has thanked: 20 times
Been thanked: 3 times
Contactar:

Trying to get color in AOD

Mensaje por frankh93 »

So I've been trying to make a modification to my "Dotted Clock" watchface (https://amazfitwatchfaces.com/bip/view/43990) where the choosen color gets applied to the AOD too. I have tried to add an IMG widget only showed in AOD and changing its source together with the BG for the normal watchface.

The problem seems to be the image isn't getting updated. Tried asking to some AI (lol) how to address this but it didn't help at all, so hoping a pro could help me with this. Also I'm leaving attatched the current state of the project, with the changes I made already. Thank you in advance for whoever get to read this and help.
Adjuntos
Dotted Clock.zip
(608.42 KiB) Descargado 74 veces
you should be doing something productive instead of reading this caption :lol:
Avatar de Usuario
asoo
Mensajes: 2108
Registrado: 03 Ene 2019, 01:48
Ubicación: ͼͽ Thailand ͼͽ
Has thanked: 404 times
Been thanked: 2022 times

Mensaje por asoo »

frankh93 escribió: 20 Nov 2025, 18:47
So I've been trying to make a modification to my "Dotted Clock" watchface (https://amazfitwatchfaces.com/bip/view/43990) where the choosen color gets applied to the AOD too. I have tried to add an IMG widget only showed in AOD and changing its source together with the BG for the normal watchface.

The problem seems to be the image isn't getting updated. Tried asking to some AI (lol) how to address this but it didn't help at all, so hoping a pro could help me with this. Also I'm leaving attatched the current state of the project, with the changes I made already. Thank you in advance for whoever get to read this and help.
Switching between Normal and AOD modes will cause the variables you get from the buttons to disappear. Therefore, you must store the values ​​in the System property instead, which is
"SysProSetInt" "SysProGetInt" .

I haven't created a watch face that affects AOD selections, so I can't provide accurate recommendations.
This is all I can help you.. I hope this helps.

You can find more information at the link below.

search.php?keywords=SysProSetInt


PS.
The more you manage widget colors in normal mode, the more complex it becomes to store values ​​for use in AOD.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Avatar de Usuario
frankh93
Mensajes: 36
Registrado: 20 Jun 2025, 00:32
Ubicación: CDMX
Has thanked: 20 times
Been thanked: 3 times
Contactar:

Mensaje por frankh93 »

asoo escribió: 21 Nov 2025, 00:44
frankh93 escribió: 20 Nov 2025, 18:47
So I've been trying to make a modification to my "Dotted Clock" watchface (https://amazfitwatchfaces.com/bip/view/43990) where the choosen color gets applied to the AOD too. I have tried to add an IMG widget only showed in AOD and changing its source together with the BG for the normal watchface.

The problem seems to be the image isn't getting updated. Tried asking to some AI (lol) how to address this but it didn't help at all, so hoping a pro could help me with this. Also I'm leaving attatched the current state of the project, with the changes I made already. Thank you in advance for whoever get to read this and help.
Switching between Normal and AOD modes will cause the variables you get from the buttons to disappear. Therefore, you must store the values ​​in the System property instead, which is
"SysProSetInt" "SysProGetInt" .

I haven't created a watch face that affects AOD selections, so I can't provide accurate recommendations.
This is all I can help you.. I hope this helps.

You can find more information at the link below.

search.php?keywords=SysProSetInt


PS.
The more you manage widget colors in normal mode, the more complex it becomes to store values ​​for use in AOD.
Thank you for answering, I've tried this but doesnt seem to be working either. Used this in the updateWatchface function:

Código: Seleccionar todo

let colorIndexAOD = colorIndex + 1
hmFS.SysProSetInt('currColorAOD', colorIndexAOD)
and then this in pause_call.js

Código: Seleccionar todo

bgColorWatchfaceAOD.setProperty(hmUI.prop.SRC, "bg_colors/aod/COLOR_" + hmFS.SysProGetInt('currColorAOD') + ".png");
but no look, the image isn't getting changed. Am I missing something? Thank you again
you should be doing something productive instead of reading this caption :lol:
Avatar de Usuario
asoo
Mensajes: 2108
Registrado: 03 Ene 2019, 01:48
Ubicación: ͼͽ Thailand ͼͽ
Has thanked: 404 times
Been thanked: 2022 times

Mensaje por asoo »

frankh93 escribió: 21 Nov 2025, 18:06
asoo escribió: 21 Nov 2025, 00:44
frankh93 escribió: 20 Nov 2025, 18:47
So I've been trying to make a modification to my "Dotted Clock" watchface (https://amazfitwatchfaces.com/bip/view/43990) where the choosen color gets applied to the AOD too. I have tried to add an IMG widget only showed in AOD and changing its source together with the BG for the normal watchface.

The problem seems to be the image isn't getting updated. Tried asking to some AI (lol) how to address this but it didn't help at all, so hoping a pro could help me with this. Also I'm leaving attatched the current state of the project, with the changes I made already. Thank you in advance for whoever get to read this and help.
Switching between Normal and AOD modes will cause the variables you get from the buttons to disappear. Therefore, you must store the values ​​in the System property instead, which is
"SysProSetInt" "SysProGetInt" .

I haven't created a watch face that affects AOD selections, so I can't provide accurate recommendations.
This is all I can help you.. I hope this helps.

You can find more information at the link below.

search.php?keywords=SysProSetInt


PS.
The more you manage widget colors in normal mode, the more complex it becomes to store values ​​for use in AOD.
Thank you for answering, I've tried this but doesnt seem to be working either. Used this in the updateWatchface function:

Código: Seleccionar todo

let colorIndexAOD = colorIndex + 1
hmFS.SysProSetInt('currColorAOD', colorIndexAOD)
and then this in pause_call.js

Código: Seleccionar todo

bgColorWatchfaceAOD.setProperty(hmUI.prop.SRC, "bg_colors/aod/COLOR_" + hmFS.SysProGetInt('currColorAOD') + ".png");
but no look, the image isn't getting changed. Am I missing something? Thank you again
I'm not sure about the script you mentioned., but judging from your script, it seems quite confusing. I'm not sure what some of the functions you created were for, however I haven't investigated them. However, I've created an example from your watch face you posted earlier, I removing some function that I think it unnecessary elements by using // and /* */ to prevent that script from running.

As far as I've tested, it can change the elements in the AOD.

There's a slight issue: when you reset the clock, the home screen returns to the first color, but the AOD remains the last color you selected. This shouldn't be a problem, as when you choose a new color, the AOD changes to reflect the home screen, so I haven't done anything further with this part.

As I mentioned, I don't make watch faces whose AOD changes elements based on the home screen, so I'm only working on what I understand.
Download
Imagen
Dotted-Clock_Switch_ON_AOD.zip
(534.92 KiB) Descargado 63 veces

Imagen
V.3 Fixed and added widgets in the AOD section to make it display as complete as possible.
Dotted-Clock_v3.zip
(574.43 KiB) Descargado 71 veces

In AOD, at certain times, the screen will move by about 1-2 pixels to maintain the screen. This causes some widgets to display out of sync.
This can cause the background to move from a specified point, resulting in the overall image having errors such as the text frame having the background color displayed.(this cannot be changed due to system requirements). If you want to fix this, you'll have to completely redesign the display, which I won't do, so I'm letting you know here.
I don't really interrest about this part. I personally don't use AOD, so I won't make any further changes. If you need to do anything further, please try to find by yourself.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Avatar de Usuario
frankh93
Mensajes: 36
Registrado: 20 Jun 2025, 00:32
Ubicación: CDMX
Has thanked: 20 times
Been thanked: 3 times
Contactar:

Mensaje por frankh93 »

thank you so much @asoo got it working now
you should be doing something productive instead of reading this caption :lol:
Responder

Volver a “Watchfaces discussion”

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado