-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to pass on data to Traccar easily #35
Comments
I recommend you build your map program. All you need is Google map API to display location on the map. |
You can use MySQL database (http://www.traccar.org/docs/mysql.jsp) and write data directly into database from your Python program. |
lioralbaz, what are your arguments? and what are you even doing here if you are recommending people not to use Traccar. |
Thank you very much tananaev. Though, I got one problem left. I just set up a solution with traccar using a MySQL-database and then the python program sends the tracking data to this database. Though, I've observed a problem. When I load up the position from the bottom "Archive"-field my data is shown correctly. When I press the name of my tracking device in the left column "Devices" the latest position-data isn't shown as the data I just send directly to the database with my Python program, though! This "latest position" is still the one I passed on to my traccar-server in the normal way and not the newest one even though the time is later than this one. The "latest" shown position is: 2013-03-31 13:17:18 even though I send new tracking data 2013-03-31 13:46:00, which I'm able to find in the Archive. Can you help me out? Thank you very much for your time! |
You need to update 'devices' table, there is latest position id there. |
Oh yeaah, of course. Thank you very much. |
Hello!
I'm currently developing a solution in Python receving tracking data via SMS. The program is then passing the tracking data on to Traccar for visualization and storage. Currently, I'm using a socket connection with port 5000 to pass on the information - it works most of the time. I'm having some trouble with this solution and my question is, if there's an easier way to send the tracking data to Traccar? The python program and the traccar server is running on the same Windows computer. Can you help me out?
Thank you for your time!
Best regards,
Simon
The text was updated successfully, but these errors were encountered: