Timed Alarm Script

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
User avatar
HaylingUK
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: Thu Jan 30, 2014 8:06 pm
Location: Hayling Island, South Coast UK
Contact:

Timed Alarm Script

Post by HaylingUK »

I want to trigger an alarm report once a day at 0730 local time, just to be sure everything is still working.
I have implemented this with :
|| ([hh]=07 && [mm]=30
In the raise condition string.

It does send an email at 0730, followed by several more duplicates during that minute.
So I added [ss]=00 but this resulted in no alarm at all, I guess unless the program polls at the exact second it misses it.

How can I generate one email at 0730 ?
Regards

Arthur
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Timed Alarm Script

Post by admin »

Please specify mode as "one-time" alarm and add "|| ([hh]=07 && [mm]=31)" to the "clear condition".
That should give just one email and resets the trigger when 7:31 has been reached to be ready for new notifications.
Post Reply