[quote=“integlikewhoa, post:5, topic:189592”][quote=“Aaron, post:4, topic:189592”][quote=“RichardTSchaefer, post:3, topic:189592”]As a user you get to Specify the restart behavior. (SelfTrigger vs SelfReTrigger)
Your examples like the following are invalid syntax!
(Condition < 30)
A Sequence expression needs at least TWO things to compare … You are trying to use a Sequence Expression on only 1 input!
You separate the Inputs (Conditions or PLEG Inputs) with a sem-colon (The order is important) or comma (The order is not important).
You need to review the “Sequence Expression” information. This is more complex than the simple boolean logic … but it was makes PLEG very powerful.[/quote]
I should have been more clear… a Timer cannot be Stopped.
Since Times require need for additional Inputs & Actions (StartTimer)… I’m hoping it is simple Condition statement to check when a Device/Condition was ‘last’ True - e.g. Was it True within the last # seconds, minutes, etc. It does not need to ‘still’ be True. I just care when it was last True.
I was using (Condition;NOW > 30), but the problem is it only checks it once every 1 minutes, correct?
If I use a compare such as… (!Kodi_VideoPlaying; Kodi_VideoPlaying < 30) … does this result True if the Video was not playing, then started playing within the last 30 seconds?[/quote]
Yes a timer can’t be stopped only reset, but if you using something like above and <30 secs then that also can;t be stopped. That statement will be true after 30sec unless you have more logic in your condition which can also me used in your Timer statement too. So seems like a wash, except your right it does involve more work. I have swapped out all my “NOW” logic to a timer as a direct replacement to have actual times.[/quote]
Would be nice to have a basic time compare. Maybe something like a special identifier for Last True & Last False time properties.
Example… Device:LT<30
integlikewhoa, when you converted to Timers, was there a performance improvement - wondering if the system uses less cycles than with NOW?
I use NOW a lot because most of my items dont need exact times. Closing my garage or turning off a light in 15min vs 16min does not make a difference. But things that are under 1 minute clearly that will not work.