Add delay to presence?

presence

(Ray) #1

Hi all,

I’ve tried searching a bit but I believe most people have the opposite problem I am going to ask about. Because the location accuracy of my phone (500ft), I have my SHM changing modes to HOME simply by driving by a nearby busy street. Because of the huge radius of the presence sensor, I would like to add a delay before it senses presence. Is there a way to add a delay? Maybe 30 seconds. So, if I was just driving by the home (a few blocks away for that matter), it won’t change SHM modes.

Thanks!


(Kirk Hilzinger) #2

Have you tried narrowing the range in the app by lowering the diameter of the circle around your home?


(Ray) #3

It’s already at the smallest radius… It’s limited to 500ft because of the phone.


#4

Your post was a little confusing because you seem to have mixed up smart home monitor armed status and modes. These are actually two different things.
The following thread should clear up that confusion (this is a clickable link)

In either case, The usual way would be to use webcore and have it change the smart home monitor armed status (or the Mode, or both) with presence +30 seconds. It’s a little complicated to set up, but there are many community members who will be glad to help you. :sunglasses:

Another alternative which may be available to you, depending on the specific router that you are using, is to have your phone counted as present when it connects to your own Wi-Fi rather than using GPS. This would likely give you a smaller detection zone. See the following thread for more details on this option:


(Ray) #5

Thanks @JDRoberts! This is helpful. For what it’s worth, I do understand the difference between the arm status and mode. I do see I used the term “mode” quite generally. oops. Regardless of arm status or mode, the post was really about how I can delay presence sensing or decrease the detection zone. I had a glance through “The many ways of detecting presence”. It seems a lot of tricks are played… I’ll have to review in more detail and think about what would work best for me. Presence detect with WiFi seems okay… But I don’t always have WiFi enabled… Maybe best to leave it as is…


#6

You can also do it with a daisy-chain as long as you’re OK with setting a delay in one minute instead of 30 seconds

  1. have presence being detected flip a virtual Switch

  2. have the virtual switch automatically turn itself off after 1 minute using the power allowance feature in official smart lighting automations

  3. have the virtual switch turning off then trigger whatever it was that you wanted to have happen when presence is detected.

Although it’s a somewhat different use case, if you read the how to article in the community – created wiki on creating a virtual timer for light, it covers the steps that you would need. It’s just that one has a light come on when the virtual Device comes on and in your case you don’t want to do anything when the virtual device comes on, you just want to have something happen when the virtual device goes off.

http://thingsthataresmart.wiki/index.php?title=How_to_create_a_virtual_timer_for_a_light

As you noticed, the official smart lighting feature will only let you set a minimum of one minute. If you want to make it shorter than that, then we’re back to web core.


(Ray) #7

Another way to narrow down the radius is by pinning down the radius and drag it away from the nearby street. This will give you a smaller radius on that location.


(John) #8

Use webCoRE to create a delay in changing modes based on presence.


(Ray) #9

Thanks @Navat604. I did drag away from the street a bit… Obviously I didn’t drag it far enough away because its still detecting presence. With that said, it’s possible I should just move the pin some more. I was hesitant to move the pin too far because now I am literally moving presence by a couple streets in the other direction.


(Ray) #10

Thanks @JDRoberts and @johnahesch. I installed webCoRE last night and played with it a bit. I’ve already switched a Smart Lighting automation over to a piston so I can set a timer that’s less than 1 minute.

I may look into that to make presence activate only after 15-30s…