if I understand the 'if-true' condition right, it always triggers when the condition is true no matter what the value was before.
In my case I defined a switch that should trigger the 'if-true' condition when 'on' arrives on the bus, and the 'if-false' condition if 0 arrives.
But what happens is that the rule alternates from the 'if-true' condition to the 'if-false' condition even if I only receive 'on' on the bus.
As you see in the vbusmonitor1 result I only receive 01 values on the bus. The condition 'switch_volume' evaluates alternating from 0 to 1. I just do not understand why. I would expect that it evaluates to 1 every time.
Maybe someone can shade some light into my darkness and has a clue why this is not working how expected.
Thanks a lot
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I kind of found the problem. I changed the flags to "cwtrf" removing the u=update flag. That one was hindering the update I saw on vbusmonitor to be used by linknx. Why this was toggeling the result is still not clear to me, but now it works which is what I wanted.
I leave this in the hope it might help someone with similar issues.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
if I understand the 'if-true' condition right, it always triggers when the condition is true no matter what the value was before.
In my case I defined a switch that should trigger the 'if-true' condition when 'on' arrives on the bus, and the 'if-false' condition if 0 arrives.
But what happens is that the rule alternates from the 'if-true' condition to the 'if-false' condition even if I only receive 'on' on the bus.
Here the definition of the object:
Here the definition of the rule:
Here the evaluation result from the linknx output:
Here the vbusmonitor1 result:
As you see in the vbusmonitor1 result I only receive 01 values on the bus. The condition 'switch_volume' evaluates alternating from 0 to 1. I just do not understand why. I would expect that it evaluates to 1 every time.
Maybe someone can shade some light into my darkness and has a clue why this is not working how expected.
Thanks a lot
Hi All,
I kind of found the problem. I changed the flags to "cwtrf" removing the u=update flag. That one was hindering the update I saw on vbusmonitor to be used by linknx. Why this was toggeling the result is still not clear to me, but now it works which is what I wanted.
I leave this in the hope it might help someone with similar issues.