# Presence-flow

**URL:** <https://community.homey.app/t/presence-flow/11583>\
**Category:** Flows\
**Created:** [April 7, 2019, 9:22pm UTC](https://community.homey.app/t/presence-flow/11583 "2019-04-07T21:22:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 7, 2019, 9:22pm UTC](https://community.homey.app/t/presence-flow/11583/1 "2019-04-07T21:22:48Z")

</div>

Hi. Beacuse the presence built in the app doesnt work on my girlfriend phone. Ive made a ifttt flow.

It starts with my girlfriends phone connects to the router, then the flow mark her as home and the other way around if shes disconected.

It works kind of well but sometimes she disconects even if shes home. That results in start of some other flows. For exempel turn all the lights of If nobody is home.

Is there a way to ad a timer or something to stop that?

Like if she disconects but is conected again in a five minute period?

Like a delay on the disconect part and If shes conected again the flow for marking her away is stopped?

---

<div class="post-metadata">

**Author:** ![Jeroenk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroenk/32/12592_2.png) [@Jeroenk](https://community.homey.app/u/Jeroenk)\
**Post date:** [April 8, 2019, 7:18am UTC](https://community.homey.app/t/presence-flow/11583/2 "2019-04-08T07:18:04Z")

</div>

you can use the countdown app.

when your gf disconnects start the timer (5min) and when the timer goes to zero you mark her as away. In the flow where she connects you add the card to stop the timer.

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 7:22am UTC](https://community.homey.app/t/presence-flow/11583/3 "2019-04-08T07:22:48Z")

</div>

ive tried that but it doesnt work for me. the timer goes on anyway or when the flow tells the timer to stop beacuse shes online again, it just goes to zero right away and does the same thing as if the time runs out.

so if she goes offline the timer runs, when shes online again the timer goes to zero and mark her as away.

---

<div class="post-metadata">

**Author:** ![Jeroenk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroenk/32/12592_2.png) [@Jeroenk](https://community.homey.app/u/Jeroenk)\
**Post date:** [April 8, 2019, 7:25am UTC](https://community.homey.app/t/presence-flow/11583/4 "2019-04-08T07:25:07Z")

</div>

. I do not have a connection to my homey now because i am moving to a new home, but maybe somebody else has a example for you.

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 7:25am UTC](https://community.homey.app/t/presence-flow/11583/5 "2019-04-08T07:25:42Z")

</div>

im now trying with this.

when:  
ifttt start the flow

and:

then:  
mark away after 5min

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 7:27am UTC](https://community.homey.app/t/presence-flow/11583/6 "2019-04-08T07:27:14Z")

</div>

and the other.

when:  
ifttt start the flow.

and:

then:  
mark as home.  
disable the away flow  
enable the away flow (delay 60sec)

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 7:36am UTC](https://community.homey.app/t/presence-flow/11583/7 "2019-04-08T07:36:27Z")

</div>

ah okay. the flows i used didnt work either

---

<div class="post-metadata">

**Author:** ![Jeroenk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroenk/32/12592_2.png) [@Jeroenk](https://community.homey.app/u/Jeroenk)\
**Post date:** [April 8, 2019, 7:45am UTC](https://community.homey.app/t/presence-flow/11583/8 "2019-04-08T07:45:55Z")

</div>

aaaaahhh you are using the build i timer. That will not work. you have the app which is called countdown. This ill give you the ability to start, stop and restart a timer.

you will need 3 flows.

1. If :  
IFFT says you GF is home  
then:  
mark home and stop “countdown” timer

2. If :  
IFFT says you GF is away  
Then: Start thew countdown timer on 5min

3. If :  
Counterdown timer reaches 0  
Then: mark gf away

in the topic below there are some examples:

> [@Countdown Timer Examples/Help](https://community.homey.app/t/countdown-timer-examples-help/6741/2):
>
> Replace the Turn of ledstrip with a Start Countdown timer for your BathroomShower timer. Create a new flow for the timer complete event of your BathroomShower timer beers

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 7:56am UTC](https://community.homey.app/t/presence-flow/11583/9 "2019-04-08T07:56:48Z")

</div>

Ive used that to. Thats What i explined st First

Skickat från min iPhone

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [April 8, 2019, 11:30am UTC](https://community.homey.app/t/presence-flow/11583/10 "2019-04-08T11:30:52Z")

</div>

> [@Andreas\_Kjork](#):
>
> ive tried that but it doesnt work for me. the timer goes on anyway or when the flow tells the timer to stop beacuse shes online again, it just goes to zero right away and does the same thing as if the time runs out.
> 
> so if she goes offline the timer runs, when shes online again the timer goes to zero and mark her as away

Maybe u can post some screenshots of this ?

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 3:42pm UTC](https://community.homey.app/t/presence-flow/11583/11 "2019-04-08T15:42:51Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/46e0886e3fc863b64be7fef3eb3727c88a19bb73.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/fd8ed2c46a6be9bdb6cb0f207cba43a73a7268ad.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8a67dc03e546cc0a1cf42d8f2a50e9bd005504ed.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/4691df016fb2a9b8c101b11f2462a041a2a9e62d.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/70afa9e5aad7c0569a3cd529684e0253fb78841c.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/b1f3424643b35fc20a48f04368535f4f0549f3eb.jpeg)

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 3:44pm UTC](https://community.homey.app/t/presence-flow/11583/12 "2019-04-08T15:44:13Z")

</div>

Uploaded them now. As soon as i connect to my wi-fi its like the timer gets to zero right away Instead of stopping

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [April 8, 2019, 4:46pm UTC](https://community.homey.app/t/presence-flow/11583/13 "2019-04-08T16:46:01Z")

</div>

Maybe @Jeroen_Bos can take a look at this flows?

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 5:17pm UTC](https://community.homey.app/t/presence-flow/11583/14 "2019-04-08T17:17:57Z")

</div>

It works now. Ive changed the app

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 6:10pm UTC](https://community.homey.app/t/presence-flow/11583/15 "2019-04-08T18:10:38Z")

</div>

I Dont now What the problem was but the app i used didnt stop, it did run direct to zero wich made the flows go banarnas. Ive got a tip and ive changed the app to this. [https://apps.athom.com/app/nl.bevlogenheid.countdown](https://apps.athom.com/app/nl.bevlogenheid.countdown)

Now it works great so far.

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 8, 2019, 6:11pm UTC](https://community.homey.app/t/presence-flow/11583/16 "2019-04-08T18:11:02Z")

</div>

Thanks to [https://community.homey.app/u/Rocodamelshe](https://community.homey.app/u/Rocodamelshe)

---

<div class="post-metadata">

**Author:** ![Rickp](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rickp/32/9466_2.png) [@Rickp](https://community.homey.app/u/Rickp)\
**Post date:** [April 9, 2019, 9:00pm UTC](https://community.homey.app/t/presence-flow/11583/17 "2019-04-09T21:00:17Z")

</div>

maybe you would like to consider to use wifi for the “home” and location for “away”. This so you skip the disconnections during dooze and don’t need the countdown,. As a bonus, if she switches wifi off to do whatever or has a poor signal she won’t be put to away mode.

I use wifi+location to get the whatever servers first for the “home” status and location for away.

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 10, 2019, 6:46am UTC](https://community.homey.app/t/presence-flow/11583/18 "2019-04-10T06:46:56Z")

</div>

Maybe i Will try that later on. For now it works just fine with the timer. But thanks

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [April 11, 2019, 11:36am UTC](https://community.homey.app/t/presence-flow/11583/19 "2019-04-11T11:36:46Z")

</div>

hwo do you trigger wifi with iftt?

---

<div class="post-metadata">

**Author:** ![Andreas\_Kjork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreas_kjork/32/8354_2.png) [@Andreas\_Kjork](https://community.homey.app/u/Andreas_Kjork)\
**Post date:** [April 11, 2019, 12:38pm UTC](https://community.homey.app/t/presence-flow/11583/20 "2019-04-11T12:38:49Z")

</div>

An applet made for tp-link router

Skickat från min iPhone

[Next page](https://community.homey.app/t/presence-flow/11583.md?page=2)
