I have several battery devices. Some of these generate a battery low warning, only to be followed a few hours later with a battery level of 52% (or some other low 50s value). What I wanted to do is run an event periodically (say weekly) that would tell me if a battery was in the low warning state for at least a week, and the me an email to that effect.
So I created an event as follows:
if event is manually triggered
and if a device in group "batteries" has a value of 255
and if any device in group "batteries" has been in range 255,255 for at least 7d
then send email
I then have another event that calls this event weekly "if conditions are met".
My manual event never runs because conditions are not met. If I change the statement above to test for at least 1 second, it runs fine. If the time test is for several hours, again it fails.
What am i doing wrong. Please don't comment on syntax because I am away from my system right now and am typing it in from memory.
So I created an event as follows:
if event is manually triggered
and if a device in group "batteries" has a value of 255
and if any device in group "batteries" has been in range 255,255 for at least 7d
then send email
I then have another event that calls this event weekly "if conditions are met".
My manual event never runs because conditions are not met. If I change the statement above to test for at least 1 second, it runs fine. If the time test is for several hours, again it fails.
What am i doing wrong. Please don't comment on syntax because I am away from my system right now and am typing it in from memory.
Comment