I have a script to control my greenhouse, which runs every minute. If the humidity or temp is critical, it should take action and inform me. But i dont want to get a message every minute till it is solved.
I now have this line to limit the number of notifications send to 1 in 15 minutes.
Code: Select all
if (domoticz.time.matchesRule('every 15 minutes')) then domoticz.notify('Too dry! Serre humidity <50%', domoticz.PRIORITY_HIGH) end