Window - Door Sensor How to get alerts
- 
Hello
How can I get alert by email when a window-door is opened but not when I set alarm to disable state(bypassed)
I use mysensors node.
Thanks
Emmanuel - 
@bmanos Go with latest SNAPSHOT version and follow Rules tutorial
 - 
Thnks a lot
 - 
Should I put the alarm an the tripped in two different "nodes" instead of one?
Otherwise I think I cannot get the compare in the rules Am I right?

 - 
 - 
Yes of course I already did this
I made a rule with tripped so when is ON I got an email
But I want to use also the ARMED state and say:
if armed state is disable ignore the tripped state and don't send me emails
Is that possible? - 
@bmanos Yes, we can do this in two way.
#1. create two different rules to enable and disable
tripped rulebased onArmedstate.
#2. create a script to check ARMED state and send the email. - 
Thanks again I will try and let you know
Also very nice work thanks for sharing - 
Hello again
I searched for your first solution as the second one(make a script) is a little too soon for me
So I cannot figure how to create a rule that disables another rule. Is it possible that you show me how
Thanks one more time - 
- You have to create two operations,
- to disable tripped rule
 - to enable tripped rule
 
 - Now you have to create two rules and refer the operations
- to execute disable rule operation
 - to execute enable rule operation
 
 
 - You have to create two operations,
 - 
@bmanos said:
DON'T reply I figured out the way to do this I didn't see that I can refer to rules in the operations module
Everything is OK
Thanks for your help one more timeHello
Could you have a look at the following there is something I am doing wrong!
Thanks again


 
