Simulate position of device Traccar

Kenichi5 years ago

Hello,

I've started studying computing, but I'm still a "noob" in this domain. I'm trying to understand Traccar's API, but it's quite difficult for me.

My problem is here : I would like to simulate a position of my device in the Traccar server. For example, I have a device. And i want to say "that device is in Paris", and Traccar applies it.

Is that possible? Is there a tool which does this? I've seen someone doing this by using something in the devtools of Google Chrome (using F12) but I don't know how.

Thank you for your help

Anton Tananaev5 years ago

Check python scripts in tools folder on GitHub.

Kenichi5 years ago
Kenichi5 years ago

PS : If you want to use these scripts with Python 3, you'll have to replace all the old print functions, here an example :

Old: print 'Missing: %d' % len(all - protocols)

New: print ('Missing: %d') % len(all - protocols)