I have a watch face that displays a different background image based on time of day. Currently, this is accomplished by layering the images and then using the timeline to designate which image is visible at which time. This usually works okay, but I’ve found that the watch face will occasionally get “stuck” on the wrong image. The only way I’ve found to fix this is to switch to a different face and then switch back. This seems to reset whatever got stuck.
I’ve recently become more comfortable with using tags in the opacity field and I figure I could probably make this work using the opacity field instead of the timeline. But I suspect this may be another way of passing on the same instructions. In other words, I would run into the same issue.
Have you found one method to be more reliable than the other? Any ways I haven’t thought of for accomplishing this that might be more efficient?
I personally do not like the Time Line . I prefer to do stuff with Tags . As you say switching the opacity is a nice option . You get numbers you can check with a calculator and copy and paste into the Field . Are you talking about Day-Night . That can only be used for WOS3 Watches .
Well, I got stuck. I can’t get any of my formulas to work. Here is one example formula:
([HOUR_1_24] >= 8) * ([HOUR_1_24] < 17)? 100: 0
Ideally, this would display the image between 0800 and 1700, but it doesn’t display at all. I’ve tried to mirror this exactly like in the Tag Expressions guide, but for some reason it is not working for me. Can anyone spot any issues with my syntax?
I do not see anything that should make that formula fail.
On my WFS preview it works. Is it failing on your watch or even on WFS?
I would remove every unnecessary space between and also the double comparison sign and even enclose it in brackets to make the result a number, just to make sure there is nothing left for the watch SW could conflict with
(([HOUR_1_24]>7)*([HOUR_1_24]<17)?100:0)
Thank you Peter! I tried every variation with spaces and nothing worked so I went with the spacing that seemed to be modeled in the guide. No spaces is certainly easier! It was not working in WFS, so I did not deploy it to my watch.
I will try your suggestions in the morning when I am back at my computer. Crossing my fingers…
I figured it out. When I switched from timeline control to tags, I deleted the frames from the timeline, thinking it would conflict. Apparently if it is disabled in the timeline, it won’t display at all. So by reactivating the images in the timeline (but setting them to always active instead of within my specified windows as before), the opacity tags now function as intended.