This object is in archive! 
How to make a rule that sends message only once
Answered
I am trying to make a rule that sends a message when the luminance is over a certain point and that works.
The problem i have is that as long as the luminance is over that point i will get the message over and over again.
I would like to only get the message once and when the luminance gets under the certen point and the gets over agen the message will be sent again.
Is this possible to do?
No connection
Real-time notifications may not work
Hello,
you must first create a variable and define it (replace "select" by creating your variable and activate the switch to set the variable to 0 :
Then create the rule (Replace "select" by your created variable) :
Hello,
you must first create a variable and define it (replace "select" by creating your variable and activate the switch to set the variable to 0 :
Then create the rule (Replace "select" by your created variable) :
Hi
each rule is trigger but certain event - it means each time when luminance is over a certain point the rule will be triggered.
The solution in your case could be to add virtual switch which will chaange state if luminance over certain point is triggered or not, i.e. to set tru when first time is over and set to false when first time is below a certain value.
Add this virtual switch to the if loop as the AND condition.
Hi
each rule is trigger but certain event - it means each time when luminance is over a certain point the rule will be triggered.
The solution in your case could be to add virtual switch which will chaange state if luminance over certain point is triggered or not, i.e. to set tru when first time is over and set to false when first time is below a certain value.
Add this virtual switch to the if loop as the AND condition.
Indeed Dino's solution is better. In the rule, the variable must be replaced by the virtual switch.
Indeed Dino's solution is better. In the rule, the variable must be replaced by the virtual switch.
Thanks I'll try this.
Thanks I'll try this.
Hi
just keep in mind to add Join puzzle to avoid triggering rule during time when it is executing.
Hi
just keep in mind to add Join puzzle to avoid triggering rule during time when it is executing.
Replies have been locked on this page!