Garage Door Left Open


#1

I’m trying to set up a piston that monitors the garage door tilt sensor when the SHM status is Away or Night. If it’s been open for more than 5 minutes, I’d like my Echo to tell me that it’s open and send me a text message. I’m running into two issues.

  1. I can’t seem to choose both Away and Night. It’s only letting me choose one or the other.

  2. I can’t figure out how to use the Echo Speaks Smart App I installed inside of webCoRe, but perhaps that’s a question for a different forum?

Actually, I think I got the Echo part. I had to add it under another section inside of webCoRe for it to show up in the list of devices, however I’m not sure if I got the part right about using it in the piston.


#2

Hi there,
Here are the things about your current piston,

Your first condition is, IS OPEN
So, as long as the door is OPEN, your piston will keep executing over and over and over again and it will never come to SPEAK part.

Change that to WAS OPEN in the last 10 minutes - and you won’t need WAIT 600 sec/
or
CHANGES TO OPEN and use WAIT 600 sec.

I don’t use location mode but when I just looked, it allows me to choose multiple options.


#3

Here is a draft with WAIT,

If garage door changes to open (trigger)
and
IF location mode is this and that (condition)
Then (Never Cancel Task)
With music players
Wait 600 sec
Speak bla bla

(seperate IF block)
IF garage door changes to CLOSED
With location
Cancel pending tasks (So that 600 sec count down stops)

#4

Thanks for your help. It makes sense as to what the code does, but I can’t get it setup correctly.

With your code above where it says “Then (Never Cancel Task)”, I can’t seem to find that option?

Also, I can’t find a way to add this part either:

With Location
Cancel pending tasks

This is as close as I’ve been able to get.


#5

Almost there;)

Click on WITH (line 23)
You’ll see a settings wheel (buttom right corner) - click
Task Cancellation Policy - Choose NEVER
You should see an orange(ish) circle with an N inside, right next to WITH

For the location,
After contacts changes to closed,
add new action
don’t choose any devices,
click on
add a new task
it will add LOCATION (as if it’s a device)
you’ll see new set of commands.


#6

Thanks for your help. I got tied up and wasn’t able to work through your instructions. I was able to get the Task Cancellation Policy set to Never. What does that do exactly?

I’m confused by the second part of your instruction. You say “for the location”, but I’m not sure what that refers to in my piston. I also don’t see anything where I can add a new action.

I’m also thinking I probably want to change the first part of the code to if the location is Night or Away and the contact IS open I want the alert, right? The Changes to makes me think that if it was already open when I set it to Night, then it wouldn’t do anything?