Arrival with distance


#1

This is not triggering my garage door to open. It seems like it might be because I am using distance entering range. Can someone tell me why this won’t work and tell me how I can write it based on distance?

I am using the new webcore presence sensor app.


#2

Is there a reason you are wanting to use distance?

You have already set up the circles around your house. The entering the larger one and from the outside would be arrivingAt. Entering the smaller circle is currentPlace.


#3

Yes. There is a delay with opening my garage door so I want that to be based on distance but I don’t want that affecting other things with presence. Is it possible to execute by distance? If so, is there a reason why it’s not working with the way I have it written?


#4

Distance can be finnicky just like the circles because when the GPS spins up it doesn’t always have the greatest accuracy. So having something like this might not work the greatest.

Are you trying to limit the garage opening to soon or wanting to ensure that you are actually home


#5

I am ok with finicky - I just want an example so I can try it out myself. I have not seen any examples in my search.


#6

currentPlace won’t change until you cross a location radius so, if you’re trying to trigger based on distance it won’t fire.


#7

Everyone’s mileage varies

Just up a test piston.

If distance is greater than 0 
And 
Distance is less than .2
Then 
Send sms “you are within 0 - .2 miles. 

Add several of these into your piston increasing the range. So .2 through 1 mile. 1 mile through 3 miles. You know whatever you want. Then go for a drive. See how many messages you get.


#8

great idea, I will try this. Thank you!


#9

I did something similar when I was trying to get my garage door to close before I drove far enough to break the “leaving place” circle.

I had a piston message me whenever my currentPlace was “Home” and my speed exceeded 15 ft/s, to send me a text. The idea was if I showed “Home” and was moving at more than 10mph, I just left my driveway and the door should close then.

What happened in practice over one week is I only received the SMS a couple times when I was leaving home, and once when I standing still in a closet.

I ended up just using presence and dealing with the door remaining open for a while upon departure.


#10

Thanks. I am too nervous to have the garage close automatically every time I leave for safety reasons… I am testing a new piston with distance of .15 miles from home. Hoping that will be enough to account for the delay and provide the perfect distance so that I can see the tail end of the garage door opening or close too it…


#11

The webCoRE presence sensor only updates:

  • When you cross a geo Fence
  • Every 500m travel
  • Every 5 minutes

So moving 0.15miles will not trigger an update to ST unless it just happens to coincide with the 5 minute mark.

Have you considered hardware?

Place a laser sensor looking across the middle of the garage, this will be blocked by a parked vehicle.

Place another across the door opening for safety

Basically any off the shelf detectors wired to smart dry contact sensor(s) (open/close)

IF
All of Garage car and Garage door’s contacts are open
THEN
Wait x seconds
close garage door
send message
Etc.


#12

Also, if you’re one of those peeps that hang a tennis ball on a string, so you know to stop reversing when it touches the glass… put a magnet inside the ball and a contact sensor stuck to the inside of the glass.

Hell… you could even have the garage lights Blink / change colour when it’s time to stop reversing :smile:

Damn I’m a geek!!


#13

.15 using the webcore presence sensor from @ady24 seems to be working so far. Unless I am just getting lucky?


#14

That explains exactly what I was trying to figure out by using Speed as a trigger and sending my phone an SMS. The times it triggered must have because of the 5 minute mark or the 500m of travel.

The reason I wanted to use speed is my neighborhood roads are windy and it takes some time to break the geofence upon departure. Now I know what was behind the inconsistent results! (waiting for smileys to load on my India “broadband” connection was taking to long, so insert your favorite high five/cheers one here, lol!) :smile:

Good ideas on the garage sensors, too! I think I might use the door one and say “IF sensor changes from blocked to clear (or whatever the terms are AND garage door is open, then close”.