Elk timed output using toggle?

AnotherOne

Active Member
I want to turn a pump on for 2 hours when I press F2 and be able to turn it off by pressing F2 again.

But I don't see anywhere to put in a time for the "toggle" option in Output controls (bummer, and seems silly since the M1 knows the state of the output)

So, does any one see any problem with doing it with these 2 rules:

Whenever F2 on Keypad-1 is pressed
Then toggle Output-49

Whenever Output-49 is turned on
Turn on Output-49 for 2 hours, reset timer if already running.
 
There may be other ways to do it depending on how you are controlling the pump. What you posted should work except you also need a rule to turn the pump off when Output 49 goes off.
 
There may be other ways to do it depending on how you are controlling the pump. What you posted should work except you also need a rule to turn the pump off when Output 49 goes off.

The output-49 relay controls the pump. So when it's on, the pump is on, when it's off, the pump is off.
 
I did something similar... but I remember thinking I had to do things a little differently...

I set the Illumination Event to the Output's state (lets use Output 1 as the example).
For the "Activates Event" I set it to Automation Task 04.

Mine's a little different, but you should be able to set the automation task up something like this:
Whenever Task4 is activated and Output 1 is off; then Turn Output 1 on for 2 hours.

and another rule:
Whenever Task4 is activated and Output 1 is on; then turn output 1 off.

That's essentially how I got around that so I could set the timer... mine doesn't control a set load though, it disables system voices and door chimes for 2 hours so I can silence the system when I leave in the morning, but it'll clear around the time my wife wakes up... so I burned another output setting all the preferences.
 
Back
Top