I’m using OwnTracks in HTTP mode as I couldn’t be bothered with MQTT. For that, you only need the HTTP(S) endpoint/URL to log to, optionally user credentials and then it’s a “TrackerID”, “UserID” and “DeviceID” so the receiving server knows who’s talking.
Side note: Traccar uses different ports to receive different protocols. For OwnTracks protocol, the correct port is 5144.
My OwnTracks configuration is basically like this:
- TrackerID: 1
- DeviceID: Phone
- UserID: mb
- URL: https://mytraccarserver.com:5144 (the port itself is HTTP-only IIRC, but I’ve mapped Traefik Proxy in front of it which handles HTTPS)
This usually happens when you hand your phone to your toddler.