Help with ELK rules / programming

telljcl

New Member
As I'm pretty new to the ELK M1, I was wondering if anyone could help me get started writing a rule / program to:

Put a text on the keypad if there has been motion within the last 15 minutes.

I can't seem to figure out how to do this where it will always show if there has been motion within the last 15 minutes.

I'm sure its simple but I can't figure it out.

Thanks in advance for any help.
 
think of it this way:

You're always going to be WHENEVER (condition) ((AND for multiples or additional requirements)) THEN (action 1, or multiples)

first, program a text to be displayed

WHENEVER (condition) then SEND TEXT to keypad (you decide time or how to clear, such as * to clear)
 
As I'm pretty new to the ELK M1, I was wondering if anyone could help me get started writing a rule / program to:

Put a text on the keypad if there has been motion within the last 15 minutes.

I can't seem to figure out how to do this where it will always show if there has been motion within the last 15 minutes.

I'm sure its simple but I can't figure it out.

Thanks in advance for any help.
Is this what you want?
Code:
Whenever Zone x (motion) becomes not secure
then turn output y for 15 minutes (restart if running)
then send text z to keypad

Whenever output y turns off
then clear previously displayed message
 
Thanks a bunch - thats exactly what I needed.

I really hadn't thought of using an output as the timer (hadn't looked at them because at this point don't have anything attached).

The whole concept of using things as flags etc... is just starting to take hold.

The output's timer capability is what I hadn't been able to do (simply) any other way.

Thanks for posting!
 
Back
Top