Jump to content

ISY99 sends two emails instead of one


fastvance

Recommended Posts

I have my ISY99 configured to send me an email based on some events. It always sends 2 copies of the email; both identical. I have upgraded to an ISY994, and it does the exact same thing. I am using the built-in email settings, as I wasn't able to get it to work with mine.

 

Anyone know why its sending 2 copies of the email? What do I have set wrong?

 

Thanks!

Link to comment
  • 2 weeks later...

I made a super-simple program to test the system, and found it did not send 2 copies of the email:

 

If
       Time is  2:57:00PM

Then
       Send Notification to 'Vance GMAIL' content 'Presence is AT HOME'

Else
  - No Actions - (To add one, press 'Action')

 

However, where I am implementing, the code is a little more complicated:

 

If
       $Presence is 1
   And $Presence_JUST_CHANGED is 1

Then
       Send Notification to 'Vance GMAIL' content 'Presence is AT HOME'
       $Presence_JUST_CHANGED  = 0

Else
  - No Actions - (To add one, press 'Action')

 

The way this works is the variable Presence indicates if we are at home or not, and it set using some other programs, based on a bunch of inputs, like time schedule, security alarm state (disarmed/home/away), motion detected in certain security alarm zones, etc. The security alarm is a Honeywell Vista which sends some X10 commands based on zone inputs. The ISY994 hears these and takes actions accordingly.

 

Since I want for some certain things to happen "right after" the state of the Presence variable changes, I added another variable called Presence_JUST_CHANGED which is changed to 1 when the Presence state changes, and if not changed back by another program (like this one), will time-out automatically.

 

Some how, the upper program sends 1 email like its supposed to, but the bottom program sends 2. Any ideas?

Link to comment

It would if that is all that was happening. The Variables are being changed such that the Program is triggered twice. The test you ran confirms a Notify sends one email. The only way for two emails to be sent is to trigger the Program twice. That means that the Variables are both set to 1 two times.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...