# \[APP\]\[Pro\] NetScan - Track devices on your local network using ARP and TCP checks

**URL:** https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454
**Category:** Apps
**Tags:** app
**Created:** [May 16, 2021, 9:00am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454 "2021-05-16T09:00:48Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [May 21, 2021, 7:19pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/21 "2021-05-21T19:19:41Z")

</div>

I will check to make sure there are no memory leaks. I have seen in the past about network buffers not be released under certain circumstances so I will look into that.

I have 6 devices setup and the app has got up to 18MB but is climbing steadily so does look a bit suspicious.

I have presented the app to the Athom store and if it is accepted I will keep the new ID. If it’s refused then I will revert back to the original ID and just keep it in the HCS only.

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [May 25, 2021, 7:32am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/22 "2021-05-25T07:32:25Z")

</div>

Athom have accepted the submission so the app with the new id is in the store:

> **[Net Scan](https://homey.app/en-gb/app/com.netscan/Net-Scan/)**
>
> Watch devices on your local network by scanning for TCP ports

---

<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 25, 2021, 11:30am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/23 "2021-05-25T11:30:05Z")

</div>

Up & running Adrian, a 1001 times thanks.  
I got it up my dash, and the offline ones blink orange now 😉  
(I had to add alarm\_offline capability to the code)

 ![netscan_dash](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d9af7f585b3d961bd5aba48db164370b0c0b2c69.jpeg)

Just info: Now I wanted to group them, so I get only one device with an alarm status on my dash, like my doorcontacts and PIR’s, but the group app doesn’t provide for alarm\_offline sensor capability yet.

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [May 25, 2021, 11:51am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/24 "2021-05-25T11:51:22Z")

</div>

Nice dashboard 👍

The alarm\_offline is a custom capability so not sure if the app will be able to support that. I will contact the dev to see what he can suggest.

---

<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 25, 2021, 12:01pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/25 "2021-05-25T12:01:06Z")

</div>

Thanks!

> [@Adrian\_Rockall](#):
>
> The alarm\_offline is a custom capability

Ah I get that. I asked Arjan the other day if he could add measure\_ph to the Virtual Devices app, but he sticks with the default capabilities provided by Athom, otherwise he would be busy all day to add capabilities 🙃

This is available in Group app at the moment (enough alarms though 😉 ):

```auto
TEMPERATUUR

CARBON MONOXIDE

CARBON DIOXIDE

LUCHTVOCHTIGHEID

PM2.5

DRUK

GELUID

REGEN

WINDSNELHEID

WINDRICHTING

WINDSTOOT KRACHT

WINDSTOOT RICHTING

ACCUNIVEAU

ENERGIE

VOLTAGE

STROOM

HELDERHEID

ULTRAVIOLET

WATERDOORSTROMING

ALGEMEEN ALARM

BEWEGINGSALARM

CONTACT ALARM

CO ALARM

CO₂ ALARM

SABOTAGEALARM

ROOKMELDER

BRANDALARM

HITTEALARM

PM2.5 ALARM

HITTEALARM

BATTERIJ ALARM

NACHT ALARM

ENERGIEMETER

WATERMETER

GASMETER

```

---

<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 26, 2021, 7:09pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/26 "2021-05-26T19:09:29Z")

</div>

I made a “IP device offline” indicator, while using a VD light with color capability.  
I put my IP devices in a dedicated zone, so I can use generic alarm detection.

- One or more devices alarm.on: vLight Red and ON
- All devices alarm.off: vLight Green and OFF

 ![Screenshot_20210526-210834_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a30ca049683cde037f5efc09922029352e17766d.jpeg)

---

<div class="post-metadata">

### Author: ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)
#### Post date: [May 26, 2021, 7:37pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/27 "2021-05-26T19:37:44Z")

</div>

is it possible to add the following flow card to this app?

IF device status changed  
Currently you have 2 IF statements: if device come online or if device goes offline, would be great to have a 3th option. If device changed state.

thx!

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [May 27, 2021, 7:03am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/28 "2021-05-27T07:03:45Z")

</div>

Version 2.0.1 is now available under the test url and has this option.

---

<div class="post-metadata">

### Author: ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)
#### Post date: [May 27, 2021, 5:20pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/29 "2021-05-27T17:20:01Z")

</div>

thx, installed it and seems to be working fine!

---

<div class="post-metadata">

### Author: ![Roger\_Gorissen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roger_gorissen/32/9534_2.png) [@Roger\_Gorissen](https://community.homey.app/u/Roger_Gorissen)
#### Post date: [June 12, 2021, 9:40am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/30 "2021-06-12T09:40:20Z")

</div>

What a great app, thank you for the development! I’ve been searching long foe a app with this functions.  
I use it to check whether my TV is on or not when my lights go off in the evening. If so, a few lights stay on. As the tv switches off, those lights go off as well. I check if the fixed IP address changes to offline.

