# Activate flow when lan device is active

**URL:** <https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [June 15, 2020, 7:19pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301 "2020-06-15T19:19:37Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![W\_vd\_P](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/w_vd_p/32/16860_2.png) [@W\_vd\_P](https://community.homey.app/u/W_vd_P)\
**Post date:** [June 15, 2020, 7:19pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/1 "2020-06-15T19:19:37Z")

</div>

Hi,

Now that the app NetScan doesn’t work anymore on the latest Homey firmware, does anyone have an alternative way to execute a flow when a network device (receiver with static IP) comes online?  
I’ve tried the UniFi app that has a presence function, but my receiver does not have WiFi and is wired, it does not show up in the UniFi controller when it’s powered on.

Thanks for any ideas on how to accomplish this.

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [June 15, 2020, 7:29pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/2 "2020-06-15T19:29:08Z")

</div>

Well, maybe the author of the app can update it?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 15, 2020, 8:13pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/3 "2020-06-15T20:13:07Z")

</div>

Smart presence app is scanning IPs and has flow triggers for online/offline. You can create Homey devices for each IP device and react on triggers in flows.

---

<div class="post-metadata">

**Author:** ![W\_vd\_P](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/w_vd_p/32/16860_2.png) [@W\_vd\_P](https://community.homey.app/u/W_vd_P)\
**Post date:** [June 15, 2020, 8:47pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/4 "2020-06-15T20:47:11Z")

</div>

Doesn’t that functionality require you to run an app on a server (or raspberry pi) elsewhere in the network?

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [June 15, 2020, 9:08pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/5 "2020-06-15T21:08:31Z")

</div>

Yeah it basically tries a connection attempt and interprets the result of that to detect if a device was there or just nothing. Simple as that.  
I would expect that NetScan does the same. Maybe.

---

<div class="post-metadata">

**Author:** ![W\_vd\_P](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/w_vd_p/32/16860_2.png) [@W\_vd\_P](https://community.homey.app/u/W_vd_P)\
**Post date:** [June 15, 2020, 9:16pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/6 "2020-06-15T21:16:16Z")

</div>

Do you know of a way to get in contact with the developer of this app?

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [June 15, 2020, 9:34pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/7 "2020-06-15T21:34:46Z")

</div>

Hmm… you could generate a diagnostic report and put your contact info into the message. The developer usually gets an email notification when such is done.

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [June 15, 2020, 9:35pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/8 "2020-06-15T21:35:43Z")

</div>

I mean, a daig report of the app, not homey itself. Under More-\>Apps-\>AppName-\>LittleGearIcon-\>Generate Diag Report

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 16, 2020, 4:15am UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/9 "2020-06-16T04:15:50Z")

</div>

The “Smart presence” app just scans the IPs you set in the options.  
I use this for presence check of mobile phones instead of build in presence. I also check Homey state to restart if offline for a while.

“person” device for smart presence with IP settings:

 ![Screenshot_20200616-061131_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/f/0feb6140928241aabcd89a1f951519681fb864c7.jpeg)

Flow triggered when device gets offline:

 ![20200616_061019](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/d/9d79529ab3d3f3f79af314e775bdaaa7743c7a1c.jpeg)  
 ![Screenshot_20200616-061035_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/89107d30a6b479879cc1d73f12746e7c1775ce0a.jpeg)  
 ![Screenshot_20200616-061048_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/3/e38dd940e791c0acd86b47b0cf362cebb0d402c6.jpeg)

This should work for you to check if a device gets online. Perhaps the delay for the check is too long.

---

<div class="post-metadata">

**Author:** ![W\_vd\_P](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/w_vd_p/32/16860_2.png) [@W\_vd\_P](https://community.homey.app/u/W_vd_P)\
**Post date:** [June 16, 2020, 5:45am UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/10 "2020-06-16T05:45:21Z")

</div>

But I can’t install the app on Homey because of version incompatibility…so no way to run a diagnostics report.

---

<div class="post-metadata">

**Author:** ![W\_vd\_P](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/w_vd_p/32/16860_2.png) [@W\_vd\_P](https://community.homey.app/u/W_vd_P)\
**Post date:** [June 16, 2020, 5:57am UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/11 "2020-06-16T05:57:27Z")

</div>

Okay, and this should work without running extra software on a raspberry Pi?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 16, 2020, 7:02am UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/12 "2020-06-16T07:02:42Z")

</div>

yes. Only the Homey app, nothing else.

---

<div class="post-metadata">

**Author:** ![W\_vd\_P](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/w_vd_p/32/16860_2.png) [@W\_vd\_P](https://community.homey.app/u/W_vd_P)\
**Post date:** [June 16, 2020, 7:22am UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/13 "2020-06-16T07:22:52Z")

</div>

Thanks! I’ll give this a try tonight 🙂

---

<div class="post-metadata">

**Author:** ![W\_vd\_P](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/w_vd_p/32/16860_2.png) [@W\_vd\_P](https://community.homey.app/u/W_vd_P)\
**Post date:** [June 16, 2020, 7:54pm UTC](https://community.homey.app/t/activate-flow-when-lan-device-is-active/31301/14 "2020-06-16T19:54:23Z")

</div>

This solution works, tnx!
