Announcement

Collapse
No announcement yet.

trouble with comparing two numbers

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

  • trouble with comparing two numbers

    spud I have been trying to get easy trigger to compare between a virtual device and a temp sensor and then flip a switch. I am having lots of trouble. I have a text box to submit a number into so I can set a decimal. but I have also tried a drop down. the easytrigger does not seem to be comparing the values like I thought is would.



    I have two events


    one to turn on the switch

    if temp sensor > virtual device


    and the second to turn off the switch

    if temp sensor < virtual device


    am I barking up the wrong tree?

  • #2
    it should work but if it is a trigger, the inequality needs to become true for the trigger to fire, i.e it needs to be false, then one of the device's value changes and it results in the inequality becoming true.

    Comment

    Working...
    X