Jump to content

Multiple email notifications


drprm1

Recommended Posts

Posted

Have had a program for many months which notified my by email if my garage was opening

It's the only program I have a notification in:

 

If

Control 'Garage Door Sensor' is switched On

 

Then

Send Notification to 'Default' content 'Garage Door Opened'

 

Else

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

 

 

Been working great till I decided to rename the program. Now it sends three consecutive emails of the same content when the sensor is switched On.

 

Tried deleting the program and writing it again but no help.

 

Looked through Event Viewer but couldn't identify the notifications being sent so its no help (to me).

Posted

I suspect the problem is switch bounce from the reed switch door sensor causing multiple On commands as the magnet moves past the switch.

 

I bet your event viewer shows multiple DON messages from the sensor when the door opens. Adding a wait should help.

 

Try this:

If

Control 'Garage Door Sensor' is switched On

 

Then

Wait 3 seconds

Send Notification to 'Default' content 'Garage Door Opened'

 

Else

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

 

This will filter out the bounces and you should only receive one notification. If you still get multiple, try increasing the wait to 6 seconds but I bet the 3 will resolve it.

 

-Xathros

Posted

Anytime! Happy to help.

 

-Xathros

Guest
This topic is now closed to further replies.

×
×
  • Create New...