# \[APP\]\[PRO\] Smart Presence - Presence detection based on smartphones connected to your Wi-Fi

**URL:** <https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794>\
**Category:** Apps\
**Tags:** app\
**Created:** [August 20, 2020, 6:09am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794 "2020-08-20T06:09:02Z")\
**Posts on this page:** 20\
**Page:** 12

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [November 30, 2021, 12:38pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/228 "2021-11-30T12:38:48Z")

</div>

So, interestingly, no timeouts to my phone, but when I ping Homey from my phone I have received timeouts…!  
That’s somewhat concerning, but I’ve not noticed anything which would lead me to suggest Homey is going offline… but could that be responsible for this issue? Is it possible to make Homey confirm it’s connection before trying to ping the phone?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 30, 2021, 6:00pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/229 "2021-11-30T18:00:41Z")

</div>

With the [NetScan app](https://community.homey.app/t/app-pro-netscan-version-2-0-4/47454) you can check any IP or IP+Port from Homey.  
So you could check your router’s IP for instance. This way you know for sure if Homey’s connection has issues or not.

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [November 30, 2021, 6:25pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/230 "2021-11-30T18:25:35Z")

</div>

So, this may be a silly question but how would I know… I’ve just installed the app and put in my router ip as a new device, but surely if Homey can’t reach it then it won’t be able to log a notification?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 30, 2021, 6:55pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/231 "2021-11-30T18:55:04Z")

</div>

If Homey has no wifi connection, it indeed can’t send notifications.  
But it can log the connection events for troubleshooting purposes later on…

And you could choose to restart Homey automagically at offline events, most of the time it gets back online after a restart  
(this assumes Homey’s WiFi radio is the culprit).

I’ve an example set of flows, with a delayed action, to prevent restarting right after short WiFi disconnections.  
It also logs the disconnect and connect events.

---

<div class="post-metadata">

