-
Hi, TL;DR: I'm getting a http-error 400, when trying to send location updates to my traccar server. i'd like to evaluate Owntracks with my traccar server. So far i have prepared my server to enable the traccar protocol. Furthermore, I have setup a reverse proxy to terminate the port on a specific domain like I have read the docs here. I understand, that i somehow need to provide an identifier for traccar to identifiy my server. I still haven't fully understood, how to setup this identifier. I tried to add an extra property to my device like I have entered this id under tracker-id in my owntracks app. Now, when i try to send location updates i get an http-error 400, which according by the docs means the id probably does not match. But i don't know what i'm supposed to configure. Can anyone give me a hint? Thanks and BR; |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
iirc, Android doesn't (yet) know about the "topic" variable in http mode, but you can configure a TID (tracker-id) which is a 2-character string. This string has to match the Traccar device name you configure there.
|
Beta Was this translation helpful? Give feedback.
-
on Android TID is the tracker-id.
on Traccar, you put your TID in the device ID field of the Traccar device configuration.
|
Beta Was this translation helpful? Give feedback.
That seems to work. At least the owntracks client is getting a http code 200. But apperently the response cannot be parsed by the client:
The log on the server side looks good: