Announcement

Collapse
No announcement yet.

What is the difference between these Event Trigger options?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What is the difference between these Event Trigger options?

    What is the difference between these two Event Triggers:
    Click image for larger version

Name:	Screen Shot 2019-03-03 at 16.19.01.png
Views:	40
Size:	26.6 KB
ID:	1289740
    They explode out to these seemingly identical conditions:

    (Enter a custom value):
    Click image for larger version

Name:	Screen Shot 2019-03-03 at 16.18.17.png
Views:	29
Size:	74.3 KB
ID:	1289741

    (value)%:
    Click image for larger version

Name:	Screen Shot 2019-03-03 at 16.26.59.png
Views:	29
Size:	108.5 KB
ID:	1289742

    Note that there is no "Range" and no "Range" can be specified. It is a closed-ended drop-down to choose a single value from.

    Do these do anything at all different, or is it just an example of sloppy/indifferent programming/design?

    #2
    They do not do anything different. It is not sloppy/indifferent programming/design. The "(value)%" is based on the formatted status as defined by the VS configuration of the device and "(Enter a custom value) is based on the raw numeric value of the device. Here is a device I created where the status is defined by "Dim " as the prefix and "%" as the suffix.

    Click image for larger version  Name:	Capture1.PNG Views:	1 Size:	52.5 KB ID:	1289764

    You will note that the two choices for the device trigger are based on the formatted Status Text "(Dim (value)%" or a custom value.


    Click image for larger version  Name:	Capture.PNG Views:	1 Size:	47.7 KB ID:	1289765

    The custom value is of use for a device that might have status text that does not include the numeric value of the device, but that you want to trigger on a value. It is much like the Name vs RefID of a device, the RefID is the raw device identifier, where the name device name is formatted for human interaction. This device does not include the value in its status text:

    Click image for larger version  Name:	Capture3.PNG Views:	1 Size:	56.8 KB ID:	1289766

    Now the custom value is a way to set the trigger to act on a value rather than the Status Text.

    Click image for larger version  Name:	Capture2.PNG Views:	1 Size:	58.4 KB ID:	1289767

    Comment

    Working...
    X