Originally posted by Ltek
View Post
Announcement
Collapse
No announcement yet.
Easy Trigger Group
Collapse
X
-
Originally posted by Ltek View PostWhy ?
Sent from my SM-G950U using Tapatalk
what does a trigger like "IF All device's value in this group change and become X" would mean?
if it means all the devices change at the same instant, this trigger would never happen
if it means one changes and becomes X, and the other in the group are already X, then it's equivalent to
IF Any device's value in this group has just changed
AND IF All device's value in this group are X
Comment
-
Originally posted by spud View Postwhat does a trigger like "IF All device's value in this group change and become X" would mean?
When ALL become Value = X ...
D1 = X and D2 = X and D3 = X
... in the case above, the Trigger becomes true immediately when all 3 devices have value of X
This is ideal for Groups of sensors. Example with usage...
MotionGroupGreatRoom = No Motion ... turn off lights when all motion stops
TemperatureGroup = 32F ... turn on heater when all sensors show the temp as freezing
DoorSensors = Closed ... do not allow alarm event to arm unless all doors are closed
WindowSensors = Closed ... do not allow alarm event to arm unless all windows are closed
Comment
-
Originally posted by Ltek View PostA simple ANDing of all items vs your ORing of them with ANY.
When ALL become Value = X ...
D1 = X and D2 = X and D3 = X
... in the case above, the Trigger becomes true immediately when all 3 devices have value of X
This is ideal for Groups of sensors. Example with usage...
MotionGroupGreatRoom = No Motion ... turn off lights when all motion stops
TemperatureGroup = 32F ... turn on heater when all sensors show the temp as freezing
DoorSensors = Closed ... do not allow alarm event to arm unless all doors are closed
WindowSensors = Closed ... do not allow alarm event to arm unless all windows are closed
IF Any device's value in this group has just changed
AND IF All device's value in this group are X
Comment
-
Originally posted by brientim View PostThe way I would look at this is the trigger is any group value has changed And (arguments)
1. the sum (groups value) >= 1
2. The sum (groups value) =0
Rather than All devices...
Sent from my SM-G950U using Tapatalk
Comment
-
Originally posted by spud View Postas I said this is strictly equivalent to:
IF Any device's value in this group has just changed
AND IF All device's value in this group are X
... does not work when the physical devices / status values are not identical.
for example, Motion Sensors:
Motion Detected on some devices set the Value to 1, others to 255, others to 8.
Your Condition fails here. If you change it to allow for text status ("Motion"), this might fix the problem - not sure.
BTW - any chance you can add a Rename function to the Schedules & Groups?Last edited by Ltek; October 14, 2017, 01:31 AM.
Comment
-
Originally posted by Ltek View PostFound a large limitation to "IF All device's value in this group are X"
... does not work when the physical devices / status values are not identical.
for example, Motion Sensors:
Motion Detected on some devices set the Value to 1, others to 255, others to 8.
Your Condition fails here. If you change it to allow for text status ("Motion"), this might fix the problem - not sure.
BTW - any chance you can add a Rename function to the Schedules & Groups?
Try
<>0
For motioncheeryfool
Comment
-
Originally posted by Ltek View PostFound a large limitation to "IF All device's value in this group are X"
... does not work when the physical devices / status values are not identical.
for example, Motion Sensors:
Motion Detected on some devices set the Value to 1, others to 255, others to 8.
Your Condition fails here. If you change it to allow for text status ("Motion"), this might fix the problem - not sure.
BTW - any chance you can add a Rename function to the Schedules & Groups?
IF Any device's value in MotionSensors has just changed
AND IF All device's value in MotionSensors_1 are 1
AND IF All device's value in MotionSensors_255 are 255
AND IF All device's value in MotionSensors_8 are 8
Comment
-
Originally posted by spud View Postjust create sub groups for your motions sensors:
IF Any device's value in MotionSensors has just changed
AND IF All device's value in MotionSensors_1 are 1
AND IF All device's value in MotionSensors_255 are 255
AND IF All device's value in MotionSensors_8 are 8
Originally posted by andyf View PostThis. I have 5 occupancy motion sensors and test for any being "not off (0)" or all being "off (0)".
Comment
-
Originally posted by andyf View PostI guess it all depends on what you use the sensors for. For my occupancy usage case I would assume any non-zero value to indicate that the sensor had detected some kind of activity.
Sent from my SM-G950U using Tapatalk
Comment
Comment