Results 1 to 9 of 9

Thread: Something wrong with code for channel controlling Tunze ATO.

  1. #1
    Frequent Visitor
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    257

    Something wrong with code for channel controlling Tunze ATO.

    When I move the channel slider from auto to on, I get power to the ato and it works perfectly. When it's in auto I get no power at all.

    Fallback ON
    Set ON
    If FeedA 010 Then OFF
    If Time 18:30 to 18:55 Then OFF
    If Output return = OFF Then OFF
    If Power Apex Off 003 Then OFF
    Defer 003:00 Then ON

    ???

  2. #2
    NSI Member iamchadster's Avatar
    Join Date
    Aug 2013
    Location
    Salem, Oregon
    Posts
    2,320
    I'm not familiar with tunze ato, but the defer statement will keep the outlet off for 3 minutes after being turned off before it will turn on. Are you waiting?
    Chad

  3. #3
    Apex User zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    6,601
    It's your 3 minute defer. Either slide from ON to auto or wait 3 minutes.

    You might be an engineer if...You have no life and can prove it mathematically.

  4. #4
    Frequent Visitor
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    257
    1. set to OFF
    2. changed defer time to 1 min
    3. changed slider to Auto
    4 waited several minutes

    no power still

  5. #5
    Frequent Visitor
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    257
    Just slid slider back to ON and every thing worked fine.

  6. #6
    NSI Member iamchadster's Avatar
    Join Date
    Aug 2013
    Location
    Salem, Oregon
    Posts
    2,320
    Why change your set off, nothing would ever turn it on. Set tells the outlet what state to be in normally. Change the set back to on and try that in Auto.
    Chad

  7. #7
    Frequent Visitor
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    257
    Sorry, I meant the slider set to off.

  8. #8
    Frequent Visitor
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    257
    Quote Originally Posted by powers2001 View Post
    When I move the channel slider from auto to on, I get power to the ato and it works perfectly. When it's in auto I get no power at all.

    Fallback ON
    Set ON
    If FeedA 010 Then OFF
    If Time 18:30 to 18:55 Then OFF
    If Output return = OFF Then OFF
    If Power Apex Off 003 Then OFF
    Defer 003:00 Then ON

    ???
    I deleted the last two lines and set the slider to auto and everything is working fine.

  9. #9
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    15,537
    Using the Classic Dashboard, go to XML->XML Status. Look at the first part of the data displayed, which might look a different in format depending on which browser you use, but the words will be similar:

    <status software="4.52_5A17" hardware="1.0">
    <hostname>apex</hostname>
    <serial>AC4:12345</serial>
    <timezone>-7.00</timezone>
    <date>08/11/2017 20:10:54</date>
    <power>
    <failed>07/11/2017 10:41:21</failed>
    <restored>07/11/2017 10:42:02</restored>
    </power>

    I think that you'll find that instead of a date and time between the <restored> and <restored> tags, as seen above, the "restored" data will show "none".

    If my hunch is correct, then you have enabled the Power Monitor feature but do not have the conditions required for the use of that feature. Do this:

    1. add the two lines you deleted back into the ATO outlet
    2. make sure the ATO outlet slider is in AUTO
    3. go to the Configuration->Misc Setup page
    4. disable Power Monitor
    5. click the checkbox for the Reboot system after update item on that page
    6. click the Update Misc Settings button


    The Apex will reboot. The two lines you added back in together will delay the ATO outlet from turning on for a total of 6 minutes (3 due to the If Power statement and 3 due to the Defer statement. So wait at least 7 minutes after the Apex comes back online, then check the state of the ATO outlet. I think you'll find that it is ON (unless the time is 18:30 to 18:55 or the return pump is turned off for some reason)
    I'm not a Neptune support rep. Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

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
  •