**Author:** ![ThomasPettersson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomaspettersson/32/47921_2.png) [@ThomasPettersson](https://community.homey.app/u/ThomasPettersson)\
**Post date:** [November 30, 2021, 8:02pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/232 "2021-11-30T20:02:54Z")

</div>

Hey!

If i get it right, smart presence determines if someone is home dependant on the iphone connected to the wifi, and if the person/phone logs out from wifi then the homey says that the person is away?

Is there some way to trigger a flow that cooperates with the in-built presence detection? So the person is set to away ONLY if BOTH conditions is met?

---

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [December 1, 2021, 9:58am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/233 "2021-12-01T09:58:07Z")

</div>

Of course, but you have to decide if their will be handled equally or of one of them is master.  
In first case you put in a test in AND if the other presence-funtionality also is indicating away.

---

<div class="post-metadata">

**Author:** ![Cuprum](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cuprum/32/41409_2.png) [@Cuprum](https://community.homey.app/u/Cuprum)\
**Post date:** [December 8, 2021, 6:15am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/234 "2021-12-08T06:15:09Z")

</div>

> [@ThomasPettersson](#):
>
> if the person/phone logs out from wifi then the homey says that the person is away?

Actually, remember this functionality for _some_ devices. But this was quite device(controller)-specific, and because of that out from my interest.  
But first thing, i recommend (if already not done) - check Your home WiFi controller’s brand name from apps list.  
The idea, i was talking - the WiFi controller does accounting and reports the log-in/outs into/from network. Available on “little bit higher end controllers”.

About another simple idea - just to ping fixed DHCP IP. Solution working everywhere, but _requiring_, that the WiFi clients are not insulated/separated (the exact phrase depends on AP vendors). Means, that the WiFi clients (even in same network) do not “see” each other.

---

<div class="post-metadata">

**Author:** ![KasperAS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kasperas/32/47804_2.png) [@KasperAS](https://community.homey.app/u/KasperAS)\
**Post date:** [December 21, 2021, 11:35pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/235 "2021-12-21T23:35:54Z")

</div>

Will this ever be availible for Homey Bridge?

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [December 22, 2021, 6:48am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/236 "2021-12-22T06:48:47Z")

</div>

Homey Bridge does not support apps that access the local network, e.g. Wi-Fi devices. So no.

---

<div class="post-metadata">

**Author:** ![KasperAS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kasperas/32/47804_2.png) [@KasperAS](https://community.homey.app/u/KasperAS)\
**Post date:** [December 22, 2021, 10:41am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/237 "2021-12-22T10:41:38Z")

</div>

Thank you for your reply.  
Any ideas to make presence better with Bridge? Homeys own presence is very flimsy and not precise.

---

<div class="post-metadata">

**Author:** ![Tormod\_Torgersen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tormod_torgersen/32/49434_2.png) [@Tormod\_Torgersen](https://community.homey.app/u/Tormod_Torgersen)\
**Post date:** [January 31, 2022, 8:25pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/238 "2022-01-31T20:25:11Z")

</div>

Is there a possibility to know WHO left/arrived? I want to send a push just to the last person that left the house

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 31, 2022, 9:15pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/239 "2022-01-31T21:15:25Z")

</div>

It is. With a bit of preparation…  
You could do something like this:

Create a Bool (Y/N) variable [Name@Home] for every user

Flow to set var Peter@Home to YES

Flow to set var Peter@Home to NO

Peter left last - detection flow

Peter @home 1st

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [January 31, 2022, 9:16pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/240 "2022-01-31T21:16:06Z")

</div>

That’s the whole idea right? Or what do you mean? Last person left and person is exactly… or is that thinking too simple?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 31, 2022, 9:24pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/241 "2022-01-31T21:24:19Z")

</div>

> [@Martijn\_Hoogenbosch](#):
>
> Last person left and person is exactly…

Somehow there’s no logics Presence tags available at the “AND” section.  
So my thought was to create and control presence variables via flows, while you can use those at the “AND” section logics cards.

---

<div class="post-metadata">

**Author:** ![Tormod\_Torgersen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tormod_torgersen/32/49434_2.png) [@Tormod\_Torgersen](https://community.homey.app/u/Tormod_Torgersen)\
**Post date:** [January 31, 2022, 9:31pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/242 "2022-01-31T21:31:25Z")

</div>

Yes this is the only way I found so fare, but had hoped that there was a way without creating so many flows for something that simple.

But it seems like I need to go this route then

@Martijn_Hoogenbosch @Peter_Kawa

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 31, 2022, 9:38pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/243 "2022-01-31T21:38:23Z")

</div>

I was a bit surprised too.  
@ Homey Pro the presence tags are available at the “AND” part.

 ![Screenshot_20220131-223623_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f48684f7d1565a19f2dcf6fabf7112dd778a4494.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kalrsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kalrsson/32/48872_2.png) [@Peter\_Kalrsson](https://community.homey.app/u/Peter_Kalrsson)\
**Post date:** [March 15, 2022, 8:13pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/244 "2022-03-15T20:13:13Z")

</div>

Thanks @balmli for a great app!

Suggestion - would it be possible to implement some new AND cards?

Now, we only have “is present” cards in the AND section, I would like the same amount of cards with the “is not present” statement as well.

That would be AWESOME!

---

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [March 15, 2022, 9:19pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/245 "2022-03-15T21:19:04Z")

</div>

Have you tried the Invert setting.

 ![Screenshot_20220315-221439_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f0e43be446ca4b46d43d2ded5122d2d452bfee06.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kalrsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kalrsson/32/48872_2.png) [@Peter\_Kalrsson](https://community.homey.app/u/Peter_Kalrsson)\
**Post date:** [March 16, 2022, 9:42am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/246 "2022-03-16T09:42:45Z")

</div>

> [@Morgan](#):
>
> Have you tried the Invert setting.

No, I have not. And that was exactly what I was looking for 🙂 Thanks a bunch @Morgan

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [April 14, 2022, 12:33pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/247 "2022-04-14T12:33:04Z")

</div>

@balmli FYI, I just submitted error log / issue on GitHub - [Not working on Homey FW v7.4.0-rc.22 · Issue #27 · balmli/homey-smartpresence · GitHub](https://github.com/balmli/homey-smartpresence/issues/27)

[Previous page](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794.md?page=11)

[Next page](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794.md?page=13)
