Apex control calcium reactor day and night

tworegtdi

Community Member
View Badges
Joined
Nov 19, 2019
Messages
43
Reaction score
12
Location
Toronto, Ontario
Rating - 0%
0   0   0
The simple command I am trying here is to allow ph inside calcium reactor to rise at night (less potency in effluent) when photosynthesis slows down, and vice versa during the day. Any apex geeks have any suggestions to the code below? Thanks in advance!

E9691CAD-BBE2-470E-9805-10B008883900.png
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,226
Location
Oregon
Rating - 0%
0   0   0
In order to do this, you need to create two separate virtual outputs, one for day and one for night, then program the reactor to turn on and off based on those separate virtual outputs:

[pHCaR_Day] -- new virtual output
If pHCaR > 6.60 Then ON
If pHCaR < 6.50 Then OFF
If Time 22:00 to 9:59 Then OFF

[pHCaR_Night] -- new virtual output
If pHCaR > 6.80 Then ON
If pHCaR < 6.70 Then OFF
If Time 10:00 to 21:59 Then OFF

[ReactorOutput]
Fallback Off
Set OFF
If Output pHCaR_Day = ON Then ON
If Output pHCaR_Night = ON Then ON

If you’re not familiar with virtual outputs, see my tutorial here:

(I wear the badge of "Apex Geek" with honor...)
 
OP
OP
T

tworegtdi

Community Member
View Badges
Joined
Nov 19, 2019
Messages
43
Reaction score
12
Location
Toronto, Ontario
Rating - 0%
0   0   0
Thanks for your response Geek : )

double checking… below command is written within the new virtual output pHCaR_Day

[pHCaR_Day] -- new virtual output
If pHCaR > 6.60 Then ON
If pHCaR < 6.50 Then OFF
If Time 22:00 to 9:59 Then OFF

Then below in the real output


Fallback Off
Set OFF
If Output pHCaR_Day = ON Then ON
If Output pHCaR_Night = ON Then ON
 
OP
OP
T

tworegtdi

Community Member
View Badges
Joined
Nov 19, 2019
Messages
43
Reaction score
12
Location
Toronto, Ontario
Rating - 0%
0   0   0
Why is the calrxday in OFF position with the code written?
 

Attachments

  • 88629C67-2CA1-4186-BDB2-6510CF7080C2.jpeg
    88629C67-2CA1-4186-BDB2-6510CF7080C2.jpeg
    79.3 KB · Views: 32
  • A56EA701-3117-4041-AD68-328BBC9A03EE.png
    A56EA701-3117-4041-AD68-328BBC9A03EE.png
    276 KB · Views: 35

Going off the ledge: Would you be interested in a drop off aquarium?

  • I currently have a drop off style aquarium

    Votes: 2 1.7%
  • I don’t currently have a drop off style aquarium, but I have in the past.

    Votes: 1 0.9%
  • I haven’t had a drop off style aquarium, but I plan to in the future.

    Votes: 19 16.5%
  • I am interested in a drop off style aquarium, but have no plans to add one in the future.

    Votes: 51 44.3%
  • I am not interested in a drop off style aquarium.

    Votes: 39 33.9%
  • Other.

    Votes: 3 2.6%
Back
Top