Manually add Last Update

trump4 years ago

Hi!

Can I update manually the "last update" time on devices inventory through database? is it safe? mine already mysql.

Thank you for the support!

Anton Tananaev4 years ago

You can, but it won't be reflected in Traccar until you restart the server.

Marcin4 years ago

I would like to insert our trailer in the map to.
With my old system the drivers inserted them with a button in a Website which sendet name and location in DB.
As it seems i cant do that with traccar without restarting server each time after insert?
Is there another way to insert/update a position via Website?
Or can i generate a message in gt06 protocol from website?

Anton Tananaev4 years ago

You can send data using any of the supported protocols.

Marcin4 years ago

:) I think so to :)
But can you give me anexample please?
I tryied with

 http://domain.com:8082/?id=Trailer1&timestamp=1579878022&lat=48.6235&lon=12.8246&speed=0.0&bearing=0&altitude=250&accuracy=1&batt=1,age=1

But this doesnt affect DB neither webinterface
Can u tell me a way, translating that to the API?
I would like to buy hours from the menu. But only can pay with CC no paypal.
In Donate paypal works

Anton Tananaev4 years ago

What is this:

&batt=1,age=1

If anything, it should at least be:

&batt=1&age=1
Marcin4 years ago

I copied it from the log from another device and just changed deviceID: More with hope then plan.
But even without komma and age it doesnt affect

Anton Tananaev4 years ago

Don't know what kind of device that was, but it's not a valid URL.

Marcin4 years ago

Maybe you can gimme your paypal for ordering hours?

Anton Tananaev4 years ago

Send an email to the support address.