# Tracker One speed values

**URL:** <https://community.particle.io/t/tracker-one-speed-values/58840>\
**Category:** Edge Systems\
**Created:** [December 19, 2020, 12:49pm UTC](https://community.particle.io/t/tracker-one-speed-values/58840 "2020-12-19T12:49:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbach](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rbach](https://community.particle.io/u/rbach)\
**Post date:** [December 19, 2020, 12:49pm UTC](https://community.particle.io/t/tracker-one-speed-values/58840/1 "2020-12-19T12:49:27Z")

</div>

By default, I receive the following data with the default firmware (v. 11) of Tracker One:

```auto
"cmd": "loc",
"loc": {
  "alt": 487.633,
  "batt": 58.4,
  "cell": 27.8,
  "h_acc": 11.0,
  "hd": 262.52,
  "lat": 40.12345678,
  "lck": 1,
  "lon": 8.12345678,
  "temp": 19.3,
  "time": 1608300051,
  "v_acc": 11.0
},
"req_id": 161,
"time": 1608300049,
"trig": [
  "lock"
]

```

I'm interested in `speed` values. [This documentation](https://docs.particle.io/tutorials/asset-tracking/tracker-edge-firmware/#adding-to-the-location-event) shows how I could fork the GitHub repository and implement it by myself, but I wonder if it's possible to receive that value without the need of writing and maintaining custom code.

In the 'Configure Fleet' section under 'Location' I have not ticked the 'Minimize Data' checkbox next to this description:

> If enabled, publish minimal location with only latitude and longitude. If disabled, publish additional information including **speed** , heading, etc.

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [December 19, 2020, 2:43pm UTC](https://community.particle.io/t/tracker-one-speed-values/58840/2 "2020-12-19T14:43:53Z")

</div>

There is no way to add speed to the existing publish without using the code in the link above.

---

<div class="post-metadata">

**Author:** ![rbach](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rbach](https://community.particle.io/u/rbach)\
**Post date:** [December 19, 2020, 6:14pm UTC](https://community.particle.io/t/tracker-one-speed-values/58840/3 "2020-12-19T18:14:00Z")

</div>

Ok, is there a particular reason to exclude it in the first place? Any chance this will follow in a couple of months as an option? I would gladly trade `temp` in exchange to `speed` for my use-case 🙂

---

<div class="post-metadata">

**Author:** ![rbach](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rbach](https://community.particle.io/u/rbach)\
**Post date:** [March 30, 2021, 3:49pm UTC](https://community.particle.io/t/tracker-one-speed-values/58840/4 "2021-03-30T15:49:45Z")

</div>

Particle released a huge update with [Tracker Edge Release v12](https://github.com/particle-iot/tracker-edge/releases/tag/v12). The `loc-enhanced` event now contains a whole bunch of extra details with speed (`spd`) being one of them. I haven’t yet figured out the unit but from other Particle products, I suspect speed to be reported in `knots`. To get the `km/h` value, we simply need to multiply the value in knots by 1.852.

---

<div class="post-metadata">

**Author:** ![rbach](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rbach](https://community.particle.io/u/rbach)\
**Post date:** [March 30, 2021, 7:33pm UTC](https://community.particle.io/t/tracker-one-speed-values/58840/5 "2021-03-30T19:33:16Z")

</div>

Actually, disregard the previous post. I found the definition of `spd` in the source code:

```auto
float speed; /**< Point speed in meters per second */

```

[tracker-edge/location\_service.h at 5fc47fc7d9bd1a466fd404fa3e84af0f69b0c0e7 · particle-iot/tracker-edge · GitHub](https://github.com/particle-iot/tracker-edge/blob/5fc47fc7d9bd1a466fd404fa3e84af0f69b0c0e7/lib/location-service/src/location_service.h#L73)
