# \[HOWTO\] Home/Away with Wifi (Homey (Bridge) / Homey Pro)

**URL:** <https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157>\
**Category:** Tutorials\
**Tags:** flow, homey-pro, homey-service\
**Created:** [January 10, 2022, 10:53am UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157 "2022-01-10T10:53:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [January 10, 2022, 10:53am UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/1 "2022-01-10T10:53:37Z")

</div>

How to set Home/Away when connected to a specific wifi network.

This solution works for the Homey (Bridge) and Homey Pro

**Android:**  
1 - IFTTT

**IOS:**  
2 - (TODO)

* * *

**0. Preparation**

> - Create a new flow in Homey: [Shared Flow | Homey](https://homey.app/en-gb/flow/xYSt3V/)
> - Repeat this for every user (change the event name for that user. In my case `mp_home_away`)

**0.1 Webhook url**

> - Go to the flow you created in the previous step
> - Click on the info icon in the IF card
> - You’ll see this:  
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/0921f01659052215b7d414601a80fe1a4ae1ddd1.png)

> - Your **home** url will be like this  
> `https://webhook.homey.app/ATHOM_CLOUD_ID/mp_home_away?tag=home`

> - Your **away** url will be like this  
> `https://webhook.homey.app/ATHOM_CLOUD_ID/mp_home_away?tag=away`

  

* * *
  

**1. Android - IFTTT**

> **Setup**
> 
> - Download IFTTT on your Android phone ([IFTTT on Google Play](https://play.google.com/store/apps/details?id=com.ifttt.ifttt&hl=nl&gl=US))
> 
> - Create an account or login
> 
> - Grant all needed permissions

> **Create applet**
> 
> - Click in the bottom on the button `create`
> 
> - Click IF → Android device
> 
> - For **Home** - Select `Connects to a specific WiFi network`
> 
> - For **Away** - Select `Disconnects to a specific WiFi network`
> 
> - Input your network name
> 
> - Click continue
> 
> - Click THAT → Webhooks (search via searchbar on top)
> 
> - Click `Make a web request`
> 
> - For **Home** In the url field paste your **Home URL** you retrieved in step 0.1
> 
> - For **Away** In the url field paste your **Away URL** you retrieved in step 0.1
> 
> - Method → GET
> 
> - Content Type → Text/Plain

  

> **Final steps**
> 
> - Make sure you did above steps twice. one time for **Home** and one time for **Away**
> 
> - For a extra user: repeat above steps on a different phone with different IFTTT account.

  

* * *
  

**2. IOS - TODO**

* * *

**Contributions**  
If you appreciate what I do, contribute to future development by making a [paypal contribution](https://www.paypal.me/martijnpoppen)  
or buy me a coffee on [Ko-Fi](https://ko-fi.com/martijnpoppen#checkoutModal) or [Bunq.me](https://bunq.me/MartijnPoppen)

[![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/9/2916364caa1239076c12be293d270d5980d9d272.png)](https://paypal.me/martijnpoppen) [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/martijnpoppen#checkoutModal)[![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/4/8449771d527e7184562e1301d641dfc1e99a4261.png)](https://bunq.me/MartijnPoppen)

* * *

## 💻 Apps made by @martijnpoppen

See for more apps link below 👇🏻 or just open the pull down.

> [@Apps made by @martijnpoppen](https://community.homey.app/t/apps-made-by-martijnpoppen/85812/1):
>
> Click to expand

---

<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:** [January 10, 2022, 7:49pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/2 "2022-01-10T19:49:31Z")

</div>

> [@martijnpoppen](#):
>
> https://ATHOM\_CLOUD\_ID.homey.eu-north-1.homeycloud.net/webhook/?event=

Hi Martijn!  
I seem to be on an other datacenter. Me Frankfurt you Helsinki?  
So peeps should take a peek at the Logics card “A webhook event was received” for the correct URL.  
The owners’ Athom ID is also present.

 ![Screenshot_20220110-204627_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f33619354be2c7c18dddcc2038780c10c017039.jpeg)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [January 10, 2022, 7:50pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/3 "2022-01-10T19:50:50Z")

</div>

@Peter_Kawa ! yes you are correct. However eu-central was not working for me today. So I tried eu-north. But indeed best is to take it from the card. 👍

---

<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:** [January 10, 2022, 7:53pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/4 "2022-01-10T19:53:42Z")

</div>

Ah! Didn’t know you can use another datacenter at your likings 😬

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [January 10, 2022, 7:57pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/5 "2022-01-10T19:57:50Z")

</div>

As long as you are in the same region. So EU or US.

The Homey you register will be put in a region. I tried connection from US but that didn’t work

---

<div class="post-metadata">

**Author:** ![Maggro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maggro/32/56617_2.png) [@Maggro](https://community.homey.app/u/Maggro)\
**Post date:** [December 16, 2022, 6:25pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/6 "2022-12-16T18:25:25Z")

</div>

Is the URL updated?

 ![Screenshot_20221216_191027_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/7/27c97fc1732ada1570882cd729f33492eb765e0d.jpeg)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [December 16, 2022, 6:49pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/7 "2022-12-16T18:49:21Z")

</div>

Hey @Maggro  
It depends on your location…the Homey webapp show the url in the flowcard. [https://my.homey.app](https://my.homey.app)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [December 21, 2022, 9:47am UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/8 "2022-12-21T09:47:53Z")

</div>

@Maggro urls are changed indeed, updated the howto 🙂

---

<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 21, 2022, 8:11pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/9 "2022-12-21T20:11:06Z")

</div>

It seems the ‘local’ webhook still works.  
This is nice when you want your in-house devices sending webhooks without using internet  
`http://192.168.1.123/api/manager/logic/webhook/my-event?tag=my-tag`

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [December 21, 2022, 8:14pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/10 "2022-12-21T20:14:18Z")

</div>

@Peter_Kawa yes! But wont work for Homey Cloud 😛

The one in the example is cross platform 🙂

---

<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 21, 2022, 8:33pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/11 "2022-12-21T20:33:02Z")

</div>

That’s right, it’s for in-house network use _only_ with a Homey Pro 😁. I just wanted to share the possibility 🙃

---

<div class="post-metadata">

**Author:** ![HHarm](https://avatars.discourse-cdn.com/v4/letter/h/f9ae1b/32.png) [@HHarm](https://community.homey.app/u/HHarm)\
**Post date:** [June 23, 2023, 2:54pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/12 "2023-06-23T14:54:13Z")

</div>

Hi! Very nice! How can you set this up via ‘to do’ on iPhone. Without getting a notification that you have to approve the action.

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [June 23, 2023, 2:55pm UTC](https://community.homey.app/t/howto-home-away-with-wifi-homey-bridge-homey-pro/58157/13 "2023-06-23T14:55:35Z")

</div>

@HHarm i never made any instructions for the IOS part. So not sure if its possible 😉
