This object is in archive! 

Multiple messages from door sensor (Aeon Labs)

Mikko Rauhala shared this question 10 years ago
Need Answer

Hi,


What is wrong with this rule? I receive multiple messages from this rule, usually three. I want to call some http-addresses when door is opened (or closed). I want messages only when door is opened.


Regards,

Mikko

Replies (7)

photo
1

I think you can simply move the join OUT the if statement, and remove the stop.


just my 2 cents :)

photo
1

Thank you, i tried your suggestion, did not work...

photo
1

Don't see anything wrong with it.


But try setting a variable in the open part en then reset it in the close part.


When xxxx any

If Open and not var=1

Set var to 1

etc

Else

Set var to 2


Something like this.

photo
1

Good idea, but it also does not work. It appears that if i only have one action in if, i get one message, but since i have four i get four messages almost always but not always.

photo
1

mmmm propably something involved with http requests.

If you use different actions, like email to test, you get the same result?


Because, probably (I don't know the urls you are calling) , calling the urls in sequence could cause some troubles with the contacted web server.

Try to use other actions.. or,first, try to insert a delay after every http call (long delay, like 5-10sec for a test)

photo
1

Ok, tested this bit furhter. Almost always get as many emails as there are action in the if clause. With or without http calls. Delay did not help either.

photo
1

If you set the event window on "live" event filtering and when you open the door: how many events are shown?

Leave a Comment
 
Attach a file