# \[Solved\]📍 How to fetch phone coordinates and use them to trigger automations?

**URL:** <https://community.homey.app/t/solved-how-to-fetch-phone-coordinates-and-use-them-to-trigger-automations/118706>\
**Category:** Questions & Help\
**Created:** [October 21, 2024, 11:00am UTC](https://community.homey.app/t/solved-how-to-fetch-phone-coordinates-and-use-them-to-trigger-automations/118706 "2024-10-21T11:00:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rik\_Elsenaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rik_elsenaar/32/72066_2.png) [@Rik\_Elsenaar](https://community.homey.app/u/Rik_Elsenaar)\
**Post date:** [October 21, 2024, 11:00am UTC](https://community.homey.app/t/solved-how-to-fetch-phone-coordinates-and-use-them-to-trigger-automations/118706/1 "2024-10-21T11:00:37Z")

</div>

Hi everyone! 👋

I’m trying to figure out how to fetch the coordinates from my phone 📱 and send them to Homey to trigger automations based on my location. Specifically, I’d like to start or stop flows when I arrive or leave certain areas 🏡➡🏙.

Does anyone know how I can retrieve my phone’s GPS location 🌍 and integrate that with Homey? Are there built-in features or apps that work best for this? 🤔

Any advice or examples of how you’ve set this up would be greatly appreciated! 🙏 Thanks! 😊

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [October 21, 2024, 5:16pm UTC](https://community.homey.app/t/solved-how-to-fetch-phone-coordinates-and-use-them-to-trigger-automations/118706/2 "2024-10-21T17:16:31Z")

</div>

I use the iOS-app ‘Locative’ for this.

> **[‎Locative: Geofence and Beacon](https://apps.apple.com/nl/app/locative-geofence-and-beacon/id725198453)**
>
> ‎Locative is your privacy-aware location tracking app.
> 
> Set up locations using Geofences or Beacons and send webhooks (HTTP requests) whenever you enter or leave a location.
> 
> Whenever a location event is triggered, you’ll receive a notification about...

---

<div class="post-metadata">

**Author:** ![Rik\_Elsenaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rik_elsenaar/32/72066_2.png) [@Rik\_Elsenaar](https://community.homey.app/u/Rik_Elsenaar)\
**Post date:** [October 21, 2024, 9:10pm UTC](https://community.homey.app/t/solved-how-to-fetch-phone-coordinates-and-use-them-to-trigger-automations/118706/3 "2024-10-21T21:10:17Z")

</div>

I did it using the following:

With tasker i made a automation that when i scan the nfc tag in my car, it fetches my location and sends it through a webhook and using [HERE Gratis locatie & kaart diensten App voor Homey | Homey](https://homey.app/nl-nl/app/nl.mennovanhout.here/HERE-Gratis-locatie-&amp;-kaart-diensten/) it calculates the driving time.

 ![Scherm­afbeelding 2024-10-21 om 23.09.39](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/8/c8e017a1c4437637ff783c1a599f5e4247d01aee.png)  
From where i will create a following flow that will automaticly start my Central Heating to heat up 30 min before i arrive. so it will be nice and warm when im home.

But thank you anyway!

---

<div class="post-metadata">

**Author:** ![Rik\_Elsenaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rik_elsenaar/32/72066_2.png) [@Rik\_Elsenaar](https://community.homey.app/u/Rik_Elsenaar)\
**Post date:** [October 21, 2024, 9:11pm UTC](https://community.homey.app/t/solved-how-to-fetch-phone-coordinates-and-use-them-to-trigger-automations/118706/4 "2024-10-21T21:11:50Z")

</div>

For the best explanation for using tasker look at this post: [[HOW TO] Using Tasker to send battery level from phone to homey](https://community.homey.app/t/how-to-using-tasker-to-send-battery-level-from-phone-to-homey/102085)
