This is why I need to start bookmarking more posts… Thank you Jason!
New feature request: ability to export a piston and email out. Also, ability to import a piston from said exported file.
I have an install of CoRE where I am slowly adding examples of complex and special use pistons. I just keep them all paused. I have them there so I can tweak then easily to modify the use case.
This is probably somewhere… But this is driving me mad.
The dashboard shows false. The ST App UI core piston shows true. Reality is true.
How do I get them in sync?
Edit: I deleted it and started over.
Where does the ST UI say true? The dashboard shows the status during last evaluation, it won’t show real time evaluations (like the ST UI shows while editing the piston)
I see.
Unfortunately the piston wasn’t working. I deleted it and started over. It works now.
I setup a piston to have my Blink camera to take a picture any time the front door opens…but it is taking a ton of pictures…how can I have it take a picture every 5 seconds…maybe 10 when the contact us open?
IF
Front door is open
THEN
With Blink camera...
> Take snapshot
> Follow up with piston <same piston> in 10 seconds
Let me know how that works
Can’t find “followup”
Scroll down in the task list
YES - I would use this to backup my pistons too. Obviously I appreciate that ‘importing’ a piston into an environment where ‘things’ have changed may cause issues, but will take the risk for the feature.
Just wondering if anyone knows the answer to this. Is there a way to change the color of a bulb via Core without the bulb turning on. (To change a bulb from color back to something neutral before the next thing turns it on again) I think not, but I’m hoping someone knows better than me.
I honestly do not think so. I either make the color change the last action right before turning off, or as the first thing in the next event.
Ok, well thanks for letting me know.
I apologize in advance for such a simple question, but I need help to figure out how to implement this simple case:
if (presence changed)
{
if (presence is true)
{
send notification "here"
}
else
{
send notification "not here"
}
}
With a Simple piston:
IF
Motion Sensor presence is present
THEN
(something)
ELSE
(something else)
many thanks @ady624. this is the geofence-based presence as opposed to motion, it is to notify when someone comes and goes. i have been keying off “presence sensor”->changed but am not able to read the new state to be able to say whether the person came or left, only that they either came or left. Does that make sense? It’s the change as trigger that I am trying to work with (that I think is what I need to work with).
I’m going to butt in and say the system variables you’re probably going to want to check out are $currentEventValue and $currentEventDevice
that you can include in your notification message.
Then try this:
IF
Any of (list of presence sensors) changes
THEN
Using location...
Send Push notification "{$currentEventDevice} is now {$currentEventValue}"
Type in the notification message exactly as I did above. You will actually receive: “Jack is now present”, assuming Jack arrived.
How do i create a local boolean variable? whenever i create one it is a string and I don’t see any way to change it.