Announcement

Collapse
No announcement yet.

Expression returns value of 0?

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

    Expression returns value of 0?

    Playing with expressions, newer user, I am creating an event that after a certain time all the lights in a group goto a certain dim value. The expression keeps returning zero:

    DEBUG Expression if ($DEVICEVALUE <= 100 and $DEVICEVALUE >= 51, $DEVICEVALUE = $$DVR:150:, $DEVICEVALUE ) evaluated to 0

    Ref 150 is a virtual device dimmed to 50% , changing its value triggers the event. The value of Ref 150 is changed at a certain time. Thanks for any help!!

    #2
    The 2nd argument should be simply $$DVR:150:

    Remove the "$DEVICEVALUE =".

    ​​​​​​It is implied.
    -Wade

    Comment

    Working...
    X