Ph control skimmer code?

Reef man 89

Valuable Member
View Badges
Joined
Oct 8, 2016
Messages
1,902
Reaction score
1,343
Rating - 0%
0   0   0
Is it possible to have my skimmer run off of my PH probe readings. For example if ph over 8.31 then off then if ph under 8.25 then on. I ask because I have a co2 reactor and have it set up to be a recirculating reactor and is working almost to well. My ph will climb to 8.35. Didn’t know if this came be done and if so what would the code be. Thank you
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,225
Location
Oregon
Rating - 0%
0   0   0
Yes. Use this code on your skimmer output:

Fallback OFF
If pH < 8.25 Then ON
If pH > 8.31 Then OFF
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,225
Location
Oregon
Rating - 0%
0   0   0
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
Ok what am I doing wrong my ph right now is 8.29 I add the code but didn’t work

0E198197-073C-4975-BA65-B1E843C1F72C.png
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,225
Location
Oregon
Rating - 0%
0   0   0
Is the skimmer on or off? With the pH at 8.29, it's within the range you specified, but if it has not yet gone below 8.25 the skimmer will not turn on. If it did get that low and turn on, the skimmer will remain on until the pH goes above 8.31.

Also, the Defer 005:00 Then ON will cause it to wait 5 minutes before turning the skimmer on once the pH goes below 8.25. During this time, the pH must remain below 8.25 the whole time, otherwise the timer will reset and start over once the pH again goes below 8.25.
 
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
That's why the defer 5.00 minutes I didnt account for that. I thought that would only apply to my feed mode. It all good it works. Man I feel like an idiot still in the learning process. I did read your folder on different was to use the apex and found that really helpful. I greatly appreciate your help
 
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
So the code for the ph to turn skimmer on and off works great. but now when I press feed mode A it will not turn off like the rest of my gear. Do you see anything wrong with the code?

7C2034C6-AA7D-4101-A0CC-C04E986422B7.png
 

Mbritt

Community Member
View Badges
Joined
Dec 2, 2021
Messages
79
Reaction score
34
Location
Usa
Rating - 0%
0   0   0
@Reef man 89 - im looking to do something similar. I have a software background but not done much with the Apex programming yet. What does the first piece of this code do. Specifically "If FeedA 005 then off"? I want the delay which is specified by Defer and that I understand but I dont know what FeedA is.
 

Mbritt

Community Member
View Badges
Joined
Dec 2, 2021
Messages
79
Reaction score
34
Location
Usa
Rating - 0%
0   0   0
I added this code and absolutely nothing happens. Why? Currently PH is at 8.2 and I just wanted to test the code.

Fallback OFF
If pH > 8.15 Then OFF
 

Mbritt

Community Member
View Badges
Joined
Dec 2, 2021
Messages
79
Reaction score
34
Location
Usa
Rating - 0%
0   0   0
I added this code and absolutely nothing happens. Why? Currently PH is at 8.2 and I just wanted to test the code.

Fallback OFF
If pH > 8.15 Then OFF
Figured this out lol. I didn't have my Skimmer set to Auto :)
 

Just grow it: Have you ever added CO2 to your reef tank?

  • I currently use a CO2 with my reef tank.

    Votes: 1 3.6%
  • I don’t currently use CO2 with my reef tank, but I have in the past.

    Votes: 0 0.0%
  • I have never used CO2 with my reef tank, but I plan to in the future.

    Votes: 1 3.6%
  • I have never used CO2 with my reef tank and have no plans to in the future.

    Votes: 24 85.7%
  • Other.

    Votes: 2 7.1%
Back
Top