Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Triggered Event Questions
#1
I'm monitoring 9 different sensors. If any one of them triggers, I want to run the same action. A triggered event allows me to monitor up to four fields. Should I just set up three triggered events to cover nine sensors (4+4+1) and send them all to a global action?

For each triggered event, What is the best way to store the name of the triggered event field in a variable? Also what is the best way to store the contents of that field in a variable?

Thanks, Richard
My Other web server is Dropbox.
Reply
#2
You don't have to literally use the field name. You can use regular expressions in the comparison values of the filters. Is there any pattern to the field names? If so, we can come up with a regular expression that should match them and only them. If they are from the same device driver, we can also help make sure that the regular expression is unique by also just checking if the trigger is from the driver of interest in a second filter.
Dean Roddey
Explorans limites defectum
Reply
#3
Good idea. I wrote a regex that gets my zones. Now I just need to know how to turn the triggering field and field value into variables.

Thanks, Richard
My Other web server is Dropbox.
Reply
#4
The TrigEvent action target has methods to get information about particular types of triggers, which will include the field name and value.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Event Order ... rbroders 24 379 01-12-2019, 02:51 PM
Last Post: Dean Roddey
  Web Camera Widget Questions znelbok 4 152 01-03-2019, 03:27 PM
Last Post: sic0048
  Triggered Event Server not triggering EST 52 5,058 08-10-2018, 11:23 AM
Last Post: Dean Roddey
  Triggered event w/ multiple triggers lleo 16 1,890 06-06-2018, 06:21 PM
Last Post: lleo
  What device model to put for a Jasco/GE switch? And a questions about V1/V2/V3. ghurty 1 475 05-16-2018, 09:06 PM
Last Post: Dean Roddey
  Logic Server- Few questions EST 13 2,706 01-19-2018, 10:53 AM
Last Post: EST
  Event entry not responding! Deane Johnson 4 1,110 12-11-2017, 02:10 PM
Last Post: Dean Roddey
  Writing to an external file from trigger event Ira 21 4,917 11-13-2017, 02:08 PM
Last Post: znelbok
  Really simple CML driver questions znelbok 327 98,886 10-11-2017, 09:19 PM
Last Post: znelbok
  Motion Event Running Twice? zra 2 1,310 07-31-2017, 08:15 PM
Last Post: zra

Forum Jump:


Users browsing this thread: 1 Guest(s)