# \[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:** 9

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [May 23, 2021, 9:54am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/168 "2021-05-23T09:54:57Z")

</div>

I got a **feature request** : having **two (or more) IP addresses per user**. For some reason I need to change my Wifi settings on iPhone between private/non-private regularly and this comes always with an IP change. In order to accommodate this I need to create a 2nd user. Having the option of 2 (or more) IPs for one user would be more convenient.

---

<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:** [May 23, 2021, 6:01pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/169 "2021-05-23T18:01:59Z")

</div>

> [@thobu](#):
>
> change my Wifi settings on iPhone between private/non-private regularly and this comes always with an IP change

Trying to understand why that should result into two known IP adresses.

You mean you have to connect to an other vlan & SSID to go to private mode? That is independent of your IP address. Or did you set an other DHCP range to the other vlan?

Or does the pivate mode of your phone change your Wifi MAC address to a random one? Then you end up with a random DHCP IP address

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [May 23, 2021, 6:03pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/170 "2021-05-23T18:03:40Z")

</div>

no, it’s the same wifi but for some reason I sometimes need to switch non-private/private and get an new IP on the same network

---

<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:** [May 23, 2021, 6:07pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/171 "2021-05-23T18:07:01Z")

</div>

Sorry no iphone here.  
Why do you want/need a new IP address?  
Did you reserve an IP for your phone on your router, or did you enter an IP at the wifi connection settings (the first way is adviced)?

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [May 23, 2021, 6:12pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/172 "2021-05-23T18:12:25Z")

</div>

I get the new IP from the router once I switch from one mode to the other, though these 2 IPs are stable

---

<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:** [May 23, 2021, 6:30pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/173 "2021-05-23T18:30:29Z")

</div>

Okay, got that. I agree more than 1 IP per user could come in very handy with this app.  
I’m only still curious why you have to switch your phone sometimes to p/np.  
Is it b/c you lose connection? Can’t you switch from wifi to 4G and back?  
If you really intend/need to go to private mode that’s an other scenario I think

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [May 23, 2021, 6:32pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/174 "2021-05-23T18:32:08Z")

</div>

I can’t tell this odd behavior started with a recent iOS update

---

<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:** [May 23, 2021, 6:45pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/175 "2021-05-23T18:45:17Z")

</div>

Getting a bit off-topic, but switching private reconnects the WiFi. So hitting the WiFi button twice does the same.

On topic , I can’t think of a good reason to have two ip’s addressing the same device. Maybe a wired device which sometimes changes to WiFi but still only theoretical.

---

<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:** [May 23, 2021, 9:26pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/176 "2021-05-23T21:26:51Z")

</div>

> [@Martijn\_Hoogenbosch](#):
>
> can’t think of a good reason to have two ip’s addressing the same device

The Q was ‘per user’. Idk the details, but f.i. having two smartphones is a real life situation and comes in handy when you are identified when either device is detected

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [May 23, 2021, 9:54pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/177 "2021-05-23T21:54:44Z")

</div>

> [@Martijn\_Hoogenbosch](#):
>
> Getting a bit off-topic, but switching private reconnects the WiFi. So hitting the WiFi button twice does the same.

this doesn’t work for me for some reason [it has to do with 2.5/5 GHz]. but as you said aside from my issue 2 or more IPs/user would be great.

---

<div class="post-metadata">

**Author:** ![Robb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robb/32/32672_2.png) [@Robb](https://community.homey.app/u/Robb)\
**Post date:** [July 10, 2021, 11:25pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/178 "2021-07-10T23:25:23Z")

</div>

Heeyy Guys,

Also loving Smart Presence for quite some time. One of the apps that has been installed from the beginning of having a Homey 🙂

But I also have some issues lately. My personal feeling is that this behavior started after i had to replace my providers Fritzbox 6490 for a 6660 Router after a lightning strike.

Since then I am having the issue that when I come home and wifi on the phone was still on and I come home and receive my fixed IP (Reserved in Router) on my iPhone 12 Pro Max (with multiple tested iOS versions) that Smart Presence doesn’t seem to trigger my homecoming flows. I just experienced it when coming home. I checked the IP which was correctly assigned. The Private IP setting has been disabled for this network. The flows don’t trigger at that moment.

I have waited for more then 2 minutes and the setting for SP is checking every 4 seconds. When I only disable and enable WiFi and receive the same IP address then SP detects it correctly within the 4 second window. And the flows are triggered correctly then. Im on 5Ghz and have also tested 2.4Ghz. Tested with WPA3 on and off but this didn’t make a difference.

Anyone have a clue why they don’t trigger when coming home with the wifi still on? It’s also not always that this scenario happens but definatly for 80% of the time I come home.

Good weekend for all!

---

<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:** [July 11, 2021, 12:38am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/179 "2021-07-11T00:38:38Z")

</div>

Hi Robb,  
Just to compare behaviour, if it’s the SP app or something else, you could try the NetScan app. It just detects if your phone is connected to your wifi or not.  
Works flawless with my android.  
_Btw, while some folks get nervous reading the word ‘android’: I have nothing against iphones. I just happen to have an android and can’t test this with an iphone_

---

<div class="post-metadata">

**Author:** ![Robb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robb/32/32672_2.png) [@Robb](https://community.homey.app/u/Robb)\
**Post date:** [August 1, 2021, 11:25am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/180 "2021-08-01T11:25:11Z")

</div>

Yes, it is connected to wifi when I come home. And I receive the correct IP. But when I go away for some time and I return home I get the same IP again but SP doesn’t seems to detect it correctly. When I disable wifi and enable it I get the IP again and then SP detects it and all the flows run correctly.

It feels like when I move out of reach of my wifi it keeps the IP at hand and doesn’t refresh the IP correctly when I come back. Like it keeps looking at an old lease of the IP address.

I created a screenrecording from my phone to see what happens when coming home. You can see that Heimdall triggers an alarm because SP doesn’t detect my phone but you can see that it’s connected to wifi. And it’s the correct wifi in case you might wonder.

[Dropbox Homey Smart Presence detection](https://www.dropbox.com/s/btg4109wynzwq2m/Homey%20Smart%20Presence%20detection.mp4?dl=0)

Hopefully someone has had similar issues and solved them or if not, I’d be interested in looking further onder the hood of SP.

Good weekend guys!

---

<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:** [August 1, 2021, 11:46am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/181 "2021-08-01T11:46:53Z")

</div>

Have you checked this post?

> [@\[APP\]\[PRO\] Smart Presence NEW DEVELOPER NEEDED slight\_smile](https://community.homey.app/t/app-smart-presence/33794/155):
>
> Have tried this ?

---

<div class="post-metadata">

**Author:** ![Robb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robb/32/32672_2.png) [@Robb](https://community.homey.app/u/Robb)\
**Post date:** [August 1, 2021, 12:32pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/182 "2021-08-01T12:32:44Z")

</div>

Yes, I had this setting already disabled for my WiFi networks.

Anyone else have an idea?

---

<div class="post-metadata">

**Author:** ![Robb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robb/32/32672_2.png) [@Robb](https://community.homey.app/u/Robb)\
**Post date:** [August 1, 2021, 12:39pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/183 "2021-08-01T12:39:54Z")

</div>

@balmli

Would it be possible to analyze a Diagnostic Report created from the SP app settings to trace the issue I’m having?

---

<div class="post-metadata">

**Author:** ![MichiMess](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michimess/32/32039_2.png) [@MichiMess](https://community.homey.app/u/MichiMess)\
**Post date:** [August 18, 2021, 6:06pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/184 "2021-08-18T18:06:19Z")

</div>

Hi, thanks for this great app!

But it is possible to give a person 2 IP addresses without adding a extra person?

Because my phone uses sometimes 2,4ghz and sometimes 5ghz. It’s a different IP address.

Thanks!

---

<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:** [August 18, 2021, 8:14pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/185 "2021-08-18T20:14:35Z")

</div>

No, just 1 IP address is supported per “device”.

---

<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:** [August 18, 2021, 8:30pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/186 "2021-08-18T20:30:56Z")

</div>

Try to set the same MAC address on both 2,4GHz and 5GHz connections. Then your phone receives the same IP address from your router @ both SSID’s ( **IF** you reserved that MAC address @ DHCP IP reservations)

 ![Screenshot_20210818-222851_Settings](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/0/b079621be16011321dd34f5ac5d2207d6e95f81b.jpeg)

---

<div class="post-metadata">

**Author:** ![MichiMess](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michimess/32/32039_2.png) [@MichiMess](https://community.homey.app/u/MichiMess)\
**Post date:** [August 20, 2021, 7:20am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/187 "2021-08-20T07:20:10Z")

</div>

Good idea, but how 😕

Where do you find this settings?

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

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