CoRE - Get peer assistance here with setting up Pistons

Trying to get a piston to check if a sensor is open or closed.

IF(sensor is open)
then ( wait 15m , send nofications, wait 15m , follow up with door check piston)

The second wait works but not the first one. please advise.

I do the following… it should work with any number of motion sensors in there. They all show no motion, start a timer with cancellation.

Noticed I cut off my image, sorry! The rest is to turn off the bulb, in the same action as the wait.

Try this… adjust the times as necessary for testing.

Will this do the following (Unlock the back door if either person comes home, but not if they just quickly drive by the home)
Additionally it will unlock regardless of whether either person is already home.

where is this interface located? I have core loaded on the phone app and it looks very different. but that first wait time is the one not working.

Make sure the tasks are in the same sequence so they don’t fire all at the same time.

You can view/take screenshots using the instructions below:

1 Like

Hello all…thanks for all the help you offer this community. First post here.

I would like to set up a piston that looks like this:

If the garage door has been open for > 10 minutes send push notification “Garage Door Left Open”

THEN

If the garage door is closed since the push notification was sent, send a push notification “Garage Door Has Been Shut”

I have a Linear garage door controller/tilt sensor. I am able to get the first part accomplished without issue, but i can’t get the follow up message to work. I have tried the THEN IF piston mode. Any ideas?

Thanks! So, I did have something similar to what you have but I thought of an issue and removed it. For the sake of argument, let’s say your motion sensors reset to “No motion” after 3 minutes and let’s say you want the piston delay to be 5 minutes after they go “inactive” before the bulbs turn off. Here is the scenario I was thinking about - maybe I am making it too complicated.

  1. Let’s say both your sensors show inactive and the “Wait for 5 minutes” is triggered.
  2. Let’s say 2 minutes after that the piston enters the “wait” state, I walk back into the room and activate the motion sensors.
  3. Would the “wait” state be terminated or would it count down to 5 minutes and then turn the lights off?

Each time one of the sensors detects motion, after resetting to inactive, the wait is rescheduled. So, if during the 5 minute wait, a sensor sees motion, the current wait is cancelled and a new 5 minute countdown begins. This keeps the light on until there is no motion for 5 minutes.

Ah, thanks. So I’ll just add that wait period back into my existing piston and it should work. Thanks

Here is my pistion. the issue is the notification gets sent as soon as the door opens. otherwise seems to wait.

When you enter the “Wait 15 minutes” scroll down and you’ll see “Add a task”, that’s where you enter the Send Push, scroll down again and add another task, then Follow Up. Also, don’t forget the Cancel on piston/state change.

You need to put all the actions into one block.
The way you have it currently set, they all run at the same time.
Go to you first task and scroll down. You will see add task.
Edit. Beat me to it. :smile:

1 Like

why would i cancel the piston state ? or when would I ?

To stop it from nagging you with notification once the door is closed.

1 Like

Any word on when or if CoRE will allow for Blink camera video length to be set higher than 10 seconds?

Hello!

I’m trying to act on a specific switch that was triggered in a group of switches (i.e. IF any of [Switch1, Switch2, Switch3] is switched on, THEN turn off that switch only in 10 minutes). Is there a way to do that without creating a separate piston for each switch, and if so, how? Thanks in advance!

Also, is there a list of built in variables somewhere?

Thanks!

1 Like

I’m missing something that must be obvious about how pistons work.

What turns them off?

For example, I’m trying to create a piston that waits for an IFTTT signal and then turns on my FireTV that I have controlled thru a Harmony Hub. According to the wiki I should use a Follow-Up piston so I set it up as below:

What I’m not understanding is what will make the piston go back to the false state, ready to receive the next event? After receiving the IFTTT message it goes to true, like I want. But how does it ever get back to false?

And I guess I don’t understand it in general, not this case. The piston waits for some event, sees it, does something. But how does it then go back to false?

What should we do if it seems like a Piston is corrupted (e.g. I removed an action from a list of actions separated by OR, but it’s still doing that one that I removed), and Rebuilding it doesn’t fix it?
Is the only next step available to just rebuilt that Piston from scratch?

EDIT: Nevermind. I checked Live Logging and figured it out. Nothing to do with corrupted Piston…just a broken brain. lol

Since you only have an IFTTT trigger in there, you will never get it to false. But that’s okay, why do you need it to get to false? Anything you’re trying to achieve?