-
-
Notifications
You must be signed in to change notification settings - Fork 476
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
topic in HTTP mode #760
Comments
The topic is not required for Traccar, IIRC; we used it in our iOS app to uniquely identify a payload. |
To clarify: you should be able to use HTTP mode with Android and the TID only with Traccar. |
I agree that it is possible to use the owntrack's TID, though this is long only 2 chars instead on traccar the ID is 16 long. |
addresses owntracks/android#760
I've just checked again: the topic is added in iOS only, and not in Android, sorry. (As #512 indicates, there are no plans to do so.) |
Hi,
I'm a new owntracks user, and it is working very well.
Reading the documentation (traccar section booklet) it seems that in Private HTTP mode the topic should be present in order to permit the identification the device instead the TID.
ie:
{"lon":2.29513,"lat":48.85833,"_type":"location","tst":1497476456, "tid":"JJ"}
or
{"lon":2.29513,"lat":48.85833,"_type":"location","topic":"owntracks/jane/phone", "tid": "JJ"}
The documentation recommends using Private HTTP mode for Android 6 and above, but the topic is mentioned and descripted only for MQTT mode.
Is there any flag to add the topic in POST payload for this mode?
Thanks
The text was updated successfully, but these errors were encountered: