Time variable rule change not creating trigger event

So, this is my test rule. It's whole function is to take a time variable, set it to "now" then increment it by one minute. The trigger is based on that time variable.

If I change the time variable via the dashboard, the scheduled trigger is updated, and the next run appears in scheduled tasks correctly.


When the rule rules though, the variable is updated, and the trigger on the rules page is updated...

But the scheduled job is not updated...

Any ideas? Yes it's academic, but I had it on my hydroponics pump and it was failing. I have a delay now, but this seems more elegant.

Works for me. Keep in mind that you will not see it increase dynamically when the rule is open and you're viewing it. You will only see it when you click Run Actions, and then Update Rule

It "works" when I update the time variable via a dashboard, and if I hit update, but if I have to hit update everytime, it's not automated. It's not scheduling the next trigger event when the time variable updated through the rule, only when through the dashboard via a connector.

So, the use case is...

I have my hydro lights scheduled to go off at sunset, so my window doesn't glow pink all night. So, I take sunset time apply a negative offset for 16 hrs in minutes.

When sunset changes, it updates the rules, but does not update the scheduled task. I check about 9AM, and the light is off, but should have came back on at 1 AM.

Interestingly enough, if I use a global time variable, it works fine, but if I use a local it fails.

I have a task that uses a time variable as a trigger and it seems to be working for me, but I am using a global variable, so maybe there is an issue with local.

I just switched it to global, not ideal, but workable. I did find out what was happening. With a local variable, it WAS scheduling the next event, but for the next day. With global, it doesn't do that.

local is for that one rule to use. It's not accessible to other apps.

Who said anything about other apps? This is the same app, I was updating the times for the triggers FOR THE SAME APP.