Skimmer ph control

Reef man 89

Valuable Member
View Badges
Joined
Oct 8, 2016
Messages
1,902
Reaction score
1,343
Rating - 0%
0   0   0
I added a AFS to my apex and created a virtual outlet to turn off pumps and skimmer when it’s activated. Now before I added this I had my skimmer turn on and off if my ph got to high. If it did get to high then my skimmer( 8.35) would shut off till it fell 8.25 so my skimmer wouldn’t come on and off. But ever since I add the code it won’t wait till the ph get below 8.25 before it turns back on. It will keep turn on and off between 8.35-8.34. Can someone fix this code for me and tell me what I wrote out wrong

05FC46A5-794B-41BF-855C-C273D1EAF232.png
 

John08007

Well-Known Member
View Badges
Joined
Apr 4, 2019
Messages
945
Reaction score
653
Rating - 0%
0   0   0
This is pretty cool and something that im sure no one has considered doing. Run 2 skimmers, one of them vented to the outside, use the apex to switch between the 2 based on the ph reading.
 
OP
OP
Reef man 89

Reef man 89

Valuable Member
View Badges
Joined
Oct 8, 2016
Messages
1,902
Reaction score
1,343
Rating - 0%
0   0   0
This is pretty cool and something that im sure no one has considered doing. Run 2 skimmers, one of them vented to the outside, use the apex to switch between the 2 based on the ph reading.
I only on one skimmer but it’s hooked up to a Co2 scrubber that’s works fantastic keeps my ph between 8.2-8.4
 

Andrew Zimmerman

Community Member
View Badges
Joined
Oct 25, 2018
Messages
58
Reaction score
35
Location
Great Falls
Rating - 0%
0   0   0
I was wounding what is so special about 8.35?
In the summer months my ph will go past 8.4 with no ill effects. In fact I get way beter coral growth at higher ph.

As far as your code I'm not sure sorry.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,227
Location
Oregon
Rating - 0%
0   0   0
In order to control an output between two different values, you cannot use Set ON. On the "If pH" commands should be controlling it. Also, you can't use multiple Defer timers the way you have them listed.

Fallback OFF
If pH < 8.25 Then ON
If pH > 8.35 Then OFF
If Output Feeder_10_1 = ON Then OFF
If FeedA 000 Then OFF
Defer 005:00 Then ON

The drawback to this approach is that the skimmer will turn on as soon as the pH is below 8.25, but once the Feeder turns it off, it won't come back on again until 5 minutes after the pH drops below 8.25 again.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,227
Location
Oregon
Rating - 0%
0   0   0
A better approach might be to add a separate virtual output that monitors the pH, then use that output's state in the skimmer code along with the Feed code:

[Skimmer_pH] — virtual output
If pH < 8.25 Then ON
If pH > 8.35 Then OFF

[Skimmer]
Fallback OFF
Set ON
If Output Skimmer_pH = OFF Then OFF
If Output Feeder_10_1 = ON Then OFF
If FeedA 000 Then OFF
Defer 005:00 Then ON

This would allow the skimmer to turn back on after feeding without waiting for the pH to drop below 8.25 again.
 
OP
OP
Reef man 89

Reef man 89

Valuable Member
View Badges
Joined
Oct 8, 2016
Messages
1,902
Reaction score
1,343
Rating - 0%
0   0   0
In order to control an output between two different values, you cannot use Set ON. On the "If pH" commands should be controlling it. Also, you can't use multiple Defer timers the way you have them listed.

Fallback OFF
If pH < 8.25 Then ON
If pH > 8.35 Then OFF
If Output Feeder_10_1 = ON Then OFF
If FeedA 000 Then OFF
Defer 005:00 Then ON

The drawback to this approach is that the skimmer will turn on as soon as the pH is below 8.25, but once the Feeder turns it off, it won't come back on again until 5 minutes after the pH drops below 8.25 again.
Greatly appreciated! I figured it was something dumb with the 2 deferred times. I will add a new v outlet for skimmer
 

Tentacled trailblazer in your tank: Have you ever kept a large starfish?

  • I currently have a starfish in my tank.

    Votes: 42 32.3%
  • Not currently, but I have kept a starfish in the past.

    Votes: 34 26.2%
  • I have never kept a starfish, but I hope to in the future.

    Votes: 27 20.8%
  • I have no plans to keep a starfish.

    Votes: 26 20.0%
  • Other.

    Votes: 1 0.8%
Back
Top