Elk M1 time rule not working

SIMKO

Member
I have an interesting problem...

I set up a rule to email me once a day at 7:00am and another to email me if any alarm is activated. These are the only two rules in my Elk at the moment.

Both rules were working fine, but after 7 days, the daily email at 7:00am stopped working.

I figured it was something wrong with the email, but after double checking some things, the rule to email if there is an alarm works fine, it's just the rule to send the email everyday at 7:00am that isn't working.

WHENEVER THE TIME IS 7:00AM THEN SEND EMAIL MESSAGE 1 TO [email protected]

I've tried deleting and recreating the rule, but it still doesn't seem to work.

Any ideas?
 
It started working today on it's own. I did not change anything.... not even a power cycle or a reboot.

Worked from 5/27-6/2 (7 days)
Stopped working 6/3-6/6 (4 days)
Started working today 6/7

I guess I'll see how long it works for....
 
Check your spam filter? I would maybe consider adding something additional to happen when the rule runs to verify it is running (log message, voice, turn on light, etc). That might help you determine if the rule is just not running, or if the email is not getting sent, not getting received, etc.
 
wuench has a good point - get verification it was sent. The problem may be with the mail provider.

I've been having the M1 send a "daily test message" @ 8:00 am for a while now - it's a smart thing to do.
 
Can also run a basic network analyzer or wire shark to see if the email hits the network and what basically happens within the internal network.
 
Anyone know why Whenever x time rules don't always work?  V 5.3.8 I had two rules Whenever every 1 hour and they would not execute.  So I changed them to every 58 and 59 minutes and they seem to work.  This was not an issue with what the rules were doing they just would not exec.  I tested this with different actions in the rules (send e-mail, set output, etc).  The rules just would not exec.
 
No I have the same issue with Whenever every 10 minutes.  The rules just don't exec at all.  I can make a test rule :
Whenever Every 10 Minutes
      Send email 
No go
Whenever Every 10 Minutes
     Toggle output
No go
 
Update: So with further testing it seems that 9 minutes works just fine.  I think the issue is when there are multiple rules with the same time interval one (or all of them) don't execute.
I think this is what I ran into with the 1 hour rules as well and I had to switch one to 58 minutes and another to 59 minutes.
 
Has anyone else run into this issue?  It is just V 5.3.8 or is there something else going on here?
It is such a pain to debug and get the Elk to do anything useful when rules just don't execute when they are supposed to.
 
Back
Top