SHM Tripped as trigger?

variables
execution
triggers

#1

Basically what I want to do is turn virtual switch on when there’s a SHM alert and after it’s cleared turn it off. All I can find is this system variable but doing it this way isn’t working.


#2

Why not just do when SHM changes turn on virtual switch then wait x time and turn off virtual switch. Or use a momentary switch instead.


#3

I’m not looking for something that tells me when it’s armed or disarmed but when it’s been tripped.


#4

@Bboy486, I think you are going to have to setup a virtual switch that gets triggered by SHM with its “alert with lights” (or similar)…that shouldn’t be too hard to setup.


#5

Setting it up so know when it’s been tripped wouldn’t be that hard - just make a piston with all the devices and have the condition of being SHM Armed. Just not sure how to set the switch to off when SHM alert has been cleared?


#6

Easiest way would be if variable could act as triggers. But that doesn’t seem possible.


#7

Yeah so the push notification would be virtual switch has been pressed or tripped.


#8

But how do you turn the switch back off when the SHM alert has cleared? That’s the tricky part.


#9

Can it be when SHM is disarmed? Not sure if there is a way to know when the alarm is reset.