Page 1 of 1

How to add condition - only once a specified time

Posted: Monday 15 October 2018 12:07
by misko903
hello,
i have made a script, which measures the outside humidity and inside humidity. when the inside hum. is greater than outside more than 20%, it sends a message.

The problem is, when it is on the border - 19 and 20%, the message is send every time, when the condition applies. How can I make some hysteresis, or better, that the message is sent only once (a day?) and not 20-times in 5 minutes?

Image

thank you,
Michal