Author Topic: 1 trigger for every device in a scene?  (Read 674 times)

Offline cmaples

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-1
1 trigger for every device in a scene?
« on: January 07, 2014, 02:03:26 am »
I did some searching and think the answer to this is probably no, but here goes nothing. I've got dozens of door and window sensors. I have a scene that arms them all ("Away"). I'm going through the tedious process of creating triggers for every sensor. Is there a way to create a trigger for which the device is something like "any sensor in this scene"?

Thanks

Offline famvis

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: 1 trigger for every device in a scene?
« Reply #1 on: February 12, 2014, 09:03:16 am »
Use the combination switch app. Here you can make one trigger for all sensors..

Offline BulldogLowell

  • Hero Member
  • *****
  • Posts: 1576
  • Karma: +191/-85
Re: 1 trigger for every device in a scene?
« Reply #2 on: February 12, 2014, 09:24:42 am »
agreed.

Ot, you could use PLEG to 'gather up' the status of easy sensor and if any are tripped, deposit a "Tripped" variable into Variable Container, or even flip a virtual switch

Conditions:

ASensorIsTripped:        Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR ...
ASensorIsNotTripped:   Not (Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR Sensor1Tripped OR ...)

Actions

ASensorIsTripped:   Set the Variable to "1"
ASensorIsNotTripped: Set the Variable to "0)

This PLEG will toggle the Variable On if any sensor is tripped

You can see on the attached how to populate the variable in the Advanced tab of the Action

You then create your scenes triggered off of the contents of the Variable

Switching the variable switch is similar