Boolean variable trigger doesn't subscribe


#1

1) Give a description of the problem
Trigger doesn’t seem to subscribe to boolean variable

2) What is the expected behavior?
Trigger, $shmTripped changes to true, execute

3) What is happening/not happening?
$shmTripped doesn’t seem to subscribe as a trigger. There’s no lightninig bolt icon and the piston never fires.

**4) Post a Green Snapshot of the piston![image|45x37]


#2

I might be wrong (New to WebCore my self)

But if you use a local variable you need someting that is in THIS PISTON to change it.
If you use a global variable (my example piston)
This variable can be seen from other pistons and can be changed by other pistons. Therefore is registers as a trigger.


#3

I think this is on the right track. Can you use the Virtual Device > Smart Home Monitor Status changes trigger directly, or could you perhaps create a piston that monitors the shm status from that trigger and updates a @shmTripped global variable based on $shmTripped? Then use the global as the trigger in other pistons.


#4

I’m trying to do the same thing as MABeatty1978. Virtual Device > Smart Home Monitor Status shows whether the system is Armed or Disarmed, but $shmtripped should change to true if the alarm is set off.
I’m not quite following how to set another Piston to monitor SHMtripped and set a Global Variable if you can’t set $shmtripped as a trigger.