Results 1 to 3 of 3

Thread: Send email only if ATO top sensor is CLOSED for more than minute

  1. #1
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    110

    Question Send email only if ATO top sensor is CLOSED for more than minute

    Hi guys. The current code “If Swx5_2 CLOSED Then ON” sends an instant email. Most often, due to water movement, I’ll get several emails in a row as it goes through CLOSED and OPEN.

    Is there a way to get an email only if it has been CLOSED for at least a minute?

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    I add a 30 second defer then ON and defer then OFF to my email alert to prevent this issue for any input. I would suggest doing that first. If tha th alone doesn't solve the issue, then you can use a virtual outlet

    HighH2O
    Set OFF
    If Switchname CLOSED Then ON
    If Output Return = OFF Then OFF
    Defer 001:00 Then ON

    Sent from my SM-G965U using Tapatalk

  3. #3
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    110
    Quote Originally Posted by zombie View Post
    I add a 30 second defer then ON and defer then OFF to my email alert to prevent this issue for any input. I would suggest doing that first. If tha th alone doesn't solve the issue, then you can use a virtual outlet

    HighH2O
    Set OFF
    If Switchname CLOSED Then ON
    If Output Return = OFF Then OFF
    Defer 001:00 Then ON

    Sent from my SM-G965U using Tapatalk
    Thank you. I opted for the virtual outlet option.

    vSwx5_2:
    Set OFF
    If Swx5_2 CLOSED Then ON
    Defer 002:00 Then ON
    Email:
    If Output vSwx5_2 = ON Then ON

Similar Threads

  1. Question: Why does the ATO PMUP stop when theres no If "sensor" closed Then OFF?
    By Albertoinbox in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 4
    Last Post: 03-28-2021, 16:47
  2. ATO Sensor stuck in the closed position
    By Andruw91 in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 15
    Last Post: 11-01-2020, 16:50
  3. Help! ATO Hi Optical Sensor in constant closed
    By lordnikon in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 17
    Last Post: 07-13-2020, 10:39
  4. Programming Virtual outlet to stay off an extra minute only when switch is closed
    By Mikedawg8898 in forum Misc Apex Usage & Programming
    Replies: 1
    Last Post: 02-25-2020, 15:12
  5. Question: Using an V Outlet to send a status email
    By criticalmass in forum Networking & Internet Connectivity
    Replies: 3
    Last Post: 11-12-2013, 07:08

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
  •