This object is in archive! 

Either door sensor send email

Sven Häger shared this question 8 years ago
Answered

I want to create a rule that makes the box send email when either of several door sensors opens.

The operator "OR" doesn´t work, email will be sent only when the first door sensor opens.

Any ideas how the rule will be made?

Replies (5)

photo
1

Make for every door a rule, then you know which one is open?

photo
1

You can also create a group of devices in the rule creator and in the group add all of your door sensors. Then you can use that to create a rule that uses that group in the "When" box. So that if any of the doors get open the rule will trigger. Under that "when" you can create seperate IF statments, that test which door is open, when it get a hit, send a message. You can create a message in every IF statment.

photo
1

agreed. Also if you do not wish to create all the individual if puzzles and messages, you and just attach the attributes of each door sensor in the email.

photo
photo
1

Thank you for helpful comments.

Naarz and Adrian, I think that is to complicated for me, for now.

I simply have to create a rule for each door unless you could help me with a picture of the rule you suggest.

photo
1

This is the easiest way, but I just noticed that it is a paid service only. Other wise you will have to create a if puzzle and message for each door sensor

photo
2

this is probably the easiest for you.

photo
1

Adrian,


I tried to insert attributes in some rules but is requiring me to buy the all inclusive package, I thought we beta testers could use them for free...

photo
photo
1

Thank you for your help, I create a rule for each door.

Leave a Comment
 
Attach a file