I have an issue with a global time variable that I am trying to use.
I have created the variable and set a value to it: 7:00 AM
Then I have a routine that it is supposed to execute each day at that time. The thing is that the routine gets to execute at 5:00 AM instead. I am guessing this has something to do with the GMT settings.
How can I set the variable so that it should execute at 7:00 AM local time?
Please don’t reply saying to change the hour to 9:00 AM - this is not a solution, it’s a workaround.
PS: I don’t have the same issue if the variable is local…
Ok, found the bug - the set variable in the UI was setting the variable to UTC time, rather than local, but the SmartApp code expected local time. Hard reload your browser and reset the global variable, it should then be ok.
Me too, mine is firing an hour off.
My hub time is “Arizona/Phoenix”
Webcore is firing off of a mountain (daylight) time.
AZ is its own timezone though matches Pacific during Daylight savings, and Mountain during standard time.
All devices that modify WC pistons are properly set to AZ timezone.
Unfortunately, I get the same behavior. I even created a new variable, but it is still doesn’t working.
If I setup the time variable value to 7 AM for example, after saving the variable it will show 10 AM as the value set.