# How do I detect a specific computer being turned on and run a flow?

**URL:** <https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956>\
**Category:** Questions & Help\
**Created:** [March 2, 2019, 12:39pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956 "2019-03-02T12:39:52Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 2, 2019, 12:39pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/1 "2019-03-02T12:39:52Z")

</div>

Are there any apps or using the homey built-in logic to detect a specific computer being turned on and triggering a flow? I was thinking along the lines of a “reverse WOL” where the LAN triggers a flow but not sure if such a thing exists.

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 2, 2019, 12:55pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/2 "2019-03-02T12:55:47Z")

</div>

There are several options:

- If you want the flow to run after the computer has started, you could do a http-call in a bat-file
- if you want the flow to run when the computer is turned on, you could use a power-plug
- if you have a laptop which is fully charged, that might not work. Then you could use Smartpresence?

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 2, 2019, 1:02pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/3 "2019-03-02T13:02:47Z")

</div>

Perhaps allow me to explain why I need such a trigger.

My computer is currently connected to a TV as my monitor and hence, there is a need to always manually turn on the TV when the computer is turned on. I’m thinking of linking the signal from powering up a computer to trigger a flow where the TV would automatically be turned on via IR.

The most plausible option is your second suggestion but that entails getting an additional device. It seems counter-intuitive that there is no way to monitor the router or the LAN to check if a new MAC (layer 2) or IP (layer 3) has appeared on the network to trigger the flow.

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 2, 2019, 1:19pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/4 "2019-03-02T13:19:05Z")

</div>

> [@Darkness](#):
>
> It seems counter-intuitive that there is no way to monitor the router or the LAN to check if a new MAC (layer 2) or IP (layer 3) has appeared on the network to trigger the flow.

That’s [SmartPresence](https://apps.athom.com/app/nl.terryhendrix.smartpresence), however the dev didn’t update it yet so you need to [download it](https://bitbucket.org/terryhendrix/homey-smartpresence/src/master/), alter compatibility yourself now and[install it through the CLI](https://community.homey.app/t/how-to-cli-install-method/198).

---

<div class="post-metadata">

**Author:** ![Kjettern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjettern/32/9184_2.png) [@Kjettern](https://community.homey.app/u/Kjettern)\
**Post date:** [March 2, 2019, 2:56pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/5 "2019-03-02T14:56:22Z")

</div>

How about using hdmi-cec on the TV? All TVs today have this option

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [March 2, 2019, 3:38pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/6 "2019-03-02T15:38:11Z")

</div>

Hm. Ywahm I don’t have the knowledge but that would be amazing.

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [March 2, 2019, 3:38pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/7 "2019-03-02T15:38:32Z")

</div>

You can also use the wake on Lan skill. Wake your pc and use that to run a flow atst 🙂

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [March 2, 2019, 3:39pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/8 "2019-03-02T15:39:07Z")

</div>

What plug would you recommend? (want to do about the same with a TV going on via hdmicec \> virtual device needs to turn on.)

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 2, 2019, 3:44pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/9 "2019-03-02T15:44:30Z")

</div>

I myself use Plugwise and FIbaro plugs but I think any plug with measuring capabilities would work (so no KlikAanKlikUit)…

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [March 2, 2019, 5:08pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/10 "2019-03-02T17:08:58Z")

</div>

Plug wise needs an extra hub right?

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 2, 2019, 6:52pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/11 "2019-03-02T18:52:42Z")

</div>

Old plugwise does, the new plugwise is straight Zigbee.

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [March 3, 2019, 7:24am UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/12 "2019-03-03T07:24:36Z")

</div>

Aah. Checked. Okey. Thanks 😊🙏🏼

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [March 4, 2019, 5:47am UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/13 "2019-03-04T05:47:27Z")

</div>

Buy a Netgear router and use the Netgear app. IT has Mac and ip monitoring, and wol 🤘  
[https://apps.athom.com/app/com.gruijter.netgear](https://apps.athom.com/app/com.gruijter.netgear)

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 4, 2019, 12:44pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/14 "2019-03-04T12:44:09Z")

</div>

The app looks wonderful but the solution requires buying an additional component with relatively low return-on-investment… 😅

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [March 4, 2019, 12:49pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/15 "2019-03-04T12:49:37Z")

</div>

Investment is 20 euro

> [@\[APP\]\[Pro\] Netgear Router - Network control, Presence detection, Energy monitoring](https://community.homey.app/t/netgear-router-app/2259/23):
>
> Wow, 20 euro’s is really a good deal on a new router. Glad it works for you. I will add the WNR2000v5 to the list of routers that have been confirmed to work. Thx!

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 4, 2019, 1:19pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/16 "2019-03-04T13:19:05Z")

</div>

I know this is a stretch but would it be possible to get it working on a 8-port managed switch (Netgear GS108PEv3) that I already owned? This would probably entail a MAC based detection rather than an IP based detection since it is only a switch.

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 4, 2019, 1:28pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/17 "2019-03-04T13:28:49Z")

</div>

I think you’d better wait a few days. Then the “Smart Presence” app will be updated in store, you can use that for detecting on/off probably. If you want progress you can follow this tutorial:  
[https://jackhiddes.nl/make-smart-presence-work-for-homey-v2-0/](https://jackhiddes.nl/make-smart-presence-work-for-homey-v2-0/)

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 4, 2019, 1:30pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/18 "2019-03-04T13:30:41Z")

</div>

Wonderful!! Thank you so much for your help!

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [March 4, 2019, 1:36pm UTC](https://community.homey.app/t/how-do-i-detect-a-specific-computer-being-turned-on-and-run-a-flow/9956/19 "2019-03-04T13:36:34Z")

</div>

If the router works with the genie app, then the Homey app probably works. Otherwise IT doesn’t…
