How would I use the sunset/sunrise times to change how the hands and dial are displayed?
I want to simulate lume at night on an analog watch. This is easy enough to do with WatchMaker. I’m now trying to learn Watch Face Studio so that I can bring my watch face if I ever update to Wear OS 5.
I am setting AOD - Day to White
I am setting AOD - Night to Red
([WHTR_IS_DAY] == 0 ? 100 : 0 ) This should return the value of 100 when it is Day
([WHTR_IS_DAY] == 1 ? 100 : 0 ) This should return the value of 100 when it is NOT day (night)
In WFS this works correctly
But when installed on the watch face (GW Ultra) it is “reveresed”
Day Returns - Red
Night Returns - White
Has anyone else seen this occur???
I can get it to work as i want that’s not the issue. The issue is that it seems to be reversed
In fact formulas return values 0 or 1 and depending on that set opacity to 100 or 0.
I don’t know why you changed formulas but you did it wrongly.
Use:
[WTHR_IS_DAY]==1?100:0 will set opacity to 100 during the day
[WTHR_IS_DAY]==1?0:100 will set opacity to 100 during the night
That has nothing to do with colors, I have no idea how it can change colors.
My guess is that error is somewhere else.
It’s hard to tell without seeing the watchface coding…
I came from Facer, finding error was easy there, you could publish watchface “open for inspection” and everybody could see coding, solution was always found…
The documentation state that WHTR_IS_DAY returns 2 results 0 - Night or 1 Day if this is truly the case then my expressions are correct. I changed the formulas because they work correctly on WFS but in the REAL world on the watch face it shows Red during the day and White during the night
Now I see that you wanted it other way around, white for day and red for night.
So colors in my test should be changed, red to white, white to red.
Sorry.
I really don’t know why it’s not working for you. Interesting.