Results 1 to 3 of 3

Thread: Triggering water change, but want to run profile only at night

  1. #1
    New User
    Join Date
    Sep 2015
    Location
    California
    Posts
    2

    Triggering water change, but want to run profile only at night

    I'm not sure if what I'm trying to do is even possible.

    I just want to manually trigger a 4 gallon water change over 4 days starting when I trigger it. But the tricky thing is I want the changes to only take place between 00:00 to 6:00. After the 4 gallons have been changed (1g per evening) then I never want the DOS to run again until I trigger it.

    So on my dos pumps I tried this:

    Code:
    Set OFF
    If Time 00:00 to 6:00 Then TestProfile1G
    This does not work because at 6:00 the pump is set to off, which restarts the profile. It does not 'Pause' the profile, but resets it. So it essentially changes a gallon a day every day indefinitely rather than a gallon a day 4 times.

    I can think of how to do what I need by daisy-chaining a bunch of virtual outlets. Is there an easier way?

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Honestly I would just scrap that idea and go with continuous water change. The only way to do it is with chaining VOs, which would require 6 of them and if the apex were to reboot during the process, it wouldn't do the entire change.

    Sent from my SM-G965U using Tapatalk

  3. #3
    New User
    Join Date
    Sep 2015
    Location
    California
    Posts
    2
    I ended up doing 4 gallons over 5 days. If anyone else needs something like this here's the code. Due to the limitation of [Time] having a maximum value of 999 minutes, which is ~16 hours, I had to use 11 Virtual outlets: V_WC_[0-9] and Start_WC.

    Code:
    // Start_WC - Set to ON to start the water change that evening
    
    // V_WC_0 - Turn on at midnight, off at noon - Night 1
    Set OFF
    If Output Start_WC = ON Then ON
    If Time 00:01 to 23:59 Then OFF
    If Output V_WC_1 = ON Then OFF
    If Output V_WC_2 = ON Then OFF
    If Output V_WC_3 = ON Then OFF
    If Output V_WC_4 = ON Then OFF
    If Output V_WC_5 = ON Then OFF
    If Output V_WC_6 = ON Then OFF
    If Output V_WC_7 = ON Then OFF
    If Output V_WC_8 = ON Then OFF
    If Output V_WC_9 = ON Then OFF
    Min Time 721:00 Then ON
    
    // V_WC_1 - Turn on at noon, off at midnight
    Set OFF
    If Output V_WC_0 = ON Then ON
    If Output V_WC_2 = ON Then OFF
    Min Time 721:00 Then ON
    Defer 720:00 Then ON
    
    // V_WC_2 - Turn on at midnight off at noon - Night 2
    Set OFF
    If Output V_WC_1 = ON Then ON
    If Output V_WC_3 = ON Then OFF
    Min Time 721:00 Then ON
    Defer 720:00 Then ON
    
    // V_WC_3 - Turn on at noon, off at midnight
    Set OFF
    If Output V_WC_2 = ON Then ON
    If Output V_WC_4 = ON Then OFF
    Min Time 721:00 Then ON
    Defer 720:00 Then ON
    
    // V_WC_4 - Turn on at midnight, off at noon - Night 3
    Set OFF
    If Output V_WC_3 = ON Then ON
    If Output V_WC_5 = ON Then OFF
    Min Time 721:00 Then ON
    Defer 720:00 Then ON
    
    // V_WC_5 - Turn on at noon, off at midnight
    Set OFF
    If Output V_WC_4 = ON Then ON
    If Output V_WC_6 = ON Then OFF
    Min Time 721:00 Then ON
    Defer 720:00 Then ON
    
    // V_WC_6 - Turn on at midnight, off at noon - Night 4
    Set OFF
    If Output V_WC_5 = ON Then ON
    If Output V_WC_7 = ON Then OFF
    Min Time 721:00 Then ON
    Defer 720:00 Then ON
    
    // V_WC_7 - Turn on at noon, off at midnight
    Set OFF
    If Output V_WC_6 = ON Then ON
    If Output V_WC_8 = ON Then OFF
    Min Time 721:00 Then ON
    Defer 720:00 Then ON
    
    // V_WC_8 - Turn on at midnight, off at 6:21 - Night 5, shutoff early to adjust for accurate dosing of 4 Gallons (by ~30 ml)
    Set OFF
    If Output V_WC_7 = ON Then ON
    If Output V_WC_9 = ON Then OFF
    Min Time 364:21 Then ON
    Defer 720:00 Then ON
    
    // V_WC_9 - Turn on at 6:21 - Complete, Disallow restart until Start_WC is toggled 
    If Output V_WC_8 = ON Then ON
    If Output Start_WC = OFF Then OFF
    Defer 364:20 Then ON
    My Dos pumps are programmed with:
    Code:
    Set OFF
    If Output V_WC_0 = ON Then Nightly_WC
    If Output V_WC_2 = ON Then Nightly_WC
    If Output V_WC_4 = ON Then Nightly_WC
    If Output V_WC_6 = ON Then Nightly_WC
    If Output V_WC_8 = ON Then Nightly_WC
    If Power Apex Off 000 Then OFF
    My Nightly_WC Profile is set to:
    Nightly_WC.jpg

Similar Threads

  1. Math for figuring out 25gallon water change "Dose" profile
    By KantSekim in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 01-05-2022, 07:46
  2. DOS clicking + different run times per side during automatic water change + water change frequency
    By reefdiver in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 1
    Last Post: 07-24-2021, 07:26
  3. Help! DOS for auto water change, ATK adding water while water Change takes place
    By Tundra in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 6
    Last Post: 09-14-2020, 10:54
  4. Using Virtual Outlets to Create a water change profile
    By Biglurr54 in forum Apex Classic/Apex Lite/Apex Jr
    Replies: 6
    Last Post: 05-21-2018, 10:40
  5. Question: Run Mix Tank PowerHead for new batch of change water
    By Diznaster in forum Misc Apex Usage & Programming
    Replies: 11
    Last Post: 03-23-2018, 22:47

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •