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:
In this example i used “locative” as event and “rocohome” as tag.
The url should look like this then:
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 “Is exactly”.
After that we click the tag thingie with the ? in it and we choose the “tag” tag on the top where it says “In 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.