Support for GPSD?

Dean4 years ago

is there support for GPSD or serial?

How have these been overlooked?

Anton Tananaev4 years ago

Maybe you can explain what problem it solves.

Dean4 years ago

Well I have a raspberry pi, I need to get a GPS module connected directly to the pi to talk with Traccar, only way I can see is serial or running GPSD locally to communicate over IP

127.0.0.1:port

Thanks

Anton Tananaev4 years ago

Your use case is far from the common one. I've seen people posted scripts before to do it though, so it should be possible to do. I don't think we plan to support GPSD directly though.

Dean4 years ago

I think you should. GPSD is huge and allows for implementation of all kinds of different gps units and protocols. Also serial, i mean why not whats there to loose? The software is great but would just offer so much more flexibility.

My 2 cents anyway ;)

wd404 years ago

Since gpsd is a server type application just like traccar, i don't believe it is possible to make them communicate directly. What you can do is whip up a small python script (based on https://github.com/MartijnBraam/gpsd-py3 ) to make a http request with the GPS data from gpsd to traccar, for example in the OsmAnd format: https://www.traccar.org/osmand/

bitflow3 months ago

I'm sharing here a simple C program which takes gps data from gpsd and sends it to Traccar using the OsmAnd protocol every N seconds. It is working fine, I can see in Traccar a gps device I've built using a Raspberry Pi Zero and Neo M6 gps module.