how to not repeat an action
Answered
hi everybody
i created a rule which send me a mail and shutdown roller shutters in the living room when the temp is equal or over 26 degrees
it works ... but every 10 mn i receive the mail until the temp is below 26
how can i do to prevent the zipabox to send me mails notifications? i need only one mail to alert me
thanks a lot
No connection
Real-time notifications may not work
You can set a variable and then reset it at night (or by change of temp) and then check this variable.
You can set a variable and then reset it at night (or by change of temp) and then check this variable.
hmmm
what do you mean by "reset at night"
you have an example?
and if i wait for 8 hours? the temp wouldnt be up tu 26 degrees 8 hours after the beguinnning of the riule which start at 12h00
hmmm
what do you mean by "reset at night"
you have an example?
and if i wait for 8 hours? the temp wouldnt be up tu 26 degrees 8 hours after the beguinnning of the riule which start at 12h00
Something like this:
Rule 1
When rollers down and temp > 26 and not var roller = 1
Send mail
Set var Roller to 1
Rule 2
When temp < 26
Set var roller to 2
You can also use a wait to set (reset) the var .
Something like this:
Rule 1
When rollers down and temp > 26 and not var roller = 1
Send mail
Set var Roller to 1
Rule 2
When temp < 26
Set var roller to 2
You can also use a wait to set (reset) the var .
ok thanks HeroS
ill try this
bye
ok thanks HeroS
ill try this
bye
ok for "when rollers down and temp > 26 but i dont inderstand "and not var roller=1
sorry but i never used variables
ok for "when rollers down and temp > 26 but i dont inderstand "and not var roller=1
sorry but i never used variables
When you use the NOT in the rule then the variable has to be something else.
You also could use var roller = 2 but sometimes it happens that the box loses the variables. So thats why i use this method.
When you use the NOT in the rule then the variable has to be something else.
You also could use var roller = 2 but sometimes it happens that the box loses the variables. So thats why i use this method.
You can simply add a condition
When temp => 26°
IF shutters > 0
send mail
action: shutters 0
This way, you will receive a mail when the temp is above 26°, and the shutters will be closed.
The second time, if the shutters are already closed, the IF condition will stop your rule.
You can simply add a condition
When temp => 26°
IF shutters > 0
send mail
action: shutters 0
This way, you will receive a mail when the temp is above 26°, and the shutters will be closed.
The second time, if the shutters are already closed, the IF condition will stop your rule.
Replies have been locked on this page!