An IOS presence app working with webhooks.
Found an IOS presence app in the app-store working with webhooks or GET requests. So you can use the build-in logic cards in Homey for receiving a webhook or the Better Logic app for receiving a GET request.
Go with your IOS device to this link and download the app.
Setting a geofence
When you first downloaded the app the geofences will be empty. Click the + sign on the top right to add a geofence.
Setting the url
When the geofence is added you can also add the GET url for the webhook at the âTrigger on Arrivalâ. The url for the webhook will look like this:
https://Homey-cloud-ID.connect.athom.com/api/manager/logic/webhook/event?tag=tag
In this example i used âlocativeâ as event and ârocohomeâ as tag.
The url should look like this then:
https://Homey-cloud-ID.connect.athom.com/api/manager/logic/webhook/locative?tag=rocohome
Your Homey Cloud ID can be found here.
We can also fill in an url for âTrigger on Departureâ ofc, works the same way but with a different tag.
Making some flows
Now itâs time to make some flows to do something with the webhooks we get. Iâll explain 1 flow, rest should be doable me guess.
The WHEN part
Flow starts with a logic card (build-in in Homey) and we choose âA webhook has been recievedâ.
With event we fill in the event we are triggering on, in my case this is âlocativeâ
The AND part
For the AND part we pick a logic card again and choose âcontainsâ.
After that we click the tag thingie with the ? in it and we choose the âtagâ tag on the top where it says âThis flowâ .
For the txt from that tag we choose what we filled in in the IOS app. In my case this is ârocohomeâ
The THEN part
For this part you can choose whatever you like ofcourse.
Hope you enjoy using this app and please let us know your findings in this topic.