Altitude in feet?

jb7 years ago

Hello,
I currently have Traccar server running on Windows 7. I have succeeded in adding a LoRa GPS tracker device by impersonating a OwnTracks device with a custom json string. Since the GPS measurements are metric, I changed the distance unit and speed unit to miles and mph in server attributes. I could not find a setting to change altitude meters to feet. For that device I sent the altitude in feet in the json string so it is correct for my system.

I added a Traccar android client and it works well, except the altitude is in meters. Can anyone show me a way to get the altitude in feet from the Traccar server or client?

Thanks in advance! I am enjoying getting this great program configured and especially happy to have an alternative to the "cloud" in maintaining our privacy!

Anton Tananaev7 years ago

Currently Traccar doesn't support changing units for altitude, but by default it expects and shows meters. I would recommend to submit a feature request on GitHub.

jb7 years ago

Thanks, I will take a look..
And thanks for a great program.

Pat Rary6 years ago

hi could you please detail how you connected the lora device to traccar server? thanks

jb6 years ago

Hi,

For my case, I set up a LoraWan concentrator (as opposed to basic LoRa) (https://sandboxelectronics.com/?p=2669) ...
and software (https://github.com/gotthardp/lorawan-server) on a raspberry pi 3b ...
that sends a custom json string masquerading as an owntracks device (http://owntracks.org/booklet/tech/json/) to the traccar server.
As long as the properly formatted info is sent to the Traccar server it will be processed. I found Owntracks to be the easiest template to work with in Traccar.