Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Traccar integration #1181

Open
woaloo opened this issue Dec 11, 2024 · 2 comments
Open

No Traccar integration #1181

woaloo opened this issue Dec 11, 2024 · 2 comments

Comments

@woaloo
Copy link

woaloo commented Dec 11, 2024

I have a self hosted traccar server and I can't manage to upload data from GPSLogger via custom URL:
If I send this: https://mytraccar_server?id=my_id
It's OK in traccar, but no location
If I sent : https://mytraccar_server?id=my_id&lat=LAT&lon=LON&hdop=1&altitude=ALT%speed=%SPD&batt=BATT&tamp=TIMESTAMP
Nothing happend and my phone is not seen in traccar

I would like to have an auto send option ( like GoogleDrive, OwnCloud/NextCloud, DropBox...). It could be more simple

@fengyuclub
Copy link

I have also been researching how to let gpslogger push custom URLs to my own traccar server recently, but various tests have not been implemented. After seeing this issue, I realized that integration is needed. However, GPSLogger is in the official traccar device support list. I don’t know what I need to do. I am looking forward to this feature.

@mendhak
Copy link
Owner

mendhak commented Jan 18, 2025

In the example URL I see a few % symbols missing and also there's a slash needed after the server name. Shouldn't your URL become:

https://mytraccar_server/?id=my_id&lat=%LAT&lon=%LON&hdop=1&altitude=%ALT&speed=%SPD&batt=%BATT&tamp=TIMESTAMP

I did a search and I found this issue with an example Traccar URL, which you could compare against.

http://demo5.traccar.org:5055/?id=myid&lat=%LAT&lon=%LON&timestamp=%TIME&speed=%SPD&hdop=1

and

http://username:[email protected]:5055/?id=myid&lat=%LAT&lon=%LON&timestamp=%TIME&speed=%SPD&hdop=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants