4/11/2024 0 Comments Traccar does not installNext we can add our GPS tracker in the web interface of Traccar, on the left side I click add, choose a name for your device and fill in the 10 digit identifier which is this label on the side of your trackers case.The newly created device will be shown as offline until the server starts receiving data. Next, your raspberry pi is likely sitting behind a router or firewall so you will need to forward a port so an external device like a GPS tracker can connect to our newly created server. We’re going to be using the Linux arm release, because the raspberry pi runs on an arm processor. Next step is to setup the tracking server, the name of the software is Traccar and here is their website. So if you want to learn more about this tracker, checkout Voltlog #272 linked on screen right now and then come back to watch this video.įirst step is to setup a fresh install of Raspbian, latest version from the source. In theory this should come with free online tracking service on some Chinese hosted server but I wasn’t able to connect to that server and so I thought why not setup my own server and try to pair it with this tracker. The idea started a couple of videos back, in Voltlog #272 when I got this GPS tracker disguised into a general purpose automotive relay. It doesn’t have to be a Raspberry pi, because the software that we’re going to be using for the tracking server is available for Windows and Linux as well, so you could host this on your windows machine or in a virtual machine on a cloud service, it’s up to you, but in this video I’m going to do it on a Raspberry pi 4. Traccar can be configured to forward json formatted data with.Īs far as i know PhoneTrack does not understand this.Welcome to a new Voltlog, today I’m gonna show you how to setup your own GPS tracking server on a raspberry pi. Traccar can forward events as well … trueĬurrently I don’t know how to configure it together with PhoneTrack, please post it here, if you know how it works. GPS Data of each Traccar device should now be forwarded the PhoneTrack.Įach device appears with the device name configured in Traccar server. Each “&” in the link needs to be encoded as “&” otherwise the server will crash.įor possible replacements in the link you need to checkout the source code here:Ĭheckout again the Traccar log, if data is received from your GPS device.Replace the link until your session id.Open “traccar.xml” and add following values: false (This can be used for the android Traccar Client app) with the name “MyTraccar”.ĭo not use the Traccar link. The device status should go to online when data is received next time.Ĭreate a new session, e.g. You need to configure a new device in Traccar and fill in the device id, which is printed in the log file.ĭo NOT use spaces in the device name or special chars! In my case I have to send an SMS command to configure the device the ip address and port of my router.Ĭheckout out the log file of Traccar Server if data is received. Setup an dyndns service for your router, if needed. v host/path/traccar/conf/traccar.xml:/opt/traccar/conf/traccar.xmlĭefault traccar.xml can be downloaded from here:Ĭonfigure your router to forward needed ports, in my case I use only TCP 5013 for the GPS device. v host/path/traccar/data:/opt/traccar/data v host/path/traccar/logs:/opt/traccar/logs p 5055:5055 (Traccar client app on Android) Traccar Server uses a lot of ports for the different device protocols, checkout the device list, which ports you need. I installed the docker image of Traccar Server on my Synology NAS. In this example I used Sinotrack ST-901 GPS-Tracker, with is sending binary data in so called “h02” protocol. Therefore I want to forward device information from Traccar Server to PhoneTrack. PhoneTrack can by its nature only support devices sending http requests. The Traccar Server supports a lot of GPS devices, especially a lot of devices sending binary data instead of http requests. GPS Device (bin data) -> Traccar Server -> Nextcloud PhoneTrack Forward GPS devices from Traccar Server to PhoneTrack application in Nextcloud
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |