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

<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 29, 2023, 10:08am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/331 "2023-12-29T10:08:09Z")

</div>

I guess that your “Away delay” setting is near the energy saving timeout on your mobile. I think you should try to increase the “Away delay” with 100 sec.

---

<div class="post-metadata">

**Author:** ![Japper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/japper/32/18032_2.png) [@Japper](https://community.homey.app/u/Japper)\
**Post date:** [December 29, 2023, 8:52am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/333 "2023-12-29T08:52:01Z")

</div>

Important to add to this context is that both my wife’s and my own device leave at the same time and are seen as present at the same time. Usually there is only one or two second difference between us.

---

<div class="post-metadata">

**Author:** ![Hugo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hugo/32/11530_2.png) [@Hugo](https://community.homey.app/u/Hugo)\
**Post date:** [December 29, 2023, 8:53am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/334 "2023-12-29T08:53:37Z")

</div>

Yes, I have seen this and that is why I don’t use it anymore.  
I think it has to do with what you use as network.  
I have a mesh network and switching between accesspoints seems to log out and login again.

I use life360 now which works really good in my network.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [December 29, 2023, 8:55am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/335 "2023-12-29T08:55:05Z")

</div>

Some phones have powersaving which disables WiFi when not used.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [December 29, 2023, 8:57am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/336 "2023-12-29T08:57:15Z")

</div>

One more thing; have you tried tweaking the settings in smart precense for your devices?  
Maybe you have configured too short away-time?  
Have you read the instruction how to configure it, in the app?

---

<div class="post-metadata">

**Author:** ![Japper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/japper/32/18032_2.png) [@Japper](https://community.homey.app/u/Japper)\
**Post date:** [December 29, 2023, 9:06am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/337 "2023-12-29T09:06:32Z")

</div>

I do use a Mesh network, but does that still not make it strange that the device of both my wife and myself leave and come back at the same time (only a few second differences)?

---

<div class="post-metadata">

**Author:** ![Japper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/japper/32/18032_2.png) [@Japper](https://community.homey.app/u/Japper)\
**Post date:** [December 29, 2023, 9:07am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/338 "2023-12-29T09:07:27Z")

</div>

I have changed the settings lately on my device, but didn’t change the settings on my wife’s device (which were working until like a month ago). Yet they still leave and come back at the same time.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [December 29, 2023, 9:10am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/339 "2023-12-29T09:10:30Z")

</div>

Then I suggest you to ask this in the Smart Presence forum: [[APP][PRO] Smart Presence NEW DEVELOPER NEEDED :-)](https://community.homey.app/t/app-pro-smart-presence-new-developer-needed/33794)  
The developer most likely will not see this topic.

---

<div class="post-metadata">

**Author:** ![Julen\_Arambarri\_Elor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/julen_arambarri_elor/32/106515_2.png) [@Julen\_Arambarri\_Elor](https://community.homey.app/u/Julen_Arambarri_Elor)\
**Post date:** [January 22, 2024, 1:45pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/340 "2024-01-22T13:45:49Z")

</div>

I also experience the same thing. It works randomly for me too.

---

<div class="post-metadata">

**Author:** ![Sebby5](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebby5/32/122738_2.png) [@Sebby5](https://community.homey.app/u/Sebby5)\
**Post date:** [January 22, 2024, 2:23pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/341 "2024-01-22T14:23:15Z")

</div>

> [@balmli](#):
>
> If anyone wants to take over this app, please send me a message 🙂

@balmli Thank you for this app! I’m relying on it for more than a year now, as not everyone wants to activate their location on their mobile devices in our home.  
The app has never let me down, thanks to customizations available.

I’m not a developer, but I hope someone in the community is able to take over from you.  
Thanks again 😃

---

<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:** [January 23, 2024, 2:43pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/342 "2024-01-23T14:43:08Z")

</div>

Hi everyone,

@balmli (thank you !) agreed to transfer **Smart Presence** app to me, so you may have noticed already in the morning you received already some small update… so far seems to be running fine but the changes were rather marginal and not really intended to push it live to everyone (lesson learned).

But in case of any crashes or app related errors, you are always welcome to send diag. report.

> **[Smart Presence](https://homey.app/en-us/app/nl.terryhendrix.smartpresence/Smart-Presence/)**
>
> Presence detection based on smartphones connected to your Wi-Fi

**Version 0.8.5** — New maintainer, attempt to prevent some crashes (SQLIte related - not fault of app), fix checkboxes during pairing, fix icon not showing up during pairing process, optimize detection methods, changed some graphics

Even I’m rather maintainer (not a real dev), I did some additional, possibly risky, changes, which you can **test** now -

> **[Smart Presence](https://homey.app/en-cz/app/nl.terryhendrix.smartpresence/Smart-Presence/)**
>
> Presence detection based on smartphones connected to your Wi-Fi

**Version 0.8.6** — Add last seen as device capability, changed minimal allowed values for Host timeout and Stress timeout (500ms as new minimum to prevent false negatives), improved logging to include device config/timeouts/periods, added warning about randomized MAC  
**Version 0.8.7** - Attempt to fix crash on missing token  
**Version 0.8.8** - Last seen formatting according to the user timezone

When/if I see higher number of installations without complains here, I will push it live.

Enjoy.

---

<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:** [January 24, 2024, 8:05am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/344 "2024-01-24T08:05:17Z")

</div>

Thanks to @Sharkys, it is good to know that Smart Presence will be taken care of! 🙂  
Thanks to @balmli for all the good work up to now! 🙂

---

<div class="post-metadata">

**Author:** ![Floris\_J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_j/32/81530_2.png) [@Floris\_J](https://community.homey.app/u/Floris_J)\
**Post date:** [February 4, 2024, 10:29am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/345 "2024-02-04T10:29:57Z")

</div>

Hi there, using the smart pressence here for detecting if laptops are on or off.  
Some laptops are in a kind of stealth mode (from a security perspective), so they don’t react to any tcp connect on a port that is closed.  
The only way I could detect if they are on the network is via a RARP (ARP/arp scan) request, as that is the minimum a device should listen and react to when on a tcp/ip ethernet network.  
A free android app like “Net Analyser” uses this, and than these laptops in stealth mode are showing in my netwerk.

I saw there is another very outdated Homey app “Better Presence”, that seemingly added this funcionality to Smart Presence, but as it is not mainained for a long time it will not work anymore. This uses arpscan as one of its extra functionalities to find “active” devices on the network.

It would be very helpfull if this funcionality could be added into the App. Thanks in advance.  
Please let me know if any questions.

---

<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:** [February 6, 2024, 11:07pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/346 "2024-02-06T23:07:49Z")

</div>

> [@Floris\_J](#):
>
> laptops

Not exactly intended for such use 😉 There are other tools like Net Scan for such purpose, eg. for some kind of monitoring.

> [@Floris\_J](#):
>
> RARP (ARP/arp scan) request

Smart Presense is using [Net | Node.js v21.6.1 Documentation](https://nodejs.org/api/net.html) : The “net” module in Node.js primarily provides a way to create and work with TCP (Transmission Control Protocol) and Unix socket servers and clients. It focuses on networking features related to TCP and Unix sockets and doesn’t directly support functions like RARP (Reverse ARP) or ARP (Address Resolution Protocol) scanning.

> [@Floris\_J](#):
>
> “Better Presence”

> **[GitHub - matjaz/homey-better-presence: Track presence using arpscan, ping,...](https://github.com/matjaz/homey-better-presence)**
>
> Track presence using arpscan, ping, iBeacon or other supported provider. - GitHub - matjaz/homey-better-presence: Track presence using arpscan, ping, iBeacon or other supported provider.

Is that tracker requirement correct?  
_Due Homey security restrictions, this app requires [presence app (click here)](https://github.com/matjaz/presence-tracker) running on other device (such as Raspberry Pi), to collect presence data._

Not sure if this is still valid but 3rd party tracker installed somewhere is no-go as well as I’m really not 100% sure Homey would be capable of running arp scans just with 3rd party library…

---

<div class="post-metadata">

**Author:** ![Floris\_J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_j/32/81530_2.png) [@Floris\_J](https://community.homey.app/u/Floris_J)\
**Post date:** [February 7, 2024, 10:39am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/347 "2024-02-07T10:39:07Z")

</div>

> [@Sharkys](#):
>
> t 100% sure Homey would be capable of running arp scans just with 3rd party library…

Thanx for your reply Sharky. I understand it is difficult using this library. The net scan homey app won’t provide this possibility eather. It usesd basic tcp connect and ping as far as I can see.

As homey is linux based, I would assume there are possibilities using a linux command like arping, which basically triggers an arprequest and response, coming from the iputils package.  
Well just realising “just installing packages” might not be an option.

I also found this, this might help?

## NodeJS ARP Request (ping)

[https://www.npmjs.com/package/arping](https://www.npmjs.com/package/arping)

Well still hoping;-)

---

<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:** [February 19, 2024, 10:52am UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/348 "2024-02-19T10:52:35Z")

</div>

FYI, pushed TEST to LIVE version, there is about 100 users using it without issues, so I hope it’s OKay for everyone.

Basically, this version add on the device title Last Seen info (eg. for debug, troubleshooting purposes etc.)

 ![last_seen](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/0/908ab7fba81bc2c4e95e649523008e4eeab6f989.png)

### 0.8.8 - 29. 1. 2024

LastSeen update according to the user timeZone

### 0.8.7 - 23. 1. 2024

Fixed crash on missing token

### 0.8.6 - 23. 1. 2024

Add last seen as device capability, changed minimal allowed values for Host timeout and Stress timeout (500ms as new minimum to prevent false negatives), improved logging

---

<div class="post-metadata">

**Author:** ![Kallemann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kallemann/32/12705_2.png) [@Kallemann](https://community.homey.app/u/Kallemann)\
**Post date:** [March 30, 2024, 3:40pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/349 "2024-03-30T15:40:54Z")

</div>

I can only see presence and not “not presence” in the log, is it possible to get back that in the log?  
It is a possibility, because the tile go dark, but the status change does not apear in the log anymore.

---

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

</div>

Are you sure your presence detection is set correctly? This is what I can see in the log…

 ![SmartSelect_20240330_213645_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/88b93b497438d97096867bb5b26ada0de44de270.jpeg)

---

<div class="post-metadata">

**Author:** ![Kallemann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kallemann/32/12705_2.png) [@Kallemann](https://community.homey.app/u/Kallemann)\
**Post date:** [March 31, 2024, 3:02pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/351 "2024-03-31T15:02:14Z")

</div>

Yes i think so.  
I used to have it like you.  
Now it is like this.

 ![IMG_1973](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/4/341a15130db3c1028046e0f7d66e1127ff7ef46f.jpeg)

---

<div class="post-metadata">

**Author:** ![Kallemann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kallemann/32/12705_2.png) [@Kallemann](https://community.homey.app/u/Kallemann)\
**Post date:** [March 31, 2024, 3:18pm UTC](https://community.homey.app/t/app-pro-smart-presence-presence-detection-based-on-smartphones-connected-to-your-wi-fi/33794/352 "2024-03-31T15:18:04Z")

</div>

I just updated to latest software on Homey.  
I was on 10.0.4

Now it works again, thanks. 👍👍

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

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