-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Traccar Requests #663
Comments
You write
I assume you mean "The OwnTracks app doesn't". Tell us a bit more about how you've configured Traccar and the settings you've used on the OwnTracks app. |
Whoops, sorry - yes of course, the OwnTracks app. Thanks. Traccar is a default setup from the docker image. Brand new, staging to test this out.
So I know traccar is setup OK. But looking at the output of tcpdump to see the requests incoming from the OwnTracks iOS app I only see {type: _dump} messages Thanks |
What happens when you press on the "share" icon in OwnTracks? That should produce a |
Yes, traccar does reject And yes, you are correct, the app waits for a positive response before it continues to the next message. You may either delete and reinstall the app, or change the mode from HTTP to MQTT and back. This will clear the message queue. |
Thank you. I'm certain I left the settings as default and only changed the connection type to HTTP from MQTT. I turned off all the settings down at the bottom of the screen and ensured the URL was OK. I haven't ventured outside yet as the weather is dreadful but once I start moving will it continue to push to the HTTP endpoint automatically? or do I have to share each time? Thanks again for your help, it is appreciated. Rob |
OwnTracks will continue to publish as soon as it detects movement and can connect to your (Traccar)-endpoint. This is assuming you've got the app in Significant changes mode (switchable at the top of the map) |
Thank you. Yes I've found the description of these modes in the excellent documentation. |
Ah, the toggles at the bottom. Those are in the not so excellent documentation :-) Toggle at will: they just flip the distinct map modes (satellite, hybrid, etc.) As soon as you get the hang of them, if you wish to improve our world, you might want to document them and submit a merge request to our Booket. Our eternal gratitude, and all that. :-) |
Cheers, These ones in the image below. I recognise that some of these are MQTT specific but at least one of these was the “dump” thing that prohibited location updates. I don’t know which that was as I turned them all off. Just wondering if any others are useful. Thanks |
That's black magic; don't touch. Honestly, please don't unless you have something specific. You're right in as much as most of them affect MQTT. |
Understood. Thanks |
|
And as an explanation: |
Understood. The traccar connector does just reject payloads it can't handle with a 400 - the sticking point for me was that the iOS app kept it queued and retried. On the whole almost all 4xx shouldn't be retried without modification, so you could just bin them? The danger I have is if any of my group clicks "publish" by accident or from being curious, a I'll just brief them for now. Thank you for the support. |
@robshep this has been implemented on iOS and will be in our next release. Thank you for the suggestion. |
Hi,
I've just loaded up the OwnTracks iOS app (great job) and pointed it to my Traccar server.
I'm looking at network level trace and the traccar app doesn't ever seem to send a
{ _type: location, ... }
request.Only
{"_type":"dump","configuration":{ ...
These are responded with a 404 (as it doesn't contain _type: location )
Will the app need a positive response to the dump before it proceeds with location?
I've wandered round with it and it has a GPS fix OK.
Thanks
Rob
The text was updated successfully, but these errors were encountered: