Apex Delay

fowler279

Active Member
View Badges
Joined
Aug 4, 2020
Messages
417
Reaction score
419
Location
Owasso, OK
Rating - 0%
0   0   0
I have a virtual outlet that i have configured for water changes. Im wanting to have the skimmer delay 4 hours after water change is done. I added a line of code to the skimmer to try this but it still defaults to the 5 min and then kicks back on. Any ideas on what i can do here for it to delay 4 hours? Thanks

If Output Waterchange = ON Then OFF
Defer 240:00 Then ON
 

MnFish1

10K Club member
View Badges
Joined
Dec 28, 2016
Messages
22,829
Reaction score
21,964
Rating - 100%
1   0   0
I have a virtual outlet that i have configured for water changes. Im wanting to have the skimmer delay 4 hours after water change is done. I added a line of code to the skimmer to try this but it still defaults to the 5 min and then kicks back on. Any ideas on what i can do here for it to delay 4 hours? Thanks

If Output Waterchange = ON Then OFF
Defer 240:00 Then ON
I believe that defer only works when in the 'on state' - so the fact that you've set it 'OFF' means defer has no effect.

If Output Waterchange = ON Then OFF
If Output Waterchange = Off Then ON
Defer 240:00 Then ON

I Think this would be the way to do it - depending on the rest of your settings
 
OP
OP
fowler279

fowler279

Active Member
View Badges
Joined
Aug 4, 2020
Messages
417
Reaction score
419
Location
Owasso, OK
Rating - 0%
0   0   0
I believe that defer only works when in the 'on state' - so the fact that you've set it 'OFF' means defer has no effect.

If Output Waterchange = ON Then OFF
If Output Waterchange = Off Then ON
Defer 240:00 Then ON

I Think this would be the way to do it - depending on the rest of your settings
That makes total sense. I changed it and we will how how to goes. Thanks
 

MnFish1

10K Club member
View Badges
Joined
Dec 28, 2016
Messages
22,829
Reaction score
21,964
Rating - 100%
1   0   0
Added the code and tested it. Skimmer still comes on after 5 min delay instead of 4 hour delay.
you put that code into your 'skimmer code'?
 

MnFish1

10K Club member
View Badges
Joined
Dec 28, 2016
Messages
22,829
Reaction score
21,964
Rating - 100%
1   0   0
you put that code into your 'skimmer code'?
PS - if you look at your skimmer - when it says 'feeding settings' or whatever, the 'defer time' for that is 5 minutes. is it possible you're using a feed time setting at some point? I would ask Neptune this question.
 

MnFish1

10K Club member
View Badges
Joined
Dec 28, 2016
Messages
22,829
Reaction score
21,964
Rating - 100%
1   0   0
I have a virtual outlet that i have configured for water changes. Im wanting to have the skimmer delay 4 hours after water change is done. I added a line of code to the skimmer to try this but it still defaults to the 5 min and then kicks back on. Any ideas on what i can do here for it to delay 4 hours? Thanks

If Output Waterchange = ON Then OFF
Defer 240:00 Then ON
PPS - is there any way to code in the virtual outlet - something turn the skimmer off when the water change is happening - and then 4 hours later? You may also be able to use the 'min' command
 
OP
OP
fowler279

fowler279

Active Member
View Badges
Joined
Aug 4, 2020
Messages
417
Reaction score
419
Location
Owasso, OK
Rating - 0%
0   0   0
you put that code into your 'skimmer code'?
Yes its in my skimmer code.

Fallback ON
Set ON
If Output Waterchange = ON Then OFF
If Output Waterchange = OFF Then ON
Defer 240:00 Then ON
If FeedA 000 Then OFF
Defer 005:00 Then ON

PS - if you look at your skimmer - when it says 'feeding settings' or whatever, the 'defer time' for that is 5 minutes. is it possible you're using a feed time setting at some point? I would ask Neptune this question.
I dont believe so.
PPS - is there any way to code in the virtual outlet - something turn the skimmer off when the water change is happening - and then 4 hours later? You may also be able to use the 'min' command
Not sure on this one. Im using a virtual outlet to turn everything off and then back on again. Not sure about the "min" command.
 

DaneGer21

Valuable Member
View Badges
Joined
Jun 18, 2018
Messages
2,137
Reaction score
2,880
Location
Creston, 44217
Rating - 0%
0   0   0
Here is my code…Defer “on” works fine

Are you using a “Feed” button to initiate the water change?

