Hi All,
Sorry for the dumb question, I’m still very new to PLEG and boolean so this might be simple but I couldn’t see it in the forums so I’m going to ask anyway;
I get more than a few false positives from my motion sensors (perhaps my placement) but I want to try and compensate for this in 2 ways;
- Only trip the Siren/Alarm if ANY 2 motion sensors in the house are tripped at the same time.
- -OR- trip the Siren/Alarm if the same sensor is tripped twice in a row.
I think point 2 can be done with something like;
(Sensor1Tripped or Sensor2Tripped or Sensor3Tripped) @ 2 < 10:00
Would that work for point 2 or is their a better way of doing it? I’m lost altogether with point 1 though, if I do something like;
(Sensor1Tripped or Sensor2Tripped or Sensor3Tripped) and (Sensor1Tripped or Sensor2Tripped or Sensor3Tripped)
Because the same sensors are in both statements then it will be true if just one sensor is tripped. What’s the best way of doing this, as doing every iteration for 7 sensors seams silly.
Thanks in advance,