Adding an alarm 30 minutes from now
Posted: 22 Jul 2014 12:55
I have a flow that's supposed to set an alarm 30 seconds from the trigger time. It's kicked off by a Global variable. The problem is, it works great sometimes, and other times I get that alarm many hours away instead of 30 seconds. It goes like this:
Global Variable:gloabl_MotorcycleMode
-(Condition) Expression: global_MotorcycleMode
-(False): SetAlaram: Remember keys at
{triggertime,dateformat,HH}
{addSeconds (getDate(),30),dateformat,mm}
Did I make my calculation on 30 seconds for now wrong, or should I not be using triggertime for this?
Global Variable:gloabl_MotorcycleMode
-(Condition) Expression: global_MotorcycleMode
-(False): SetAlaram: Remember keys at
{triggertime,dateformat,HH}
{addSeconds (getDate(),30),dateformat,mm}
Did I make my calculation on 30 seconds for now wrong, or should I not be using triggertime for this?