Hi,
you need to define a rule and a condition with some comparision and the trigger set to true and then the action list should be executed every time the value changes.
You need the "if-true" in actionlist if you want the action be executed every time the object changes. Without "if-true" the actions are only executed if the result of the condition changes. For the condition you can also chose something which is always true if you need that.
Please read http://sourceforge.net/apps/mediawiki/linknx/index.php?title=Condition%27s_Syntax
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can completely remove the value="…." parameter in this case. Without this parameter, the condition is always true, but that's ok because the "if-true" action list will be executed every time the trigger is fired.
If the object that fires the trigger is stateless (it has the 's' flag), the rule will be executed every time the value is received from the KNX bus or internally set (by a rule, by knxweb, ….)
If not (i.e. no 's' flag), the rule will be executed only if the value has changed.
Jean-François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-03-25
Great, thanks a lot. That helps
Mario
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a 5.xxx value and if this change it should be performed an action. What condition must I define this?
thanks
Mario
Hi,
you need to define a rule and a condition with some comparision and the trigger set to true and then the action list should be executed every time the value changes.
You need the "if-true" in actionlist if you want the action be executed every time the object changes. Without "if-true" the actions are only executed if the result of the condition changes. For the condition you can also chose something which is always true if you need that.
Please read http://sourceforge.net/apps/mediawiki/linknx/index.php?title=Condition%27s_Syntax
Hi,
You can completely remove the value="…." parameter in this case. Without this parameter, the condition is always true, but that's ok because the "if-true" action list will be executed every time the trigger is fired.
If the object that fires the trigger is stateless (it has the 's' flag), the rule will be executed every time the value is received from the KNX bus or internally set (by a rule, by knxweb, ….)
If not (i.e. no 's' flag), the rule will be executed only if the value has changed.
Jean-François
Great, thanks a lot. That helps
Mario