Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request for Event Filter
#2
The second and third aren't the same. The third means only one of them can be true. If more than one is true the filter will return false. The second means that at least one must be true, but more than one can be true.

We can't do the thing you are talking about, not at least using the scheme it currently uses, which are boolean logic type operations, not counters. It's not actually counting how many are true or false, it's using boolean AND, OR, and XOR operations to create a bitmask where one bit represents each of the four filters. It then just sees if the resulting value is zero or non-zero.

So it would take a fairly significant change to do that.

Keep in mind that you can put the common logic of these actions into a global action and invoke that, passing it parameters to tell it what to do. So you could probably minimize the redundancy pretty significantly.
Dean Roddey
Explorans limites defectum
Reply


Messages In This Thread
Request for Event Filter - by George M - 01-17-2013, 08:54 AM
Request for Event Filter - by Dean Roddey - 01-17-2013, 01:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  event and subsequent countdown timer question dogman 9 5,003 05-03-2018, 06:36 PM
Last Post: dogman
  Idea for a different kind of event processing mechanism Dean Roddey 0 1,572 03-20-2017, 09:29 AM
Last Post: Dean Roddey
  Best Way to Handle Wait Times within a Triggered Event kblagron 9 4,851 06-25-2016, 06:03 PM
Last Post: Dean Roddey
  Thingspeak event monitor potts.mike 5 3,515 05-09-2015, 06:11 PM
Last Post: wuench
  event scheduler ellisr63 8 4,077 04-11-2014, 02:43 PM
Last Post: ellisr63
  CQC & Event Ghost Read current state jdmevo123 3 2,783 12-05-2013, 06:49 PM
Last Post: wuench
  new widget, scheduled event modifier willplaice 2 2,182 01-14-2013, 01:33 PM
Last Post: willplaice
  ISY99 - Changing an Enumerated Field in a Scheduled Event kblagron 2 2,181 09-20-2012, 09:49 PM
Last Post: kblagron
  Event Server - Scheduled Events DaveB 2 2,566 06-05-2011, 05:58 AM
Last Post: DaveB
  Triggered event to turn stuff off zra 16 5,714 03-30-2011, 03:18 PM
Last Post: znelbok

Forum Jump:


Users browsing this thread: 1 Guest(s)