Results 1 to 4 of 4

Thread: Day/Night cycle programming help please.

  1. #1
    New User
    Join Date
    Sep 2018
    Location
    toronto, canada
    Posts
    8

    Question Day/Night cycle programming help please.

    Hello All,


    My name is Ricky. I have been keeping freshwater tanks for about 2 decades, currently have a 135G Oscar tank. I've always used inkbird thermostats, which are absolutely horrible as far as accuracy goes. I had to calibrate them weekly. FINALLY I found Neptune Apex, which I literally LOVE...but I'm trying to program something and that is my downfall. No matter how many times IO've read it, I cannot figure out how to run a day/night cycle for my heaters. I am now using the Apex Jr. as my thermostat and to run my lights.


    I am running 3 heaters currently, because I was dealing with ICH and couldn't get my 135G up to 86 degrees with only 2 heaters, but will be running 2 heaters moving forward. HEATER4 will be turned off. So HEATER1 is on output 1 and HEATER3 is on output 3. I made 2 virtual terminals (I think I did that properly). [SEE ATTACHED SUMMERY IF REQUIRED. Ignore the values as I just had to put somehting for the meantime] What I'm trying to achieve is this:


    When my lights are ON, I want the temp to be between 79.5 degrees and 80.0 degrees with the fallback set to OFF.
    When the lights are OFF, I want the temp to be between 77.5 degrees and 78.0 degrees with the fallback set to OFF.


    Can someone PLEASE help me by writing this code so I can simply cut and paste it?


    Secondly...where do I paste it? Do I just choose ADVANCED and then copy the same code into the 2 heaters and also the 2 virtual outlets - or do I need to paste different code into each?


    Thanks so much. I really REALLY appreciate this help!

    apex Summery.jpg

  2. #2
    New User
    Join Date
    Sep 2018
    Location
    toronto, canada
    Posts
    8
    Does this work??

    [HEATER1]

    Fallback OFF
    If output LIGHT2 ON Then ON
    If Temp < 79.5 Then ON
    If Temp > 80.0 Then OFF
    If output LIGHT2 OFF Then ON
    If Temp < 77.5 Then ON
    If Temp > 78.0 Then OFF


    [HEATER4]

    Fallback OFF
    If output LIGHT2 ON Then ON
    If Temp < 79.5 Then ON
    If Temp > 80.0 Then OFF
    If output LIGHT2 OFF Then ON
    If Temp < 77.5 Then ON
    If Temp > 78.0 Then OFF
    Last edited by Ricky; 09-13-2018 at 07:47. Reason: Made a change to the code.....

  3. #3
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    11,573
    No. You need to create two virtual outlets.

    DayHeat
    If Temp < 79.5 Then ON
    If Temp > 80.0 Then OFF
    If output LIGHT2 = OFF Then OFF

    NightHeat
    If Temp < 77.5 Then ON
    If Temp > 78.0 Then OFF
    If Output LIGHT2 = ON Then OFF

    Heater1
    Fallback ON
    Set OFF
    If Output DayHeat = ON Then ON
    If Output NightHeat = ON Then ON

    Heater2
    Fallback OFF
    Set OFF
    If Output DayHeat = ON Then ON
    If Output NightHeat = ON Then ON
    If Temp < 75.0 Then OFF


    Sent from my SM-G965U using Tapatalk

  4. #4
    New User
    Join Date
    Sep 2018
    Location
    toronto, canada
    Posts
    8
    Thanks!

    Quote Originally Posted by zombie View Post
    No. You need to create two virtual outlets.

    DayHeat
    If Temp < 79.5 Then ON
    If Temp > 80.0 Then OFF
    If output LIGHT2 = OFF Then OFF

    NightHeat
    If Temp < 77.5 Then ON
    If Temp > 78.0 Then OFF
    If Output LIGHT2 = ON Then OFF

    Heater1
    Fallback ON
    Set OFF
    If Output DayHeat = ON Then ON
    If Output NightHeat = ON Then ON

    Heater2
    Fallback OFF
    Set OFF
    If Output DayHeat = ON Then ON
    If Output NightHeat = ON Then ON
    If Temp < 75.0 Then OFF


    Sent from my SM-G965U using Tapatalk

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
  •