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
- 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:
- 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)
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
or buy me a coffee on Ko-Fi or Bunq.me
Apps made by @martijnpoppen
See for more apps link below or just open the pull down.