Hi,
Wanted to explore the world of counters and need some help.
I have 2 sensors attached to my garage door.
When the garage door is closed then g1 is off and g2 is on
when the garage door is opening both g1 and g2 are on
when the garage door is open g1 is on and g2 is off
Now I want to setup the following in elk based on the above.
when g1 becomes on then every 2 seconds I want to announce garage door opening till g2 becomes off.
if g2 is on for more than 15 minutes then want to anouunce garage door is open every 15 seconds.
If both g1 and g2 are on then anoounce gagarge door open every 15 seconds.
Please help setup one rule so that I can see what is the best way to do this and then i cna build on the logic.
regards.
Wanted to explore the world of counters and need some help.
I have 2 sensors attached to my garage door.
When the garage door is closed then g1 is off and g2 is on
when the garage door is opening both g1 and g2 are on
when the garage door is open g1 is on and g2 is off
Now I want to setup the following in elk based on the above.
when g1 becomes on then every 2 seconds I want to announce garage door opening till g2 becomes off.
if g2 is on for more than 15 minutes then want to anouunce garage door is open every 15 seconds.
If both g1 and g2 are on then anoounce gagarge door open every 15 seconds.
Please help setup one rule so that I can see what is the best way to do this and then i cna build on the logic.
regards.