I have a number of motion and window sensors are used to trigger actions but only when armed.
I use the armedtripped variable to do this.
I noticed that if I disarm a sensor while it is tripped, when rearming it even though both armed and tripped are 1 , the armedtripped is still 0 until I actually either trip it again by motion or open and close the window to trip it again?
Sounds like working by design. I’m struggling to see the use case where you’d want an action to take place when arming a sensor that you’d also want to be done on armedtripped, but it’s not my automation and I’m famously un-imaginative
But now that it is armed, it becomes armtripped. Like I said earlier, both armed and tripped are 1. For some reason it takes a re-tripping (or seemingly a wake up) to get the variable of armedtripped to read 1 as well.
Anyway… if I can figure some way to force this to happen that would work as well otherwise I will have to set two variables for each condition in reactor.
Not sure this matters to you but many motion and door/window sensors only send a message when tripped and do not send a message when motion not detected or the door/window is closed. I set the AutoUntrip variable to 5 so that they automatically untrip after 5 seconds.