# IP ping AKA presence detection on Homey?

**URL:** <https://community.homey.app/t/ip-ping-aka-presence-detection-on-homey/45466>\
**Category:** Questions & Help\
**Created:** [March 29, 2021, 10:26pm UTC](https://community.homey.app/t/ip-ping-aka-presence-detection-on-homey/45466 "2021-03-29T22:26:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![V5R1X](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/v5r1x/32/33882_2.png) [@V5R1X](https://community.homey.app/u/V5R1X)\
**Post date:** [March 29, 2021, 10:26pm UTC](https://community.homey.app/t/ip-ping-aka-presence-detection-on-homey/45466/1 "2021-03-29T22:26:45Z")

</div>

Considering getting a Homey device.

But before I do I need to know if it is easy and possible to set up a script(?) that pings local network devices and uses the retrieved status as a boolean.

Does anyone know if this is possible?

Any help regarding this is greatly appreciated!

I’ve tried googling, but most discussions regarding this is many years old and, I suspect, outdated.

---

<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:** [March 29, 2021, 10:45pm UTC](https://community.homey.app/t/ip-ping-aka-presence-detection-on-homey/45466/2 "2021-03-29T22:45:54Z")

</div>

Not exactly cli ping, but it checks for online devices with fixed IP’s. So it pings 😉  
Very very easy imho.  
F.I. give all your devices you want to ping a “family member name”, like printer, or tv, and get logs or notifications of your devices being online or offline while they can trigger flows individually 😉

> [@\[APP\]\[PRO\] Smart Presence](https://community.homey.app/t/app-smart-presence/33794/):
>
> Smart Presence Device Tracking: The app tracks devices by their IP address. You would need to set a static IP address for each device you want to track. This is necessary because if the device’s IP address changes (which can happen with DHCP), the app won’t be able to track it properly. Port Scanning: The app checks whether the specified devices are reachable on the network by attempting to connect to a specified port. Closed ports are often used for this purpose. When a device is con…

 ![Screenshot_20210330-004337_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/0513cc07d89530e6fa1f5a5fca1cac1f8509e1a3.jpeg)

---

<div class="post-metadata">

**Author:** ![V5R1X](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/v5r1x/32/33882_2.png) [@V5R1X](https://community.homey.app/u/V5R1X)\
**Post date:** [March 30, 2021, 6:42am UTC](https://community.homey.app/t/ip-ping-aka-presence-detection-on-homey/45466/3 "2021-03-30T06:42:17Z")

</div>

This sounds very good!

Thanks for the help! 😄

---

<div class="post-metadata">

**Author:** ![D3X](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/d3x/32/114780_2.png) [@D3X](https://community.homey.app/u/D3X)\
**Post date:** [October 1, 2024, 12:09pm UTC](https://community.homey.app/t/ip-ping-aka-presence-detection-on-homey/45466/4 "2024-10-01T12:09:26Z")

</div>

unfortunatly it doesnt work for pc’s. at least not on my network. i would need ping :-/

---

<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:** [October 1, 2024, 1:34pm UTC](https://community.homey.app/t/ip-ping-aka-presence-detection-on-homey/45466/5 "2024-10-01T13:34:42Z")

</div>

Hmm…  
I’d suggest to try the [Net Scan app](https://homey.app/a/com.netscan/)  
It has both an IP and IP + port scanner device.  
It checks fine on my pc, nas, router, thermostat gw, home assistant vm, it also can poll internet sites to check (Homey’s) internet availability.

Sometimes using the IP scan device doesn’t work (meaning: it shows offline right away after configuring),  
in that case I add a IP+port scan device, like 80, and it detects the target.  
(Of course you should know, or scan which port is always open).
