Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Triggered Event on Timer Question
#1
I need help on a timer and a triggered event.

I have the run time driver installed and a triggered event on two fields.  <name>_RuntTimeElapse and <name>_TimeSince LastRan, with  the trigger set as follows

"Send a trigger if the Expression is True"
IsGtThan
<value>

Its the last field that I cant work out and the doc's are no help.

I have tried the last two and both have the same result.

If the timer is running and is then reset, a triggered event is sent, even when the time is less than the defined value.

The first option unlatched should send a trigger every time the value changes when GT the trip point.

How do I set up a trigger for when the time exceeds the nominated value?
Mykel Koblenz
Illawarra Smart Home
Reply
#2
Just to elaborate, it does trigger when the time exceeds the value, but it also triggers when the time is reset and has not exceeded the trigger time. - So it works but has an issue on a normal reset
Mykel Koblenz
Illawarra Smart Home
Reply
#3
Hmm... sounds like it could be a bug maybe. It obviously should be latching. But it should be one way latching. Two way latching will trigger if it changes state in either direction. One way latching should only trigger when the expression goes false to true.
Dean Roddey
Explorans limites defectum
Reply
#4
Yeah, it feels like there is a bug there
Mykel Koblenz
Illawarra Smart Home
Reply
#5
What version are you on? So far I've not reproduced this. There was a lot of work put into this latching stuff a while back. I'm guessing you are on a version past that, but just in case... And by reset I assume you mean writing to the RunTimerX_Reset field, right?
Dean Roddey
Explorans limites defectum
Reply
#6
I'm on version 5.3.956

By reset I mean the value is returning back to zero by what ever method. I think when the input goes high it resets the timer and times from 0 (i.e. not accumulative)
Mykel Koblenz
Illawarra Smart Home
Reply
#7
There are shortcomings with the latching back that been reworked since then. So there's a good chance that's the issue. Most of these improvements were done in 5.4 which introduced bidirectional latching. At that point, I and someone else dug pretty heavily into this and got it really well worked out.
Dean Roddey
Explorans limites defectum
Reply
#8
OK, I'll put some time aside to do an upgrade and re-test.
Mykel Koblenz
Illawarra Smart Home
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Global Variables in the Event Server context lleo 1 222 05-16-2020, 11:21 AM
Last Post: Dean Roddey
  V2 Question - OpenWeatherMap Using their New JSON Data Feed kblagron 7 508 05-07-2020, 01:40 PM
Last Post: Dean Roddey
  Dynamic Overlay Question bryanb 4 312 04-17-2020, 03:48 AM
Last Post: bryanb
  [FEATURE] Event Run Action simplextech 4 764 01-09-2020, 02:04 PM
Last Post: simplextech
  Media playing from Event simplextech 11 1,421 01-07-2020, 06:09 PM
Last Post: simplextech
  Question on CQC Driver Pack Install kblagron 1 432 11-26-2019, 06:38 PM
Last Post: Dean Roddey
  Editing Triggered Events Possibly Causing Kernel Panic/Crash gReatAutomation 6 871 11-08-2019, 01:10 PM
Last Post: Dean Roddey
  Pause / Resume Triggered or Scheduled Actions from the Interface Viewer gReatAutomation 2 631 10-30-2019, 01:38 PM
Last Post: gReatAutomation
  Possible Bug with Triggered Events gReatAutomation 3 629 09-19-2019, 02:41 PM
Last Post: gReatAutomation
  Triggered Event and Standard Triggers gReatAutomation 5 796 08-23-2019, 12:38 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)