-
Hi, could I keep track of cancelled timer?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
Better explain your use case, instead asking for something which is not a feature. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to revisit this again but with a different approach of simply checking if the timer is still running
Basically when the relay is turned off starts 3 second timer, and when turned on checks if the timer1 isn't finished and compares the color temperature. |
Beta Was this translation helpful? Give feedback.
What you missed is that there are 2 type of 'timers' in Tasmota: RuleTimers as you are using above and the more generic Timers that are used to trigger actions at time-of-day.
The variable
%timerx%
refer to the laterThe only way to get the value for a RuleTimer is from a rule to issue the command
Backlog RuleTimer
and to catch the value withon T1 do