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
Software Geek Extraordinaire
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
Software Geek Extraordinaire
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Triggered Event Server not triggering EST 52 2,529 08-10-2018, 11:23 AM
Last Post: Dean Roddey
  Triggered event w/ multiple triggers lleo 16 1,036 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 208 05-16-2018, 09:06 PM
Last Post: Dean Roddey
  Logic Server- Few questions EST 13 1,750 01-19-2018, 10:53 AM
Last Post: EST
  Event entry not responding! Deane Johnson 4 729 12-11-2017, 02:10 PM
Last Post: Dean Roddey
  Writing to an external file from trigger event Ira 21 3,593 11-13-2017, 02:08 PM
Last Post: znelbok
  Really simple CML driver questions znelbok 327 82,541 10-11-2017, 09:19 PM
Last Post: znelbok
  Motion Event Running Twice? zra 2 1,017 07-31-2017, 08:15 PM
Last Post: zra
  EVent Server Monitor znelbok 1 874 06-07-2017, 12:36 PM
Last Post: Dean Roddey
  Auto-gen questions IVB 11 3,037 05-15-2017, 11:53 AM
Last Post: IVB

Forum Jump:


Users browsing this thread: 1 Guest(s)