i’ve been curious, what is the difference between [IS_AFTNOON] and [WTHR_IS_DAY] tags?
i can’t seem to be able to test out with the time machine, i can only find a button to toggle
i was hoping this was for sunrise/set or at least a place holder until the new version to come out
[IS_AFTNOON] returns 0 before noon, returns 1 after the noon.
[WTHR_IS_DAY] returns 1 before sunset (day-time), returns 0 after the sunset (night-time).
For example
-
if you want to show a picture only before noon
set opacity:
0+[IS_AFTNOON]==0?100:0
-
if you want to show a picture only before sunset (during the day)
set opacity:
0+[WTHR_IS_DAY]==1?100:0
thank you. now if only i could get the wear 5 update so i can test out on my watch 5
Following up on the [WTHR_IS_DAY] and day/night clear icon questions…
This would suggest two text objects on top of each other correct? One object has all the weather icons as a bitmap font (minus the clear day or night) and the other has the missing clear day or night icon, and none of the other bitmaps. Then the [WTHR_IS_DAY] formula in the opacity field will determine which is displayed when the clear condition is active, correct? Is there a better way to do this?
Hi @hansniekus WTHR_COND For the picture. How to set weather pic on watch. Can you please describe. TIA.
Where exactly do you enter these codes?
mate; did not work, whatcface do not show night image
i sent you file to messenger and instagram
Have you figured out how to display day and night icons?
See @masterboyhr covered that earlier . You will need two sets of Icons . Bitmap Font method or other , and hide or show the layers with these formulas in the opacity Field . You could do it with the Time Line . Good luck With that .
.
For example
-
if you want to show a picture only before noon
set opacity:
0+[IS_AFTNOON]==0?100:0
-
if you want to show a picture only before sunset (during the day)
set opacity:
0+[WTHR_IS_DAY]==1?100:0
Yes, take a look here, I hope it is what you are looking for.
Thanks! I’ve sort of figured out the tags. I only used [WTHR_IS_DAY] for two sets of icons.
Also tell me what tags I can use to make several days of the week abbreviated, for example TUE | WED | THU etc., so that the days change accordingly.
Scroll down a bit, I’ve given a way to do it, hope it’s what you are looking for.
And there is also a solution by Peter, so there are two ways to solve it.
That’s the point, localized days of the week are needed. But I found an option with only the day of the month, and that’s it!
not yet …
It has been covered exactly earlier in the Topic .
Sorry this is the other part of the tutorial about Changing Icons . Obviously you have to combine the two > If you need to see a test shout . If you had 15 night Icons that would be useful I have not at the moment .
.
.
No need for 15 night icons. Cloudy is cloudy (day or night), mist, thunderstorm, rain… those can be the same icons.
They can be different, of course, but in fact only clear sky and partly cloudy have to be different.
Sunny will not be shown after the sunset, only Clear shows during the night.
Oh Right . I did not see that Sunny is not used at night . Many have a set of Icons where the clouds are Dark and have Stars behind . If you are doing the day night trick with the Layer opacity , you might as well have a full set .
I agree, if sets are different - watchface is more interesting and nicer.