But all of a sudden, the lights stay on, even when the tv is off for some time. Do I have to restart the app once in a while or so? Do you know this, will that solve the problem?  
I’m using the latest version of the app.

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [June 12, 2021, 10:45am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/31 "2021-06-12T10:45:36Z")

</div>

Are you running the test version?  
I think the release version has a memory leak, that I have fixed, and when the it gets to a certain level Homey kills the app.

---

<div class="post-metadata">

### Author: ![Roger\_Gorissen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roger_gorissen/32/9534_2.png) [@Roger\_Gorissen](https://community.homey.app/u/Roger_Gorissen)
#### Post date: [June 12, 2021, 12:36pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/32 "2021-06-12T12:36:43Z")

</div>

First: thanks for the quick reply!!

Second: I use the released version. Have you got a link to the test version, will install that one and check whether that one keeps on working.

Edit: found the link to the test version at the top op this topic.

---

<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: [June 12, 2021, 2:57pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/33 "2021-06-12T14:57:48Z")

</div>

Hi Adrian, I think you fixed the memory leak.  
I installed test version 2.0.2 at june 10th @ noon, the graph tells us the good news:

 ![netscan_v.test202](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/1/6150b9e4b1889b03daa7a45d05bace02c2c32694.png)

Last 24hrs:

 ![netscan_testv2.0.2._24hrs](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/f/efb8a9001904e004125fcfed1f59a5ee50f936b3.png)

---

<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: [June 13, 2021, 1:39pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/34 "2021-06-13T13:39:05Z")

</div>

Hi Adrian,  
I didn’t know/realize it can detect the internet connection also.  
But it only works with my own internet IP address, not with f.i. 8.8.8.8, or both [www.athom.com](http://www.athom.com) IP’s.  
But, using the TCP device port 80 works for webservers 😉  
Just FYI

By the way, the memory graph is still around 8MB’s 👌

> [@How to detect an internet deconnection?](https://community.homey.app/t/how-to-detect-an-internet-deconnection/48385/5):
>
> Hi Jeremy, I tested the suggestion of @RonnyW and it works using NetScan with my own internet IP address, but not with f.i. 8.8.8.8 I pulled the plug from my internet wall outlet to simulate it.

---

<div class="post-metadata">

### Author: ![Roger\_Gorissen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roger_gorissen/32/9534_2.png) [@Roger\_Gorissen](https://community.homey.app/u/Roger_Gorissen)
#### Post date: [June 13, 2021, 2:23pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/35 "2021-06-13T14:23:32Z")

</div>

Adrian,

Last night as the tv was turned off, the lights went off as planned. I installed the test version of the app.  
We don’t know whether it did function correctly this time because of the new app. Maybe restarting the old app would have been good enough. I will keep an eye on it the coming days and see what happens.

I’ll keep you informed.

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [June 13, 2021, 5:02pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/36 "2021-06-13T17:02:30Z")

</div>

> [@Peter\_Kawa](#):
>
> But it only works with my own internet IP address, not with f.i. 8.8.8.8, or both [www.athom.com](http://www.athom.com) IP’s.  
> But, using the TCP device port 80 works for webservers 😉

I’m not really surprised as internet devices will be locked down much tighter and are less likely to respond to random connections.

---

<div class="post-metadata">

### Author: ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)
#### Post date: [November 15, 2021, 12:29am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/37 "2021-11-15T00:29:53Z")

</div>

Hi,

Is it possible to add arpping aswell?  
If not possible with this app, maybe it is possible with an companion app for a NAS and/or PI?

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [November 15, 2021, 11:59pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/38 "2021-11-15T23:59:55Z")

</div>

> [@B3rt](#):
>
> Is it possible to add arpping aswell?

As far as I can see arping, like ping, uses low level network functions that are not available to a Homey app. So I don’t think it is possible to add it unless Athom provide an API into those functions.

---

<div class="post-metadata">

### Author: ![FvB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fvb/32/4610_2.png) [@FvB](https://community.homey.app/u/FvB)
#### Post date: [December 7, 2021, 1:21pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/39 "2021-12-07T13:21:45Z")

</div>

Sorry, newbie question: How do I check if a PC running Windows 10 is awake? Doesn’t seem to work with check IP or check TCP port (tried several that is supposed to be open).

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [December 7, 2021, 1:29pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/40 "2021-12-07T13:29:50Z")

</div>

If you have a firewall that complete blocks access to ports then neither will work.  
The IP option checks port 1 and just looks for any kind of response, even if it is a rejection as when the PC is switched off nothing is returned and the request times out.  
The TCP option checks the specified port but requires a valid response.

[Previous page](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454.md?page=1)

[Next page](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454.md?page=3)
