Jump to content
C4 Forums | Control4
  • 0

Task cyclic mode fountain


dontpanicua

Question

Hello everyone, I can’t solve the problem posed by a client, can someone help or suggest?
The essence is this: there is a fountain, it should work in two modes
1. Manual mode (always on
2. auto mode (turn on for 10 minutes and turn off for 10 minutes and so on in a cycle). When manual mode is turned on, automatic mode is disabled
 

image.thumb.png.c49407e10a1bb2a34cc4f28b81cf40b7.png

 
I tried using the standard driver but it does not allow working in cyclic mode
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Experience Button Key Status
Red - off
Green - on (manual)
Yellow - auto

When yellow, turn on fountain, start timer FountainRun
FountianRun expires, if set to auto then turn off fountain and start timer FountainDelay
FountainDelay expires, if set to auto turn on fountain and start timer FountainRun

When red, stop timer FountainRun and FountainDelay, turn off fountain

When green, turn on fountain, stop timer FountainRun and Fountain Delay

Two timers so if someone wants different than 10 and 10 you don't have to reprogram everything, just tweak their times.

Link to comment
Share on other sites


  • 0

You could also do it with the driver you have screen shot as follows:

- change the countdown in the properties from “1” in your screenshot to 10.  
- add programming when drivers countdown variable changes to 0, start timer XXX

- create a timer xxx which is 10 minutes long.

- when timer expires set the driver you screenshotted to 10 minutes using the device specific command in the driver.

This will give you single click is on (manual), double click is on auto and will show the 10 on the icon to let you know this.  Any click on the experience button while auto or manual has been on for more than 10 seconds will turn it off.

Using this method, you won’t be able to stop the auto run during the 10 minutes off unless you either add another button (which stops the timer) or turn the fountain on (manual mode) and off again.  If you choose the latter then you will also need a stop timer command under the driver specific event “on”.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.