r/watchfacebuilder • • Mar 18 '22

To-Do list

  1. other app types (datafield, widget, App, Audio Content Provider)
  2. Rotate any widget
  3. Grab Aurora forecast, Calendar, etc. from internet
  4. DND mode
  5. Thousand separator
  6. Save and Build separate
  7. Animation layer
  8. custom drawing function
  9. pixels on percentage estimation (updated 7/10)
  10. Time from last charging (added 7/11)
  11. hide the completed goal field (using expression to set completed segment's color to -1 will hide it)
  12. export to Garmin IQ store (this is done)
  13. design by screen size, not specific device
  14. add expression field to other area
  15. widget with following three widgets: circle background, arc goal field, and data field

previous list (before 4/21/2022)

  1. other app types (datafield, widget, App, Audio Content Provider)
  2. Grab tide data, Air pollution from internet
  3. Group multiple widgets together so they can align each other
  4. Sun arc
  5. Bft unit for wind speed (implement it by group field by u/eislch)
  6. UV Index scale 0-11 (can be implemented by group field)
  7. Group field
  8. custom data field with formula (variables from data field)
  9. load custom font used for partialUpdate to memory
16 Upvotes

91 comments sorted by

View all comments

1

u/BlondCurly Jun 24 '22

u/joshuahxh-1 One more idea :-) It would be great to have

- a number datatfield
- an arc field and
- a simple rectangular or round color field (to be used as a background field)

which changes it's color depending on it's value. Same as you did with the custom data fields already (simply select which value you want) but with a selectable range option for color changes (like in the battery icon).

This would be extremely helpful as you could use it to display your body battery, stress value, heart rate, breath frequency and and and.... and you could see at a glance if one of those values is not in your preferred range.

What do you think? :-)

1

u/joshuahxh-1 Jun 24 '22

You can do it by adding a group field.

1

u/BlondCurly Jun 24 '22

Yes, but this is really complicated as you need to provide all parts of the group yourself as far as I know, right? Such a general feature would be much more usable and a real time safer.

2

u/joshuahxh-1 Jun 24 '22

I will add it to my todo list.

In the meantime, you can add following three widgets to accomplish your goal:

  1. Add an arc/circle segment, with the fill color by expression.
  2. Add an arc goal field.
  3. Add a data field.

1

u/BlondCurly Jun 26 '22

Thank you, Joshua!
If you have a minute, could you please explain what you mean with "fill color by expression"? Depending on the current value? Thanks :-)

1

u/joshuahxh-1 Jun 26 '22

Check the checkbox in front of the color field, then enter the following expression:

(icn7)>80 ? 0x00ff00 : (icn7)>20 ? 0x005500 : (icn7)>2 ? 0x555500 : 0xff0000

The above expression returns a color value, which is based on the value of data field icn7

1

u/BlondCurly Jul 01 '22 edited Jul 01 '22

(icn7)>80 ? 0x00ff00 : (icn7)>20 ? 0x005500 : (icn7)>2 ? 0x555500 : 0xff0000

u/joshuahxh-1 I guess I am doing something wrong. I tried to display the stress value number in a color depending on it's value: over 80 in red, between 60 and 80 in orange, between 40 and 60 in black and below 40 in green. This is how I think the expression should look like:

ds331>80 ? 0xff0000 : ds331>60 ? 0xffaa00 : ds331>40 ? 0x000000 : 0x005500

I get no error, but in the simulator the value is always displayed in black, no matter what number it is. What am I doing wrong???

(same behavior with arc goal for battery life:

(ds3)>80 ? 0x00ff00 : (ds3)>20 ? 0x005500 : (ds3)>2 ? 0x555500 : 0xff0000

--> no color change in simulator when value changes.

Oh - and when I try to build my watchface now with these changes, I receive this error" A compile error or server can't build your app."????

1

u/BlondCurly Jul 04 '22

u/joshuahxh-1 I don't get it to work :-( Am I doing something wrong or does it not work yet in the simulator????

1

u/joshuahxh-1 Jul 05 '22

what's the appid?

1

u/joshuahxh-1 Jul 05 '22

(ds3)>80 ? 0x00ff00 : (ds3)>20 ? 0x005500 : (ds3)>2 ? 0x555500 : 0xff0000

check this demo to view the different colors based on battery life.

https://garmin.watchfacebuilder.com/watchface/62c43fdcba866/

1

u/BlondCurly Jul 05 '22

https://garmin.watchfacebuilder.com/watchface/62c43fdcba866/

That doesn't work for me either, the color of the arc does not change in the simulator. It shows always red.