# Custom latitude and longitude

**URL:** <https://forums.balena.io/t/custom-latitude-and-longitude/367284>\
**Category:** Product support\
**Created:** [March 30, 2023, 8:13am UTC](https://forums.balena.io/t/custom-latitude-and-longitude/367284 "2023-03-30T08:13:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timple](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@Timple](https://forums.balena.io/u/Timple)\
**Post date:** [March 30, 2023, 8:13am UTC](https://forums.balena.io/t/custom-latitude-and-longitude/367284/1 "2023-03-30T08:13:56Z")

</div>

In the balena dashboard a nice overview of device locations is shown. However these locations are way off. Probably because they are guessed from the IP or something.

Since our devices have a GPS sensor, can we set these values from the device?

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [March 31, 2023, 11:50am UTC](https://forums.balena.io/t/custom-latitude-and-longitude/367284/2 "2023-03-31T11:50:37Z")

</div>

Hello @Timple

There is a GPS tracker project made with balena here where you can find an example → [gps-tracker/main.js at 53a95d79ca8fcd5bd03ea92c27a12cac2c08a900 · balena-io-experimental/gps-tracker · GitHub](https://github.com/balena-io-experimental/gps-tracker/blob/53a95d79ca8fcd5bd03ea92c27a12cac2c08a900/gps/src/main.js#L49)

If you check our SDK (e.g. Python) you will find how to call the location → [Balena Python SDK - Balena Documentation](https://docs.balena.io/reference/sdk/python-sdk/#device)

Let us know if this works for you!
