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

<div class="post-metadata">

### Author: ![HomeyBram](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homeybram/32/17513_2.png) [@HomeyBram](https://community.homey.app/u/HomeyBram)
#### Post date: [December 9, 2021, 4:14pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/41 "2021-12-09T16:14:59Z")

</div>

Hello Adrian, I added the IP for this PC (where I made the screenshot) but it is indicating “Device offline”.  
What goes wrong?  
(Only when creating the device it indicates online, offline ever after.)

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/8/f876965cd263aae31901ebc09d4f67b0b683d95f.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: [December 9, 2021, 4:26pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/42 "2021-12-09T16:26:22Z")

</div>

Did you create an ‘IP’ or a ‘port’ device?  
If ‘IP’, then it seems you entered a non-matching IP address, or the PC is in standby maybe.  
I think a ‘port’ device should work, as long as a PC port is open.  
You can check for open ports using [Fing network scanner](https://play.google.com/store/apps/details?id=com.overlook.android.fing) f.i.

Example of open port search (performed on the IP address of my Homey, just as example)

> ![Screenshot_20211209-172546_Fing](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a8f0c5f1a79ce90998d8ad253e2bfe64098719a6.jpeg)

---

<div class="post-metadata">

### Author: ![HomeyBram](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homeybram/32/17513_2.png) [@HomeyBram](https://community.homey.app/u/HomeyBram)
#### Post date: [December 9, 2021, 7:52pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/43 "2021-12-09T19:52:53Z")

</div>

The ‘port’ device is OK, thanks, but the IP device with the exact same IP is (still) not OK ☹

---

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

</div>

Unfortunately it just depends on if the PC will respond. If you have a firewall that completely ignores closed ports (no response) then it won’t work.  
Ideally, the app would use a true ping to detect the presence but a Homey app does not have privileges to access the low level interface required for that.  
So, if the port device is OK then stick with that.

---

<div class="post-metadata">

### Author: ![Sortberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sortberg/32/49467_2.png) [@Sortberg](https://community.homey.app/u/Sortberg)
#### Post date: [January 22, 2022, 6:15pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/45 "2022-01-22T18:15:44Z")

</div>

Hello Adrian.  
Just to be sure, checktimeout is the time in seconds I need to be away from the network before it puts me as offline, right? And check interval is hbor often the must search for my ip on the network, right?  
Do you have preferred settings for the two? I have a 200/200 Mbit.

And thank you for your hard work!  
Jacob

---

<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: [January 22, 2022, 6:43pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/46 "2022-01-22T18:43:45Z")

</div>

The Check Timeout is how long the network request will wait for a response before it fails. I would recommend a setting of about 10 seconds.  
The Check Interval is how long between sending network requests so i would recommend around 15 seconds.  
The actual interval could be the sum of the two values if the device doesn’t respond as the timer for the next check is set when the current request finishes. That means that the Timeout can be longer than the Interval without causing any overlap.

---

<div class="post-metadata">

### Author: ![Sortberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sortberg/32/49467_2.png) [@Sortberg](https://community.homey.app/u/Sortberg)
#### Post date: [January 22, 2022, 9:47pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/47 "2022-01-22T21:47:52Z")

</div>

Okay, thanks for the reply.  
My problem is that a few of our phones go into hibernation, and then they go offline 🥴

---

<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: [January 23, 2022, 2:34am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/48 "2022-01-23T02:34:22Z")

</div>

You might find that the newer app [Smart Presence App for Homey | Homey](https://homey.app/en-gb/app/nl.terryhendrix.smartpresence/Smart-Presence/) works better for your use case. That app was was written by the original author of this app but enhanced with extra features to cope with that situation.

---

<div class="post-metadata">

### Author: ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)
#### Post date: [February 10, 2022, 11:36am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/49 "2022-02-10T11:36:10Z")

</div>

I really like this app, but missing the alarm when a device goes online. Is there a possibility to implement this in 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: [February 10, 2022, 11:40am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/50 "2022-02-10T11:40:11Z")

</div>

Could you explain what you mean by Alarm?  
There is a flow action for Device Came Online  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b8e41aa194f7e340a2ecf5fb3a1260c9109f4119.png)

And the tile show an Alarm if the device is offline.

---

<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: [February 10, 2022, 3:29pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/51 "2022-02-10T15:29:05Z")

</div>

I use this f.i. to report on/offline status in 1 flow

---

<div class="post-metadata">

### Author: ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)
#### Post date: [February 10, 2022, 4:16pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/52 "2022-02-10T16:16:26Z")

</div>

I mean the status of a tile (picture). Because when the “alarm / exclamation mark” of a tile means a zone is active. For me it will be perfect if you can choose between offline and online. Maybe something like a door sensor where you can choose wich way is open and close.

I understand why the tile alarm is for offline. So you see when a device is offline, but like the function to make a zone online.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/3/3300d276aac061ab1514d8a443510c2b9af80a8c.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: [February 10, 2022, 8:52pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/53 "2022-02-10T20:52:01Z")

</div>

Hi Arjan, I felt free to create a kind of workaround.

- Create one virtual contact sensor, I called it “ZoneSwitch NetScan”, and place it in the NetScan devices Zone  
All NetScan devices can turn it on, so if one or more items come online, they set the virtual contact sensor to ON, and this way the zone becomes active.

- To set the virtual contact to Active, this flow is for ONE device. I choose to set in to INactive again after X minutes:

But, instead of the auto-INactive setting, you can choose to set the virtual contact only to INactive if one or more devices are offline:

 ![Screenshot_20220210-220627_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/28d9c7d73eb9c5a7c8fd0c775000512a473e62c0.jpeg)

---

<div class="post-metadata">

### Author: ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)
#### Post date: [February 10, 2022, 9:31pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/54 "2022-02-10T21:31:03Z")

</div>

That’s a good workaround solution.

---

<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: [February 10, 2022, 11:08pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/55 "2022-02-10T23:08:55Z")

</div>

Thanks. [This one](https://community.homey.app/t/app-pro-netscan-version-2-0-4/47454/26) posted earlier, I forgot about;  
it can work if you switch the THEN and ELSE cards and use the virtual contact sensor

---

<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: [February 10, 2022, 11:18pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/56 "2022-02-10T23:18:42Z")

</div>

I’m pleased you found a workaround as I started to implement an option to reverse the logic and it got very messy. The caption needs to change as it says Offline so that would have to be online, the insights would all be wrong and then the flow cards also need to be aware so it can invert the status back again.  
What seemed like a simple update soon spiralled out of control.

---

<div class="post-metadata">

### Author: ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)
#### Post date: [February 11, 2022, 5:44am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/57 "2022-02-11T05:44:18Z")

</div>

That sounds like allot of work. It’s fine for me and it works good. Thanks for helping!  
I’ve also some motion / door sensors as virtual device. Because when a door is closed the sensor must be off. To get a zone inactive. A little bit the same solution as this one.

And also thanks for your help Peter

---

<div class="post-metadata">

### Author: ![LukiHawk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lukihawk/32/49730_2.png) [@LukiHawk](https://community.homey.app/u/LukiHawk)
#### Post date: [February 11, 2022, 10:42am UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/58 "2022-02-11T10:42:16Z")

</div>

Hi, is it possible to add device to You app, which be able to send or receive data from established socket tcp/ip connection, as client or server ?

---

<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 9, 2022, 4:28pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/59 "2022-05-09T16:28:00Z")

</div>

Sorry for the late reply but I have only just seen your post.  
I’m not sure that feature is in keeping with the app. What do you plan to use it for?

---

<div class="post-metadata">

### Author: ![LukiHawk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lukihawk/32/49730_2.png) [@LukiHawk](https://community.homey.app/u/LukiHawk)
#### Post date: [May 27, 2022, 1:50pm UTC](https://community.homey.app/t/app-pro-netscan-track-devices-on-your-local-network-using-arp-and-tcp-checks/47454/60 "2022-05-27T13:50:12Z")

</div>

communication with PLC

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

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