So I’m a bit new to facer and even newer to the coding side of things. The logic is proving difficult for me to grasp. I want an object to appear using the transparency feature for a 1/2 hour before sunrise and again for a 1/2 hour after sunset. Then another object to appear for a 1/2 hour following sunrise and a 1/2 hour before sunset. I can’t figure out the proper codes to achieve this. I’ve been looking at several tutorials and threads such as the following links but cannot make figure out how to modify those formulas to achieve the desired effect. Does anyone know how this could be done? I feel like I am so close but yet so far! Thanks in advance!
Thank you @dy_watch! That does work and I managed to get what I wanted by duplicating the item and having a total of four equations on four objects, each a variation of yours to put them at the right time. Check it out! Now I’m curious to know if it drains the battery too quick and how it works on a real watch! (Unfortunately I don’t have a smartwatch yet.)
I’m wondering though, would it not make the equation shorter to use #WRH# (Sunrise hour) or #WRm# (Sunrise minute) instead of #WSUNRISE24# (Time of sunrise)?
Glad it worked! And I’m not sure why they have two sets of tags for basically the same thing .#WSUNRISEH# and #WRH# are both listed as sunrise hour, but #WRH# is 0-23, so you’d have to add 1 I think. At least, if #WSUNRISEH# is accurate, which it seems to be from testing, the 1-24 hour time is better.
Also, from my experience, weather + location drains battery more than anything else so it should be a negligible difference on top of that here.