Is it because you have a condition followed by a trigger? Maybe move the Solid Circle (Trigger) Hallway Switch to the top, and the Open Circle (Condition) tot he bottom?
Once you use a trigger, only triggers make the piston run, so yeah, you need a trigger there too…
Thanks Ady. Probably move it to it’s own piston then, I don’t see a way to trigger based upon a variable change.
Variables support triggers, but only if they are global
Sweet! Learn something new everyday.
Edit: @ady624 Okay… how???
I have Capability = variable
Data type = string
Variable Name {PresenceStablizer} (GLOBAL VARIABLE)
Comparison options are: is/is not/is not one of/is one of (all conditions)
Thanks guys! I will try what you are suggesting and report back !
It ain’t global till it’s got an @ in front lf the name…
Okay, excellent, still learning on this…
Notice I am able to create a variable, global, without the @ sign in front of it…
Not sure if that needs input validation or for some other function:

And… I was able to get the trigger based upon the global variable once all those pieces fell into place. Awesome. Thanks.
Just curious what’s app or program you are using to blot out personal information on your piston pictures. I have an iPad and I’m looking for an app that I can do that with
Where did you create a global variable without @? In the CoRE UI? You don’t need to “create” a variable, simply entering it into a Set Variable will “create” it 
Oh hell no. I love mobile devices for portability, but I don’t use them anything more than absolutely necessary. They are a necessary evil. Mainly the issues are screen size and input devices.
Screen caps and edits are done on a proper Personal Computer.
Global Variables, then Initialize Variables - allowed me to create one without the ‘@’
I had no idea a proper one needed that, thanks. Worked perfectly.
What are the use cases for Global vs Local variables? I am wondering why not force everything to be global to make it simple if nothing is lost?
Global variables are stored by CoRE itself and are shared between all pistons - same variable has the same value in all pistons. Local variables are stored within the piston and are available to that piston alone. If you use the same name in two pistons, each one has its own value.
Sure, that makes sense. I wonder if it’s worth it though… not to tough to just use global for everything making it simpler.
Anyway, either way it works for me now… appreciate it much.
How do you initialize a global variable that’s a boolean? It seems like all you can do is make a string? If I set local variables the other options are available.
You do not need to initialize it. Add an action that sets the variable to something, you will get the chance to choose the name and then everything is automatic from thereon.
Also, CoRE does data type translation. Generally any string variable that has at least one character in it is considered true. Exceptions are certain strings like false, off, closed, etc. There is a list somewhere in the first steps thread.
Question(s)
I am wanting to create a simple basic rule with Pistons like the following:
If Smart Home Monitor status changes send me a push notification. My question is does this require 3 seperate pistons? Or can I somehow have One Piston, Multiple Conditions, One Push with "Smart Home Monitor set to "??
I’d also like to do this same thing in order to get rid of the SmartApp Notify Me When. I’d like to setup (ideally one) piston that notifies me via push notification when a contact sensor opens/closes during a certain time period (at night) OR when 1 or more of our phones is not present. I also don’t see Open/Close sensors being listed in Pistons. Am I missing something or are they named something different.
Thanks in advance community, screenshots are always helpful.
Try this basic piston:
IF
SHM status changes
THEN
Using location...
Send push notification "SHM status changed to {$currentEventValue}"
Type the { } part literally, including the accolades.
When using date and time, how does “is after” work? For instance if I say time is after 6 PM, 7 PM is obviously after 6 PM but so is midnight and 2 AM. And 3 PM the next day.
Thanks!