C01AB72C-7543-4AED-BCF8-13ABB059B009.png

This should be all you need if you are manually turning the virtual outlet “WaterChange” to “ON” or “Auto”…


Fallback ON
Set ON
If Output Waterchange = ON Then OFF
Defer 240:00 Then ON
If FeedA 000 Then OFF
Defer 005:00 Then ON
 
Last edited:
OP
OP
fowler279

fowler279

Active Member
View Badges
Joined
Aug 4, 2020
Messages
417
Reaction score
419
Location
Owasso, OK
Rating - 0%
0   0   0
Here is my code…Defer “on” works fine

Are you using a “Feed” button to initiate the water change?

C01AB72C-7543-4AED-BCF8-13ABB059B009.png

This should be all you need if you are manually turning the virtual outlet to “ON” or “Auto”…


Fallback ON
Set ON
If Output Waterchange = ON Then OFF
Defer 240:00 Then ON
If FeedA 000 Then OFF
Defer 005:00 Then ON
No im using the WaterChange Virtual Outlet
IMG_1855.PNG
 

bdouglas119

Active Member
View Badges
Joined
May 18, 2019
Messages
372
Reaction score
697
Rating - 0%
0   0   0
A
Yes its in my skimmer code.

Fallback ON
Set ON
If Output Waterchange = ON Then OFF
If Output Waterchange = OFF Then ON
Defer 240:00 Then ON
If FeedA 000 Then OFF
Defer 005:00 Then ON


I dont believe so.

Not sure on this one. Im using a virtual outlet to turn everything off and then back on again. Not sure about the "min" command.
Apex reads top to bottom. So it sees the 5 minute defer last and uses that. Best way I can think of is to have an outlet thats deferred 4 hours and the skimmer tied to it.
For example make a virtual outlet “skimmer time”

if outlet water change on then on
If outlet water change off then off
Defer 240

then just have skimmer time added to the skimmer code. This way you can defer 5 for feed mode and 4 hours for water changes
 

DaneGer21

Valuable Member
View Badges
Joined
Jun 18, 2018
Messages
2,137
Reaction score
2,880
Location
Creston, 44217
Rating - 0%
0   0   0
This should be all you need if you are manually turning the virtual outlet “WaterChange” to “ON” then “Auto”…

Im assuming your water change code is something like this…

Fallback off
Set On
Defer xxx:xx then Off

If so, I recommend this Skimmer code…

Fallback ON
Set ON
If FeedA 000 Then OFF
Defer 005:00 Then ON
If Output Waterchange = ON Then OFF
Defer 240:00 Then ON
 
Last edited:

Sleepydoc

Valuable Member
View Badges
Joined
Apr 10, 2017
Messages
1,423
Reaction score
1,266
Location
Minneapolis, MN
Rating - 0%
0   0   0
Yes its in my skimmer code.

Fallback ON
Set ON
If Output Waterchange = ON Then OFF
If Output Waterchange = OFF Then ON
Defer 240:00 Then ON
If FeedA 000 Then OFF
Defer 005:00 Then ON


I dont believe so.

Not sure on this one. Im using a virtual outlet to turn everything off and then back on again. Not sure about the "min" command.
Why not just use the built in defer in the Feed statement? I use feed statements for water changes.
’If FeedA 240 Then Off’ would turn off the skimmer when FeedA is activated and then turn back on 240 minutes after it ends. (Note that if you ‘cancel’ a feed mode the delay doesn‘t apply.)
 

Sleepydoc

Valuable Member
View Badges
Joined
Apr 10, 2017
Messages
1,423
Reaction score
1,266
Location
Minneapolis, MN
Rating - 0%
0   0   0
Another trick that I use with my water change feed mode: I have 2 "If Feed" statements in my pump programming:

Set 100
...
If FeedC 005 Then 1
If FeedC 000 Then 0

The 1st one sets the flow at 1% and keeps it at 1% for 5 minutes after the feed mode is complete, the 2nd one sets the flow at 0. The net effect is the flow is at 0 until the feed mode is complete, then it goes up to 1% for 5 minutes, then goes back to 100%. That gives 5 minutes of low flow for the display to fill up without splashing.
 

Creating a strong bulwark: Did you consider floor support for your reef tank?

  • I put a major focus on floor support.

    Votes: 56 40.6%
  • I put minimal focus on floor support.

    Votes: 29 21.0%
  • I put no focus on floor support.

    Votes: 48 34.8%
  • Other.

    Votes: 5 3.6%
Back
Top