Looking for any advice regarding the weather forecast tags.
First, Samsung’s documentation is a bit lacking and refers to the tags as “ForecastHour” and “ForecastDay”, I saw a post here that guided me.
So, I’ve added several weather icons to my watch face as images. Weirdly, I was not able to use tags in the “opacity” setting for the images, but I got it to work using tags in the “Color” section.
For example, on a sunny day, I have an image of a sun with this tag:
(([WTHR_COND]==1)+([WTHR_COND]==8))*([WTHR_IS_DAY])==1?0:-100
for a thunderstorm:
[WTHR_COND]==9?0:-100
This works great. I have a stack of images with similar tags for different weather conditions, as well as moon phases and the appropriate one is showing in both Watch Face Studio and on my Watch7.
But, when I tried to do the same using either “forecastHours” or “forecastDays”, I’m running into problems. In the preview on Watch Face Studio, it shows correctly, with just the appropriate image visible (I double checked by using a text box showing the return for forecastDays or forecastHours). However, on the watch the entire stack of images is visible.
Here are some examples of the tags I’m using:
(((forecastHours(4, “COND”))==1)+((forecastHours(4, “COND”))==8))*([WTHR_IS_DAY])==1?0:-100
((forecastHours(4, “COND”))==9)?0:-100
(((forecastDays(1, “COND_DAY”))==2)+((forecastDays(1, “COND_DAY”))==3)+((forecastDays(1, “COND_DAY”==13))))?0:-100
In Watch Face Studio, I can see that these are returning a “0” or “1”, so I think my tag syntax is correct. These are essentially the equivalent of the current weather condition tags I’m using above which are working, but for the forecasts, it’s displaying all the images.
Would appreciate any ideas
Thanks!